0 Replies Latest reply on Jun 8, 2011 3:28 AM by toxor

    Property validation

    toxor

      Hi, I have a datatable with dynamic inputText-fields. Because they are created dynamically, I cannot use tags like

       

      <f:validateLength maximum="80"/> .

       

      The size of the field is required from a property which is in the Object, but unfortunately it is not possible to say

       

      <f:validateLength maximum="#{object.size}"/> .

       

      This always gives me null for the size, I guess this is regarding to the lifecycle of JSF. Is there a possibility to do a Validation against the property of the Object in any way ?

       

      I know this is not a Richfaces-question but maybe an experienced Member can help me with this, and maybe richfaces has to possibility to handle this ?