Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1458

UI Tag Shortcuts (key shortcut in place of name, value, and label)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • Plugin - Tags
    • None
    • Patch

    Description

      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

      Attachments

        1. uitag-key-shortcuts.patch
          3 kB
          David H. DeWolf

        Activity

          People

            rainerh Rainer Hermanns
            ddewolf David H. DeWolf
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: