Hi, i have a question. I want to validate a parameter against a hibternate constraint.
I have the following code in the bean: @Min(value=1,message="#{messages.GreaterThanZero}") | public float getArea() | { | return area; | } and the input-field is defined: <h:inputText id="EffectiveArea" value="#{calculator.area}" required="true" requiredMessage="#{messages.RequiredValueArea}"> | <f:converter converterId="AreaConverter"/> | </h:inputText> when i display the message in the view page with <h:messages/> the error message is displayed twice. when i add the globalOnly="true" - tag no message is displayed. I have no clue why this happens. regards, hasc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042393#4042393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042393 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user