1 Reply Latest reply on Feb 4, 2008 6:31 AM by ilya_shaikovsky

    modal panel and submit...

      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>