This content has been marked as final.
Show 2 replies
-
1. Re: Open rich:popupPanel from dynamic button
ma.aqcon May 9, 2012 6:41 AM (in response to ramram888)Hi Ram ram,
have you found a solution for this? I am facing the same issue...
Thanks
Michael
-
2. Re: Open rich:popupPanel from dynamic button
ma.aqcon May 9, 2012 6:47 AM (in response to ramram888)Hi again,
I found this thread: https://community.jboss.org/message/59976
Nick's suggestion works fine for me!
Try
FacesContext facesContext = FacesContext.getCurrentInstance();
cmdBtn.setValueExpression("onclick",facesContext.getApplication().getExpressionFactory().createValueExpression(facesContext.getELContext(), "#{rich:component('popupPanel')}.show();", String.class));
Regards
Michael