After reading the tag doc for panelLabelAndMessage I would have
thought that in the following example the tr:message would not
be needed.

However if I omit the tr:message then on validation failure it
fails silently without ever showing a message.

(Trinidad 1.2.1)

<tr:panelLabelAndMessage styleClass="inputLabel_10" label="#{Output.BRANCH}" 
showRequired="true">
        <tr:selectOneChoice id="employeeBranchId" value="#{_employeeList.employeeBranchId}" 
required="true" unselectedLabel="" simple="true">
            <f:selectItems value="#{_employeeList.employeeBranchItems}"/>
        </tr:selectOneChoice>
        <tr:message for="employeeBranchId"/>
</tr:panelLabelAndMessage>


Reply via email to