I think he means that the action properties are being set to null by
OgnlUtil.copy(map, object)

I.e. I presume that he has action properties with defaults compiled in, then
the params-interceptor sets all action properties, even those that aren't in
the request, overriding the compiled defaults.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Jason Carreira
> Sent: Monday, 28 July 2003 12:30 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] On storing values in actions
> 
> 
> I'm not sure what you mean... How are you sending the params 
> to the Action? 
> 
> Actions are created fresh each time, so values shouldn't carry over.
> 
> Jason
> 
> > -----Original Message-----
> > From: James Pan [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, July 27, 2003 1:07 PM
> > To: [EMAIL PROTECTED]
> > Subject: [OS-webwork] On storing values in actions
> > 
> > 
> > Hello again,
> > 
> > I have an action that contains several parameters (eg:
> > language, mode, and source, all string variables), and I have 
> > a JSP page that renders differently depending on the three 
> > parameters (so if language=fr I'll use the french text, etc).
> > 
> > Now, after doing this:
> > 
> > .../myaction?language=en&source=index.jsp&mode=complete
> > 
> > which sets all the parameters in the action, I noticed that i
> > cannot send only one parameter to the action, eg:
> > 
> > .../myaction?language=fr
> > 
> > without wiping out the other parameters back to the initial 
> values...
> > 
> > How can I achieve this, allowing the setting of only one
> > property in an action and keeping the other properties unchanged?
> > 
> > Thank you again,
> > 
> > James
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built ASP.NET sites
> > including Data Reports, E-commerce, Portals, and Forums are 
> > available now. Download today and enter to win an XBOX or 
> > Visual Studio .NET. 
> > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
> _072303_01/01
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites 
> including Data Reports, E-commerce, Portals, and Forums are 
> available now. Download today and enter to win an XBOX or 
> Visual Studio .NET. 
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet
_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to