tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio <antonio.petre...@gmail.com>
Subject Re: question about <tiles:importAttribute ...
Date Fri, 28 Nov 2008 17:06:48 GMT
And how do you call the definition?

2008/11/28 aaaaa <aaaaa@mytrashmail.com>:
>
> definition:
>        <definition name="index" extends="layout">
>          <put-attribute name="body" value="/WEB-INF/jsp/index.jsp" />
>          <put-attribute name="var" value="0" type="string"/>
>        </definition>
>
> jsp:
> ...
> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
>
> <tiles:importAttribute name="var" />
> <c:out value="${var}"></c:out>
>
>
> thanks.
>
>
> --
> View this message in context: http://www.nabble.com/question-about-%3Ctiles%3AimportAttribute-...-tp20724529p20737656.html
> Sent from the tiles users mailing list archive at Nabble.com.
>
>

Mime
View raw message