This content has been marked as final.
Show 2 replies
-
1. Re: Why my action located within a rich:modalPanel is not executed
tmalatinszki Jan 10, 2011 4:45 AM (in response to ncarr)Hi Nicolas,
Did You try to use a4j:form instead form?
<rich:modalPanel id="deleteContractsConfirmModalPanelId" autosized="true"> <div id="deleteContractsConfirmModalPanelDivId"> <a4j:form id="deleteContractsConfirmModalPanelForm"> <a4j:commandButton value="a4j:commandButton" action="#{contractDeletor.doJob}" oncomplete="Richfaces.hideModalPanel('deleteContractsConfirmModalPanelId');" reRender="deleteContractsConfirmModalPanelDivId" /> </a4j:form> </div> </rich:modalPanel>
Regards,
Tamas
-
2. Re: Why my action located within a rich:modalPanel is not executed
ncarr Jan 10, 2011 4:16 PM (in response to ncarr)Hi Tamas,
I did the trick.
Actually your suggestion make me realized that I wrote <form>
instead of <h:form>.
It doesn't work with <form> but it does with <h:form> and also with <a4j:form>.Many thanks for your help.
Nicolas