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

UIBean component sets malformed default ID with ONGL expression for name parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.3
    • Plugin - Tags
    • None

    Description

      When using a ONGL expression for the 'name' property of a JSP UI tag, UIBean sets the default value of the 'id' property to the string value of 'name' without parsing 'name' for an ONGL expression. This results in malformed HTML IDs:

      <ww:textfield name="propertyName[%

      {'1'}].id"/>

      results in:

      <input type="text" name="propertyName[1].id" value="" id="groupSave_%{'1'}

      __id'}"/>

      See http://jira.opensymphony.com/browse/WW-1360

      Attachments

        Activity

          People

            mrdon Donald J. Brown
            pluppens Philip Luppens
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: