Do you just want to set the params on your Action, or get access to the
Map of params from the config?

If you want to just set the properties, then use the static params
interceptor. If you want to get the Map, you can get it from the
ActionConfig object which you can get from the ActionProxy..

ActionContext.getContext().getActionInvocation().getProxy().getConfig().
getParams()

Jason

> -----Original Message-----
> From: Samuel Mota [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, February 19, 2004 2:23 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] Action Parameters
> 
> 
> Hi,
> 
> I'm trying to configure my action with parameters at xwork.xml ...
> 
> But how can I get it back on my action?
> 
> ActionContext.getContext().getParameters() contains only the 
> parameter passed on the querystring.
> 
> <action class="apps.menu.actions.Launch" name="launch">
>             <param name="baselocation">T: 
> \Sistemas\Programas\CVS-WorkingFolder\smota\NetsetWeb\public\a
> pplications</param>
>             <param name="basepath">public/applications</param>
>             <interceptor-ref name="appInternalStack"/>
>             <result name="success" type="cdispatcher">
>                 <param name="location">launch.vm</param>
>             </result>
> </action>
> 
> Thanks
> 
> Samuel
> 
> PS: appInternalStack do contain the parameters interceptors.
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now! 
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438> &op=click
> 
> _______________________________________________
> 
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to