0 Replies Latest reply on Jul 30, 2008 12:30 PM by ad asdf

    a4j:support problem while uodating bean value...

    ad asdf Newbie

      Hi

      I am using tag to rerender the HtmlPanelGrid.....The Value in the textfiled it is not updating with DataBase Values..

      <a4j:support event="onclick" reRender="ReturnToWorkPanelGrid"></a4j:support>

      <a4j:outputPanel ajaxRendered="true"
      id="ReturnToWorkPanelGrid">
      <h:message styleClass="FrmItalType style1"
      rendered="#{intakeHeaderBean.returnToWorkFlag=='Y'}"
      style="padding-left: 5px;" for="IntakeReturnToWorkDate" />
      <h:message styleClass="FrmItalType style1"
      rendered="#{intakeHeaderBean.returnToWorkFlag=='N'}"
      style="padding-left: 5px;"
      for="IntakeEstimetedReturnToWorkDate" />

      <h:panelGrid columns="2">



      <h:outputText styleClass="FrmResultsType"
      value="On what date did you return to work"
      rendered="#{intakeHeaderBean.returnToWorkFlag=='Y'}" />


      <t:inputCalendar converter="DateTimeConverter" validator="#{utilityBean.validateDate}" size="11" maxlength="10"
      popupButtonStyle="height:17px;vertical-align:middle"
      popupButtonImageUrl="/../images/calendar1.gif"
      renderPopupButtonAsImage="true"
      value="#{intakeHeaderBean.returnToWorkDate_Yes}"
      id="IntakeReturnToWorkDate" styleClass="FrmNormalType"
      renderAsPopup="true"
      rendered="#{intakeHeaderBean.returnToWorkFlag=='Y'}"
      required="#{intakeHeaderBean.returnToWorkFlag=='Y'}"
      immediate="false">
      <f:attribute name="IntakeReturnToWorkDate" value="On what date did you return to work" />
      </t:inputCalendar>
      <h:outputText styleClass="FrmResultsType"
      value="What is your estimated return to work date "
      rendered="#{intakeHeaderBean.returnToWorkFlag=='N'}" />
      <t:inputCalendar converter="DateTimeConverter" validator="#{utilityBean.validateDate}" size="11" maxlength="10"
      popupButtonStyle="height:17px;vertical-align:middle"
      popupButtonImageUrl="/../images/calendar1.gif"
      renderPopupButtonAsImage="true"
      value="#{intakeHeaderBean.returnToWorkDate_No}"
      id="IntakeEstimetedReturnToWorkDate"
      styleClass="FrmNormalType" renderAsPopup="true"
      rendered="#{intakeHeaderBean.returnToWorkFlag=='N'}"
      required="#{intakeHeaderBean.returnToWorkFlag=='N'}"
      immediate="false">
      <f:attribute name="IntakeEstimetedReturnToWorkDate" value="What is your estimated return to work date" />
      </t:inputCalendar>
      </h:panelGrid>
      </a4j:outputPanel>
      </h:panelGrid>
      </a4j:outputPanel>

      Here I am not getting intakeHeaderBean.returnToWorkDate_No
      Value...

      Any Ideas