Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Prevent an 'iframe' in a JSF page to refresh when a button is clicked

843842Aug 2 2006 — edited Aug 2 2006
I have a JSF Page. On this page I have a
1)Iframe that ponts to another JSF page that contains a JSF tree

2)A button named 'ADD'

3)A listbox

When I select a node in the tree it gets stored in the session and when I click the ADD button the selected value is populated into the listbox.
Building the tree is a very costly(time consuming) operation. So whenever I click the ADD button it's action event in the backing bean runs and populates the listbox with the selected value.

The problem whenever the I click the ADD button a postback happens and so the whole page is reloaded including the iframe and the tree with in the firame. How can I prevent the tree in the iframe refreshing each time I click the ADD button.

Any workarounds/ help greatly appreciated.

Thanks.

-Rolla

Message was edited by:
RollaTomasi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 30 2006
Added on Aug 2 2006
0 comments
196 views