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:[EMAIL PROTECTED]]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to