Tile configuration :
<definition name="*/*/*/*/*/index" extends="defaultLayout.{1}.{2}.{4}">
<put-attribute name="headerLocationPart" >
<definition name="indexLocation" template="/{1}/{2}/mkportal/s/layouts/LocationLayout.jsp">
<put-attribute name="location" value="/{1}/{2}/mkportal/s/location.jsp" />
<put-attribute name="subscriptionBtn" value="/{1}/{2}/mkportal/s/subscriptionBtn.jsp" />
<put-attribute name="indexPromo" value="/{1}/{2}/mkportal/s/indexPromo.jsp" />
</definition>
</put-attribute>
<put-attribute name="body" value="/{1}/{2}/mkportal/s/index.jsp" />
</definition>
When I m going to hit URL from my browser
problem is Nested Definition "indexLocation" does not resolve {1},{2} parameter .
Error is
org.apache.tiles.impl.CannotRenderException: JSPException including path '/{1}/{2}/mkportal/s/layouts/LocationLayout.jsp'.
So I need solution to pass wildcard value to resolve nested tile definition.