permaculture playing cards*
The moose likes JSF and the fly likes RichFaces rerender with IFrames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "RichFaces rerender with IFrames" Watch "RichFaces rerender with IFrames" New topic
Author

RichFaces rerender with IFrames

N Ing
Greenhorn

Joined: Aug 14, 2009
Posts: 2
Hi,

I want to rerender a rich component (say "resultSection") present in say IFrame1 from another rich component present in say IFrame2. I tried by adding rerender="resultSection" in rich component of IFrame2 but it not worked. I got warning WARN - Target component for id resultSection not found. Pleas anybody help me in solving this.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15960
    
  19

Frames and IFrames are basically ways to display multiple web pages in a single browser window. Each of those pages has its own DOM and doesn't know anything about what's in any other DOM.

IFrames have been used for malicious purposes, so they're generally not recommended these days. In most cases, you are better off using a tiling system such as the one that comes with Facelets. If you do that you'll have everything in the same DOM.


Customer surveys are for companies who didn't pay proper attention to begin with.
N Ing
Greenhorn

Joined: Aug 14, 2009
Posts: 2
Hi Tim

Thanks for your reply.

Actually I want to use IFrames because I want to give facility of rearranging space of screen to user using mouse which is present in IFrames. I don't know any JSF component has such facility or not. If you know how to provide such facility using JSF components then it will really help me a lot.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RichFaces rerender with IFrames
 
Similar Threads
Iframe and Struts
a4j:how to rerender a componet from another iframe?
Unable to set Default value after onchange of Combo in JSF
Focus problem
Concept for refreshing a page