struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raible, Matt" <Matt_Rai...@cable.comcast.com>
Subject RE: Simultaneous use of nested tags in two iframes causing interf erence
Date Tue, 18 Feb 2003 17:49:31 GMT
The first thing that came to mind when I read this was...

If you're using Tiles, you might try a different controller for each iframe.


Read more about Tiles Controllers at:

http://blogs.browsermedia.com/patrick/index.do?date=#174409

HTH,

Matt

> -----Original Message-----
> From: Dennis Doubleday [mailto:dennis@righthandmanager.com]
> Sent: Tuesday, February 18, 2003 10:39 AM
> To: 'Struts Users Mailing List'
> Subject: Simultaneous use of nested tags in two iframes causing
> interference
> 
> 
> I have two iframes on one page that are both loading variants of the
> same tree. I am using the nested library to display the trees 
> (very nice
> stuff!). However, they seem to be interfering with each other. Each
> iframe has tags like:
> 
> <nested:root name="tree">
> 
>   <nested:nest property="root" >
>     <jsp:include page="nestedchildtree.jsp" />
>   </nested:nest>
> 
> </nested:root>
> 
> The "tree" bean has request scope, and since each iframe is 
> filled by a
> separate request, they should be independent. However, when 
> run, part of
> the data intended for iframe1 ends up in iframe2 and a NPE occurs in
> iframe1. If refreshed individually, both iframes load properly. If the
> refreshed simultaneously, the failure occurs again.
> 
> I tried changing the name of the nested:root bean to "tree2" in one of
> the iframes. However, then you get the message "no bean found under
> attribute key 'tree2'". Again, when refreshed independently, both
> iframes work.
> 
> I believe this is a bug in the nested library. Anybody else 
> encountered
> it and have a workaround?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


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


Mime
View raw message