[ 
http://issues.apache.org/jira/browse/MYFACES-1140?page=comments#action_12367101 
] 

Dave commented on MYFACES-1140:
-------------------------------

I just realized that the label will not work in my case.
In my case property name and value are in two table columns. A label has to be 
in the same column as its value.

> Replace ID for messages by adding "replaceIdForMessage" attribute
> -----------------------------------------------------------------
>
>          Key: MYFACES-1140
>          URL: http://issues.apache.org/jira/browse/MYFACES-1140
>      Project: MyFaces
>         Type: New Feature
>   Components: Tomahawk
>     Versions: Nightly
>  Environment: JBoss  4.0.3, XP
>     Reporter: Dave
>     Priority: Critical

>
> A Java property map, a collection of name/value pairs,  is renederd as a 
> dataTable, and user can change values.
> Two columns: property name and property value. Values are rendered in a 
> subview as different components based on their types.
> For validation errors or conversion errors, the generated IDs are used, for 
> example,
>     "_idJsp155": value is required
> <outputLabel for=".."> does not work in this case.
> An optional attribute for UIData component like
>     replaceIdForMessages="#{row.propertyName}"
>  would solve the problem.
>  Its value can bind to a back bean property, supporting localization 
> automatically.
> It is more efficient than <outputLabel for="..."> that requires 
> findComponent() to search the tree.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to