Hi All,
I have a popup to be displayed based upon a condition if it returns true.
I placed the popup code as such in <tc:button/>
<tc:button label="#{bundle.buy}" action="#{dropshipCheckout.buyAction}">
<f:facet name="popup">
<tc:popup width="200" height="200" id="popupConfirm" rendered="false">
<tc:box label="Confirm">
<tc:out value="Do u want to continue"/>
</tc:box>
</tc:popup>
</f:facet>
</tc:button>
Just for testing purpose i wrote this code, placed ' rendered="false" ' in
<tc:popup/> .
But the popup is being displayed irespective of the rendered value.
How can i display the popup when a button is clicked based upon the condition
which returns true/false.
And i have 2-3 popups written, so based upon the condition i set, am use to
display only one of them to the customer.
Thnx in advance
Madan
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/