Hi,
For a registration form I have something simple like:
<tr:panelLabelAndMessage
label="Zip/City"
showRequired="true">
<tr:inputText
id="zip"
value="#{data['registration'].zipCode}"
contentStyle="width:36px"
simple="true"
required="true" />
<tr:inputText
id="city"
value="#{data['registration'].city}"
contentStyle="width:133px"
simple="true"
required="true" />
</tr:panelLabelAndMessage>
<tr:message for="zip" />
<tr:message for="city" />
When including the last two lines, I get two messages on validation error. When ommiting last to lines, a javascript alert shows up, which is not what I want.
Is there a solution to show only one validation failed message somehow?
Thanks a lot!