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

select tag incorrectly evaluates property when bean contains 'getParameters()' method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.2.3.1
    • 2.3.3
    • Plugin - Tags
    • None

    Description

      When using select tag:
      <s:select list="elements" listKey="myKey" listValue="myValue"/>

      if the bean in elements collection has getParameters() method, then this method is called to evaluate bean's both myKey and myValue properties. Even if bean has them returning non-null values, they are ignored. This results in bean's toString() method being specified as both key and value.

      Attachments

        Issue Links

          Activity

            People

              lukaszlenart Lukasz Lenart
              paul_ik Pavel Kazlou
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: