Reputation: 308
hibernate-validator 4.0.2.Final.jar in my classpath.
inline validation:
<tr:inputText label="Bin" id="Bin"
value="#{vinController.vin}" required="true" size="20">
<f:validateLength minimum="10" maximum="17"></f:validateLength>
</tr:inputText>
Trinidad-config.xml:
<client-validation>INLINE</client-validation>
This isn't working the way I intended it to.
Upvotes: 0
Views: 602
Reputation: 30025
Add a h:messages
tag somewhere in your facelet to display messages:
<h:messages/>
This will display all messages.
Or alternatively:
<h:message for="Bin"/>
will show only messages for the component with id="Bin"
.
Upvotes: 1