Uploaded image for project: 'Commons Jelly'
  1. Commons Jelly
  2. JELLY-109

jsl:applyTemplates mode attribute not functioning

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0
    • taglib.jsl
    • None
    • Windows XP - using Maven 1.0-RC1 site goal

    Description

      The following modified site.jsl file

      <jsl:template match="menu" trim="false">
      <jsl:applyTemplates select="item" mode="bbb" />
      </jsl:template>

      <jsl:template match="item" trim="false">
      No mode
      </jsl:template>

      <jsl:template match="item" trim="false" mode="bbb">
      BBB
      </jsl:template>

      returns

      the output
      No mode No mode No mode No mode No mode

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            smitchmor Sean Moriarty
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment