Hello,
I have a popupPanel that i want to show using javascript but not using the rich:component method.
I know i can do this
<a4j:commandButton value="Open"
onclick="#{rich:component('MyPopupPanel')}.show();"
style="width:100%" />
I want do that within a function defined outside of the jsf page inside a .js file since depending on my criteria, the popup will be shown or not.
I'm wondering how i can do that?
Thanks
Ok found out how to do it.
I used this RichFaces.$('MyPopupPanel').show().
Is there Documentation on using the Javascript API?
Thanks