Did you ever get this resolved?

> -----Original Message-----
> From: Sebastiano Pilla [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, February 06, 2003 11:04 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] Help needed with parametric action
> 
> 
> Greetings,
> 
> I'm having some troubles when trying to pass parameters to one of my 
> actions and I'm stumped: I believe I must be missing something 
> embarassingly simple, but it appears I'm too dumb to figure 
> it out for 
> myself...
> 
> The problem: I have a class that extends ActionSupport and 
> implements both 
> ApplicationAware and ParameterAware, but the setParameters 
> method always 
> receives an empty map...
> 
> I call this action in a JSP page in this way:
> 
> <%@ taglib uri="WebWorkTags" prefix="webwork" %> 
> <webwork:action name="'content.BlogPostAction'">
>    <webwork:param name="'lowerBoundDay'" value="3" />
>    <webwork:param name="'upperBoundDay'" value="-1" /> 
> </webwork:action>
> 
> I've placed some logging calls in doExecute() and 
> setParameters(), and 
> they're both called as I expect:
> 
> [2003-02-06 16:51:44,822] DEBUG 
> com.datafaber.action.content.BlogPostAction  - setParameters 
> - pParameters = {} [2003-02-06 16:51:44,952] DEBUG 
> com.datafaber.action.content.BlogPostAction 
> content.BlogPostAction - Action executing..
> [2003-02-06 16:51:44,962] DEBUG 
> com.datafaber.action.content.BlogPostAction 
> content.BlogPostAction - doExecute - mParameters = {}
> 
> However, the Map object passed to setParameters is empty!
> 
> What I'm doing wrong? Am I using an incorrect syntax in my JSP? Am I 
> totally off-base here and should be doing this in an entirely 
> different way?
> 
> Thanks for any help.
> 
> Sebastiano Pilla
> E-TREE S.p.a.  Via Fonderia 43 - 31100 Treviso (Italy)
> phone +39.0422.3107              fax   +39.0422.310888
> http://www.e-tree.com          http://www.webanana.com
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 
> 2 See! http://www.vasoftware.com 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to