Trinidad releases 1.01 and 1.02 allow client-side validation to be
disabled and server-side only validation to occur.  However, for
server-side validation of required fields, an EL expression in the label
atrribute is not processed, and the generated error message will not
contain the label text.  If the label attribute contains static text
(e.g. label="Date:"), the label is included in the error message.

Example:

   <f:loadBundle basename="ResourceBundle" var="labels" />

   <tr:inputText label="#{labels.date}" value="#{bean.dateField}"
required="true" />

When an empty (but required) field is submitted, the generated error
message is: " - Value Required"

If the label attribute contains "Date:", the generated message is:
"Date: - Value Required"

Can Trinidad be configured to process EL expressions for server-side
validation?

Reply via email to