tiles-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mck SembWever (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TILES-574) Tiles expressions do not work after wildcard
Date Mon, 18 Nov 2013 20:25:29 GMT

    [ https://issues.apache.org/jira/browse/TILES-574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825737#comment-13825737
] 

Mck SembWever commented on TILES-574:
-------------------------------------

[~stephendparker], have you any chance to test against 3.0.4-SNAPSHOT ?

And if so can you build the snapshot yourself off either?
 - svn at https://svn.eu.apache.org/repos/asf/tiles/framework/branches/TILES_3_0_X 
 - git at https://github.com/apache/tiles/tree/TILES_3_0_X

…or by using the apache snapshot repository as described on http://tiles.apache.org/framework/dev/snapshots.html
?
    (if so let me know and i'll deploy the snapshots to the repository).

> Tiles expressions do not work after wildcard
> --------------------------------------------
>
>                 Key: TILES-574
>                 URL: https://issues.apache.org/jira/browse/TILES-574
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-el, tiles-extras, tiles-servlet-wildcard
>    Affects Versions: 3.0.1
>         Environment: Windows 7, Tomcat 6, Java 1.6, Spring 3.2.4
>            Reporter: Stephen Parker
>            Assignee: Mck SembWever
>             Fix For: 3.1.x, 3.0.x
>
>
> Using tiles 3.0.1 w. Spring 3.2.4 I am trying to use an multiple expressions that include
a wildcard:
> {code}
> <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>
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message