velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mwessend...@pironet-ndh.com>
Subject Parser and Context
Date Mon, 11 Apr 2005 10:11:31 GMT
Hi,

if I do something like with Context object, all is fine:

ctx.put("navigation","<a href=\"http://foo\">A LINK</a>");


But what I really want is:

ctx.put("navigation","#parse (\"navigation.vm\")");

Because I want in my *master* template something like:

<html>
<body>
<table><tr><td>$navigation</td>
...
</html>

So that I have no *hard* coded parse inside that template,
since navigation page can be different by some use cases.

Any idea for something like that?

thanks,
Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message