Announcement Announcement Module
Collapse
No announcement yet.
Tiles value variable Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tiles value variable

    Hi,
    My tiles work but this is heavy to write all the path, very repetitive, so I want to do that :
    Code:
    <tiles-definitions>
        <definition name="index" template="/WEB-INF/jsp/index.jsp">
            <put-attribute name="title" value="/WEB-INF/jsp/header.jsp" />
        </definition>
    [...]
    </tiles-definitions>
    I want to do that :
    Code:
    path="/WEB-INF/jsp/"
    <definition name="index" template=$path"index.jsp">
            <put-attribute name="title" value=$path"header.jsp" />
        </definition>
    Solution ?
Working...
X