posted 14 years ago
Hi,
im using a Javascript from Richfaces to close a modal panel. Everything works fine, but i want to make the parameter, which is given to the javascript function, dynamic.
Now:
<h:commandButton ... onclick="#{rich:component('warning_message_modal_panel')}.hide()" ... />
Should be like:
<h:commandButton ... onclick="#{rich:component('#{JavaBean.modalPanelId}')}.hide()" ... />
This EL entry doesnt work, but how must it look like?
I hope the explanation of my problem was ok...
Any ideas?
Thank you,
Ray