Prevent an 'iframe' in a JSF page to refresh when a button is clicked
Prevent an 'iframe' in a JSF page to refresh when a button is clicked
I have a JSF Page. On this page I have an
1)Iframe that ponts to another JSF page that contains a JSF tree(all sun studio components)
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.

