struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <>
Subject Re: Struts AJAX tags not working in light portal
Date Sun, 01 Apr 2007 17:41:36 GMT
I'd suggest trying to get your app running using Dojo directly first (to
make sure that everything works), and then start using the AJAX tags, I
think you will have the same problems if you try straight Dojo.


On 4/1/07, Pancham Singh <> wrote:
> I am trying to use struts portlet example along with light portal, an AJAX
> based portlet container which uses Rico and Prototype to load contents of
> individual portlets. The struts ajax tags use dojo, wheare as ligh portal
> which loads contents of my portlet uses Rico + Prototype. My portlet
> content
> does not display properly, essentially dojo widgets are not displayed. I
> am
> using the formExample portlet sample and when I click AjaxExample link,
> the
> tabbedpane is not displayed. Instead, all the divs are displayed one after
> the other.
> When light portal loads the contents, it does execute the dojo.requirecalls
> in the script (struts tags emit those). This is done under the covers by
> prototype framework. In response to dojo.require calls the relevant .js
> files such as {TabContainer.js, LinkContainer.js...} are also downloaded
> by
> dojo framework. However, individual widget template and css files are
> never
> loaded (as revealed by debugging with FireBug). As an example,
> TabContainer.js file has TabContainer.html and TabContainer.css as the
> template and CSS files respectively. These files are never loaded and the
> widget is not displayed properly.
> Any suggestions on what could be wrong and what I need to do differently?
> Light Portal uses Prototype 1.4.0 and Rico 1.1.1. I have also tried it
> with
> Prototype 1.5.0 without any success.
> Note: To make the sample work, I had to move "<s:head theme="ajax" />"
> line
> from ajaxExample.jsp file so that right script files could be included.
> Otherwise, prototype framework was stripping those out.
> Thanks.

"Hey you! Would you help me to carry the stone?" Pink Floyd

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message