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

Javatemplates plugin does not support dynamic attributes for tags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.2.1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: