2009/1/23 stanlick <[email protected]>:
>
> 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

Reply via email to