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

        Hide
        Aurélien DEHAY added a comment -
        Created an attachment (id=16631)
        Patch for attribute parameter in AugmentTransformer
        Show
        Aurélien DEHAY added a comment - Created an attachment (id=16631) Patch for attribute parameter in AugmentTransformer
        Hide
        Jean-Baptiste Quenot added a comment -
        Committed, thanks for your contribution!

        See http://svn.apache.org/viewcvs.cgi?rev=370146&view=rev
        Show
        Jean-Baptiste Quenot added a comment - Committed, thanks for your contribution! See http://svn.apache.org/viewcvs.cgi?rev=370146&view=rev

          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