• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RichFaces rerender with IFrames

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Run away! Run away! Here, take this tiny ad with you:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic