Uploaded image for project: 'Tiles'
  1. Tiles
  2. TILES-574

Tiles expressions do not work after wildcard

    XMLWordPrintableJSON

Details

    Description

      Using tiles 3.0.1 w. Spring 3.2.4 I am trying to use an multiple expressions that include a wildcard:

      <definition name="*.container" extends="base.container.layout">
      	<put-list-attribute name="commonContainerScripts" cascade="true">
      		<add-attribute expression="resources/${buildVersion}/scripts{1}/startup${minType}.js" />
      	</put-list-attribute>
      </definition>
      

      the first variable buildVersion resolves correctly. {1} also resolves correctly, however if minType appears after {1}, minType resolves to buildVersion. If I move minType in my expression to before {1}, then it resolves properly.

      Attachments

        Activity

          People

            mck Michael Semb Wever
            stephendparker Stephen Parker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: