Hello,
I am trying to submit a form by using the standard <h:commandButton> tag within a modalPanel,
Following is a sample code:
<h:form> <h:inputText value="#{comp.myValue}"/> <a:commandButton value="#{messages['velo.button.ApproveSelected']}" id="link"> <rich:componentControl for="mp" attachTo="link" operation="show" event="onclick"/> </a:commandButton> <rich:modalPanel id="mp"> <h:commandButton action="#{someComponent.invokeAction()}" value="Approve!!" /> </rich:modalPanel> </h:form>
Hi Asaf,
That is described in documentation: http://jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/modalPanel.html