velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sperling>
Subject Re: velocity-tools-1.2 linkTool module support
Date Fri, 03 Mar 2006 15:32:17 GMT
David Sperling wrote:

>I was reading the changlog for velocity-tools-1.1 and it said that:
>   * Refactor StrutsUtils to use Struts 1.1 classes and support modules
>I was wondering if this included a module switch function for linkTool.
>Right now I'm doing this to switch modules with linkTool:
>but it is very messy.  : (
>Is there a function similar to the Struts link tag available?
><html:link module="/moduleB" path="/"/>
>To unsubscribe, e-mail:
>For additional commands, e-mail:
Answering my own question.
StrutsLinkTool extends linkTool.  So  I tried out the following
and it works fine and is much cleaner.

This may even be easier than adding a module param, like is done with
the Struts "html link tag".



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message