• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RichFaces rerender with IFrames

 
N Ing
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18281
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
N Ing
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic