Here's my code.
The submit button is not invoked. foo.update is not called. Any ideas?
<rich:modalPanel id="moveItem" width="350" height="100"> <f:facet name="header"> <h:panelGroup> <h:outputText value="Move Item"></h:outputText> </h:panelGroup> </f:facet> <f:facet name="controls"> <h:panelGroup> <h:graphicImage value="/img/close.png" style="cursor:pointer" id="hidelink"/> <rich:componentControl for="moveItem" attachTo="hidelink" operation="hide" event="onclick"/> </h:panelGroup> </f:facet> <h:form styleClass="edit"> <s:decorate template="layout/edit.xhtml"> <ui:define name="label">#{messages.aNote}</ui:define> <h:inputText id="nt" required="false" size="60" maxlength="60" value="#{foo.aNote}"> </h:inputText> </s:decorate> <div style="clear:both"> <span class="required">*</span> required fields </div> <div class="navBar"> <h:commandButton id="update" value="Up2date" action="#{foo.update}" view="#"/> </div> </h:form> </rich:modalPanel>
check that there is no form around modal panel (nested forms not allowed)
And check with phaseTracker the phases execution log.