Given a panelLabelAndMessage that has multiple inputTexts set to simple="true"
as its children, the panelLabelAndMessage component is only displaying a
message for the first child inputText.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: TRINIDAD-1018
URL: https://issues.apache.org/jira/browse/TRINIDAD-1018
Project: MyFaces Trinidad
Issue Type: Bug
Components: Components
Affects Versions: 1.0.5-core
Environment: Using 1.0.5, occurs in both Firefox 2 and IE 6.
Reporter: Nate Perkins
Priority: Minor
Fix For: 1.0.8-core
I have a panelLabelAndMessage set up in the following way to display inputs for
deg/min/sec coordinates:
<tr:panelLabelAndMessage id="lat" label="Latitude">
<tr:inputText id="degLat" value="#{mb.deg}" simple="true"
validator="{DegValidator}"/>
<tr:outputText value="ยบ"/>
<tr:inputText id="minLat" value="#{mb.min}" simple="true"
validator="{MinValidator}"/>
<tr:outputText value="'"/>
<tr:inputText id="secLat" value="#{mb.sec}" simple="true"
validator="{SecValidator}"/>
<tr:outputText value="''"/>
</tr:panelLabelAndMessage>
The problem is that if a validation error occurs on either the min or the sec
input, no message is displayed at the input.
I tried removing simple="true" from all the inputText components and that
corrected the problem for min and sec inputs, but a validation error on the deg
component would create two validation error messages for the component.
I currently have it working by having the deg inputText with simple="true" and
the min and sec inputTexts without, but this seems inconsistent and certainly
doesn't agree with the documentation for the panelLabelAndMessage component.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.