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

Form attribute "includeContext" is being inserted as a dynamicAttribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.15.1
    • 2.3.20
    • Other
    • Freemarker

    Description

      If you use the "includeContext" attribute on the Form element, it shows up as an attribute on the rendered html form. This is because UIBean.getStandardAttributes() only includes "String" and list type attributes, but includeContext is a boolean.

      <@s.form action="myAction" includeContext=false>
      

      Can either fix by making includeContext a String (like validate is in Form), or having UIBean.getStandardAttributes() correctly detect it.

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            perfnorm Jasper Rosenberg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: