JSF Render response programatically

Posted by Shamik on Stack Overflow See other posts from Stack Overflow or by Shamik
Published on 2010-03-30T01:22:15Z Indexed on 2010/03/30 1:23 UTC
Read the original article Hit count: 362

Filed under:
|

I have one parent page with a parentManagedBean (attached to Session Scope). On click of a button on this parent page, one popup comes which has a childManagedBean (attached to Request scope). Now ChildManagedBedan holds a reference to parentManaged bean thru JSFs managed Property feature. On this popup window, user selects some option which populates a large value object class. I use the managed property of childMnaagedBean to set the values from this large object to that of parentmanagedbean. Problem is - The parent page shows a link, on click of which a popup comes, on selection of the popup, the popup disappears and set the values to the parentManaged bean.So far so good, but the newly set values need to appear on the parent page. This is where I am stuck. How to programatically render the master page/render page when I am at the child managed bean... is there a way I can get handle of the parent page and refresh it ?

© Stack Overflow or respective owner

Related posts about jsf

Related posts about 1.1