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

s:select rendering

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.3.1.2
    • 2.3.20
    • None
    • None
    • websphere 6.1

    Description

      The "s:select" component sometime has a wrong rendering. In the html page is shown as value of the options the object references (like @package.bean) or
      for the "s:select" component using fixed list value sometime is rendering the couple "key=label" and not the value

      Example:
      <s:select name="test" list="#

      {'1':'A','2':'B','3':'C','4':'D'}

      " required="true" />

      Rendering in page is:
      <select>
      <option value="1=A">1=A </option>
      <option value="2=B">2=B </option>
      <option value="3=C">3=C </option>
      <option value="4=D">4=D </option>
      </select>

      It is strange because if the server is restarted the issue has fixed.

      What could be?

      Attachments

        Activity

          People

            Unassigned Unassigned
            omar.colombari Omar Colombari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: