You need to sign in to do that
Don't have an account?
anup-prakash
Components and rerendering
Hi what I am trying to attain in my page is that I Have three comandbuttons "New Product", "Add Lot" , "Search Productt"
and when a user clicks on either of the buttons the related set of entities should be displayed.. Instead of re directing the user to a different page I want it to happen on this page itself.. I do not wish to use Iframe.. Is there any way?
You can use wrap your related content in a panel and use the rendered property (controlled by a boolean variable). On the button click , call a method to set the boolean variable to true. The rerender property on the button will just regenerate rour related content. Something like this :
All Answers
You can use wrap your related content in a panel and use the rendered property (controlled by a boolean variable). On the button click , call a method to set the boolean variable to true. The rerender property on the button will just regenerate rour related content. Something like this :