Is ChainingInterceptor activated ?

----- Original Message -----
From: "Robert Douglass" <[EMAIL PROTECTED]>
To: "WebWork list" <[EMAIL PROTECTED]>
Sent: Sunday, October 05, 2003 3:01 AM
Subject: [OS-webwork] Action Chaining: passing parameters


> I've got two actions, newPage and browse, that both have a template
> parameter. I set template in newPage (see below), and it chains to browse,
> but template value has been lost. There must be a way to pass this
parameter
> from within the newPage action, but I was surprised that simply setting
the
> value didn't work. The values that were set from the URL parameters get
> passed on, though, I noticed.
>
> -Robert Douglass
>
> xwork.xml:
> <action name="newPage" class="com.webs4.NewPage">
>             <result name="success" type="chain">
>                 <param name="actionName">browse</param>
>             </result>
>
> NewPage.java:
> public String execute() throws Exception {
> if (pageToClone == null) {
> template = "SelectPage";
> }
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to