6 Replies Latest reply on Jul 16, 2009 6:43 AM by user1234

    value is not getting updated from modal panel...

      In my application i am opening a rich modal window with some h:input text , and after entering some value i am clicking a a4j:commanButton.
      but in the backing bean i am not getting the value that i have entered.
      Could any body pls help what may be the problem...

      Here is my UI

      <rich:modalPanel id="editPanel" autosized="true" width="450">
       <f:facet name="header">
       <h:outputText value="Edit Table" />
       </f:facet>
       <f:facet name="controls">
       <h:panelGroup>
       <h:graphicImage value="/images/cross.png"
       id="closeEditPanel" styleClass="cursorStyle" />
       <rich:componentControl for="editPanel" attachTo="closeEditPanel"
       operation="hide" event="onclick" />
       </h:panelGroup>
       </f:facet>
      
      
       <h:panelGrid columns="1">
       <a4j:outputPanel id="editInputPanel" ajaxRendered="true">
       <h:panelGrid columns="2">
      
       <h:outputText value="Field1 :"/>
       <h:inputText value="#{bean.field1}" />
       <h:outputText value="Field2 :" />
       <h:inputText value="#{bean.field2}" />
      
      
       </h:panelGrid>
      
       </a4j:outputPanel>
       <a4j:commandButton value="Edit"
       action="#{bean.editRecord}"
       reRender="col-GR_ID_DUP_EMB_NR"
       oncomplete="document.getElementById('PageForm:editPanel').component.hide();" />
       </h:panelGrid>
      
       </rich:modalPanel>
      
      
      


      Is there any problem in stucture ..?