I am trying to figure out the following, which I can code - but I am
unsure about the proper approach.
I have a UIPanel with children on a single JSF page.
What I want is to not render - UIPanel.setRendered(false) - the first
time the page loads. I only want to render the UIPanel within a
condition inside an Action, i.e. a user clicks on a HtmlCommandButton.
So my question is what is the best way to approach this? What is the
right concept?
Do I have the UIPanel with children in the JSF page and set the
UIPanel.setRendered(false) in the backing bean constructor?
Do I have an empty UIPanel binded to a backing bean property and in Java
code add the children?
What is the *best* or *correct* way to approach this concept?
Thanks,
--Todd
-----------------------------------------
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact
the sender by reply email and destroy all copies of the original
message.