Hi,
You will be able to pass a parameter with using this syntax:
* <result type="chain">
<param name="actionName">collect-address</param>
<param name="userId">${userId}</param>
</result>*
The ${userId} syntax will call getUserId on your action and pass parameter.
I didn't try this but i hope it'll run successfully.
I hope, this will help to you,
Okan Özeren.
On Sun, Apr 4, 2010 at 10:57 PM, Bruno <[email protected]> wrote:
> I'm trying to make a chain action result with a parameter.
>
> However, the chain action's parameter is being set as null. I've already
> checked the fileServer object and it's oid, and they aren't null. So I
> believe the problem is on the chain.
>
> Any sugestions?
>
> Thanks!
>
>
>
> <action name="FileServer_*" class="fileServerAction" method="{1}">
> <result name="main" type="chain">/Server_main</result>
> <result name="input">/jsp/fileServer-edit.jsp</result>
> <result name="source" type="chain">
> <param name="actionName">FileSource_main</param>
> <param name="namespace">/</param>
> <param name="parse">true</param>
> <param name="serveroid">${fileServer.oid}</param>
> </result>
> </action>
>
> --
> Bruno Morelli Vargas
> Mail: [email protected]
> Msn: [email protected]
> Icq: 165055101
> Skype: morellibmv
>