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

Javatemplates plugin does not support dynamic attributes for tags

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.1
    • Labels:
      None
    • Flags:
      Patch

      Description

      Any dynamic attributes present in tags are dropped when using the javatemplates plugin.

      Ex:
      <s:a href="foo/bar" data-remote-target="foo"></s:a>
      comes out as
      <a href="foo/bar"></a>

      I've created another very simple tag handler - DynamicAttributesHandler - and added it to all the appropriate FactoryLists in the SimpleTheme class.

        Attachments

        1. patch.txt
          9 kB
          Tom Terrace

          Activity

            People

            • Assignee:
              lukaszlenart Lukasz Lenart
              Reporter:
              tterrace Tom Terrace
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: