on 10/3/2000 3:02 PM, "Diethelm Guallar, Gonzalo"
<[EMAIL PROTECTED]> wrote:
> My action inherits from WebMacroSiteAction, and I
> understand I can do a
>
> setTemplate(data, "new_template.wm");
>
> to programmatically set the template to be shown once
> the action completes. How can I pass parameters to
> that template? I need to switch to a template like this:
>
> new_template.wm?page=foo.wm
>
> Is this possible?
totally...
data.getParameters().addQueryData("page", "foo.wm");
setTemplate(data, "new_template.wm");
-jon
--
http://scarab.tigris.org/ | http://noodle.tigris.org/
http://java.apache.org/ | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/ | http://www.sourcexchange.com/
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]