tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <antonio.petre...@gmail.com>
Subject Re: StackOverflow with EL
Date Fri, 23 Jan 2009 08:39:55 GMT
2009/1/23 stanlick <stanlick@gmail.com>:
>
> I just ran into something very strange!  Consider the following definition:
>
>        <definition name="myapp.homePage"
> template="/WEB-INF/layouts/page-container.jsp">
>                <put-attribute name="title"     value="${title}" />
>                <put-attribute name="top" value="/WEB-INF/tiles/main/header-top.jsp"
/>
>                <put-attribute name="middle" value="/WEB-INF/tiles/main/header-middle.jsp"
> />
>                <put-attribute name="bottom" value="/WEB-INF/tiles/main/header-bottom.jsp"
> />
>                <put-attribute name="breadcrumbs"
> value="/WEB-INF/tiles/main/header-breadcrumbs.jsp" />
>                  ....
>        </definition>
>
> If the value for the substitution ${title} contains a hyphen as in
> display-customer, I get an eventual out of memory error.  If I set a break
> point in my code and change the variable by removing the hyphen, it works
> fine!

What version of Tiles are you using?
Whatever it is, please open a Jira issue, it seems like a serious bug.
Do not forget to include the stacktrace and a test case (WAR):
https://issues.apache.org/struts/browse/TILES

Antonio

Mime
View raw message