Cocoon
  1. Cocoon
  2. COCOON-1627

[PATCH] Permit the choice of attributes to augment in AugmentTransformer

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.7
    • Fix Version/s: 2.1.9, 2.2
    • Component/s: - Components: Sitemap
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      Here is a patch againt 2.1.7 version augment transformer which add a
      "attributes" parameter which permit to choose the attributes to be augmented.
      Defaults to href if the parameter is not set:
      <map:transform type="augment">
        <map:parameter name="attributes" value="href src"/>
      </map:transform>

      Useful, for example, for <script type="text/javascript" src="path/to/js.js"/>.

        Activity

        Aurélien DEHAY created issue -
        Jeff Turner made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 36984 12324936
        Pier Fumagalli made changes -
        Workflow jira [ 12341371 ] Cocoon Workflow [ 12341421 ]
        Jean-Baptiste Quenot made changes -
        Assignee Cocoon Developers Team [ cocoon ] Jean-Baptiste Quenot [ jbq ]
        Jean-Baptiste Quenot made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 2.2-dev (Current SVN) [ 12310611 ]
        Fix Version/s 2.1.9-dev (current SVN) [ 12310650 ]

          People

          • Assignee:
            Jean-Baptiste Quenot
            Reporter:
            Aurélien DEHAY
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development