0 Replies Latest reply on Feb 12, 2013 11:14 AM by Ken Clahrc

    seam2.3.0.final a4j:outputPanel empty values

    Ken Clahrc Newbie

      another problem after seam2.2.2.final/jsf1.2/rf4 to seam2.3.0.final/jsf/2/rf4 -

      the following code works correctiy with the old librarries but with the new after filling the value and clicking on the 'Save' button (the page is seam autogenerated *Edit.xhtml form)

      the 'alcdepCwHome.instance.numDeterm' value is empty. If I then retrieved the same record and do 'Edit' fill the value again and click on the 'Update' it the record will be stored in the DB correctly with a non-empty value:

       

       

       . . . .
                  <a:outputPanel id = "FPanel" layout="inline">
                      <s:decorate id="numDetermField" template="layout/edit.xhtml" rendered="#{alcdepCwHome.instance.auditType == 'F'}">
                          <ui:define name="label">Number of patients</ui:define>
                          <h:inputText id="numDeterm"
                                    value="#{alcdepCwHome.instance.numDeterm}">
                              <a:ajax event="blur" render="numDetermField" bypassUpdates="true" oncomplete="onAjaxRequestComplete()"/>
                          </h:inputText>
                      </s:decorate>
                  </a:outputPanel>
      . . . . .
      

       

      If I remove the 'a:outputPanel' everything works fine.