Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-7

form:multibox tag values from bean BugRat Report#702

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Nightly Build
    • Fix Version/s: 1.0.0
    • Component/s: Tag Libraries
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • Bugzilla Id:
      402

      Description

      I find mutlibox more useful if the values can be read from a bean at runtime.

      I have modified my local copy of multibox to do this.

      I added the following to org.apache.struts.taglib.form.MultiboxTag at line 199.

      Object valueBean = pageContext.findAttribute(value);
      if(valueBean != null) value = valueBean.toString();

        Attachments

          Activity

            People

            • Assignee:
              craigmcc Craig McClanahan
              Reporter:
              jeremy@tabularasa.demon.co.uk Jeremy Taylor
            • Votes:
              4 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: