You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "David H. DeWolf (JIRA)" <ji...@apache.org> on 2006/09/28 04:17:32 UTC

[jira] Updated: (WW-1458) UI Tag Shortcuts (key shortcut in place of name, value, and label)

     [ http://issues.apache.org/struts/browse/WW-1458?page=all ]

David H. DeWolf updated WW-1458:
--------------------------------

    Attachment: uitag-key-shortcuts.patch

Implements the new feature which allows a key attribute to be specified in place of the name, value, and label attributes on ui tags.

> UI Tag Shortcuts (key shortcut in place of name, value, and label)
> ------------------------------------------------------------------
>
>                 Key: WW-1458
>                 URL: http://issues.apache.org/struts/browse/WW-1458
>             Project: Struts 2
>          Issue Type: New Feature
>          Components: Views
>    Affects Versions: 2.0.1
>            Reporter: David H. DeWolf
>         Attachments: uitag-key-shortcuts.patch
>
>
> I'm finding that I use something similar to this very often:
> <@s.textfield name="user.userName"
>                value="%{user.userName}"
>                label="%{getText('user.userName')}"/>
> it would be nice (per the discussion on the user list), to be able to do something like this instead:
>      <@s.textfield key="user.userName"/>
> Discussed: http://mail-archives.apache.org/mod_mbox/struts-user/200609.mbox/raw/%3c8b3ce3790609261746u4014596fh92582e4f8a39ba65@mail.gmail.com%3e

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