incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "magdolna holitska" <mholits...@hotmail.com>
Subject Validation messages
Date Tue, 16 Jan 2007 22:15:24 GMT
Hello,

I am using a validator for an inputText.
It works fine, but the problem is that it dispays the error message right 
below the component
and it affects the layout.

           <tr:inputText id="val" label="Value">
                <f:convertNumber groupingUsed="false" maxIntegerDigits="3" 
maxFractionDigits="2"/>
                <f:validateDoubleRange minimum="0" maximum="99.9"/>
           </tr:inputText>

If I use:
           <h:message/> or <h:messages>

the error will be displayed twice.

How can I get rid of the error message below each component?
I would like to have a message dispalying the list of errors in one place.
What't the best practice?

Thank you,
Magdolna

_________________________________________________________________
Share your opinion and enter to win! Please complete this survey to enter 
into a draw for a grand prize of $500 or one of twenty $50 cash prizes. 
http://www.youthographyinsiders.com/R.aspx?a=116


Mime
View raw message