7 Replies Latest reply on Oct 29, 2010 11:24 AM by anudeepshetty

    maxlength of inplaceInput doesn't work

    dirtyyee

      I want to set a maxlength in inplaceInput, but I found that it doesn't work. I set the maxlength to be 10 digits, when I typed in the text box, I found that I could input more than 10 digits. Could anyone help me about this issue? Here is my code :

       

      <rich:inplaceInput id="itemListOpen_resultList_allForwardJobNo_inplaceInput" value="#{result.ordersForwarderReference}" 
      maxlength="10" inputWidth="100px" styleClass="cursorChanged #{result.ordersForwarderReferenceCss}">
         <a4j:support id="itemListOpen_resultList_allForwardJobNo_onviewactivated_support" event="onviewactivated" 
           action="#{searchResultBean.updateOrdersForwardReference}" reRender="searchResultTabPanel">
            <f:setPropertyActionListener value="#{result.orderRefNo}" target="#{searchResultBean.ordersReferenceNo}"/>
            <f:setPropertyActionListener value="#{result.ordersForwarderReference}" target="#{searchResultBean.forwarderReferenceNo}"/>
         </a4j:support>
      </rich:inplaceInput>
      

       

      Thanks a lot.