This content has been marked as final.
Show 3 replies
-
1. Re: How to active action method in h:commandButton in rich:popupPanel in richFaces 4.2.0
iabughosh Mar 26, 2012 7:14 AM (in response to pdhung3012)1 of 1 people found this helpfulhello Hung,
try this:
<a4j:commandButton action="#{tC5Bean.closePopupAction}" oncomplete="alert('#{tC5Bean.popupCheck}')"/>
regards.
-
2. Re: How to active action method in h:commandButton in rich:popupPanel in richFaces 4.2.0
pdhung3012 Mar 28, 2012 4:12 PM (in response to iabughosh)Hi Ibrahim.
Thank you about your suggestion.
Finally I find the way to active method: We have to change to commandLink (h:commandLink and a4j:commandLink). But I still not know why we can't active commandButton in popupPanel .
-
3. Re: How to active action method in h:commandButton in rich:popupPanel in richFaces 4.2.0
iabughosh Mar 28, 2012 4:51 PM (in response to pdhung3012)h:commandLink will cause the page to refresh, thus the popup panel will disappear.