Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic


sai maddikay
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a input field with validation to validate the max and min length

<h:inputText id="LABEL_ID" styleClass="textboxsmall" value="#{sampleDatatableBean.accessionLabelId}" maxlength="5">
<f:validateLength minimum="4" maximum="5" />

it validates but I get the below message.....shouldnt {0} be replaced by value from minimum? Not sure why its not picking up the value... any ideas

Value is less than allowable minimum of {0}

version info
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "">

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic