[ http://issues.apache.org/jira/browse/VELTOOLS-47?page=all ]
Tim Colson moved VELOCITY-248 to VELTOOLS-47:
---------------------------------------------
Project: VelocityTools (was: Velocity)
Key: VELTOOLS-47 (was: VELOCITY-248)
Component: (was: Tools)
Version: (was: 1.4)
> Tiles
> -----
>
> Key: VELTOOLS-47
> URL: http://issues.apache.org/jira/browse/VELTOOLS-47
> Project: VelocityTools
> Type: Improvement
> Environment: Operating System: All
> Platform: All
> Reporter: Jesus Marin
> Priority: Minor
>
> I see that using tiles definitions like this:
> <definition name ".def.mine" path="/app/base.vm">
> <put name="title" value="TITLE"/>
> <put name="header" value="/app/header.vm"/>
> </definition>
>
> I can use $tiles.importAttributes() and $tiles in general inside "base.vm"
> BUT
> not inside "header.vm". Besides scope variables for "base.vm" are local and
> are
> not seen by "header.vm". So if I define #set ($subtitle =
> $tiles.getAttribute("$title") ) inside "base.vm", I can use $subtitle
> perfectly
> inside it BUT it is not seen by "header.vm" as you use $subtitle for it or
> even
> $tiles.getAttribute("$title").
>
> Is there a way to populate variables for the whole definition?
>
> This example is translated from a similar JSP tile page and works perfectly.
> All variables from <definition> are seen by all pages inside it.
> Regards
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]