[ http://issues.apache.org/jira/browse/TAPESTRY-532?page=all ]

Jesse Kuhnert updated TAPESTRY-532:
-----------------------------------

    Fix Version/s: 4.1.2

> FieldLabel could use its body as DisplayName default value
> ----------------------------------------------------------
>
>                 Key: TAPESTRY-532
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-532
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0
>            Reporter: Leonardo Quijano Vincenzi
>            Priority: Minor
>             Fix For: 4.1.2
>
>
> It could be useful for FieldLabels to use its body as display name. Right 
> now, if the associated TextField doesn't specify the displayName, it throws 
> an exception. This forces developers to do something like this:
>         <td>
>           <label jwcid="@FieldLabel" field="component:password" 
> displayName="Password:">
>             Password:</label>
>           </td>
>         <td><input jwcid="[EMAIL PROTECTED]" value="ognl:password" 
> type="password" /></td>
> Now, for non-internationalized applications the WYSIWYG version of the page 
> has the same display name as the label's. So, it ends up being the same text. 
> Can FieldLabel take this "Password:" content and display it as raw?

-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to