struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nils-Helge Garli" <nil...@gmail.com>
Subject Re: S2 portlet ajaxExample.jsp fix (?)
Date Tue, 04 Sep 2007 13:52:59 GMT
Hi James!

Yes, that's also one of the reasons I suggested them. I have found a
couple of articles related to loading of javascript libraries in a
portlet environment, so we'll need to add some extra javascript code
somewhere. I'll start looking into it in more detail after the 2.1
release.

Nils-H

On 9/4/07, James Holmes <james@jamesholmes.com> wrote:
> Hils-H,
>
> Could we solve some of these issues with your proposal for the <s:html>,
> <s:head>, etc.? It seems the first instance of using one of those tags would set
> a flag in the request or session that the Javascript had been loaded and we'd not
> output it again. We could also do something similar to what MyFaces Tomahawk does
> with their extensions filter.
>
> James
>
>
> On Tue Sep  4  9:09 , 'Nils-Helge Garli' <nilsga@gmail.com> sent:
>
> >Hi!
> >
> >> I also notice that the ajaxExample no longer appears in the subversion
> >> repository.  Are there other AJAX/portlet issues I should be aware of?
> >>
> >
> >Ajax in a portlet, from a framework point of view, is not quite
> >trivial. There are issues with namespacing of javascript functions,
> >html ids and loading of javascript libraries when multiple portlets
> >using the same framework is on the same page etc. Until these are
> >adressed, the ajax examples have been removed.
> >
> >There's also a JIRA issue registered for this:
> >
> >https://issues.apache.org/struts/browse/WW-1894
> >
> >Nils-H
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >For additional commands, e-mail: user-help@struts.apache.org
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message