Thanks Nils-H that makes sense. I'm not exactly sure how this would work but I was wondering if allowing JavaScript to dynamically create a random element id at runtime could solve the unique html id problem.
For example, all AJAX divs with a given CSS className could have JS generated id at page load. This would allow each instance of otherwise identical HTML to be uniquely addressed through the DOM. Possibly also, if the AJAX JS was OO then the various running instances wouldn't interfere with each other. Mark On 9/4/07, Nils-Helge Garli <[EMAIL PROTECTED]> wrote: > 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 > -- "Paradoxically, the more time saving abstractions you are using the more you actually have to know." - Simon Willison --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]