3 Replies Latest reply on Aug 11, 2010 11:07 AM by Rocky S

    Dynamically output text value without server round trip?

    Rocky S Master
      <s:decorate template="/platform/fields/filter.xhtml">
           <ui:define name="label">Acctg Update Date From</ui:define>
           <rich:calendar id="fromDate" value="#{acctgGltransList.fromDate}"
            datePattern="MM/dd/yyyy" required="true"
            requiredMessage="Please enter Acctg Update Date From">
            <a:support event="onblur" reRender="transDate"
             bypassUpdates="true" ajaxSingle="true" />
           </rich:calendar>
          </s:decorate>

       

      Whenever I enter the date in above calendar field, I would expect the below outputText field display the date because I am rerendering it.(Without the refresh of page)

       

      <h:outputText id="transDate" value="#{acctgGltransList.fromDate}"/>
       

       

      Any thoughts?