myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (MYFACES-1140) Replace ID for messages by adding "replaceIdForMessage" attribute
Date Sun, 19 Feb 2006 23:05:28 GMT
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


Mime
View raw message