meeboo wrote:
Still no solution to this problem. How come parameters in actions with
wildcards (for example myapp/modelObject/*) aren't parsed in the prepare
method? They work fine when I parse them in my assigned action method :(


meeboo wrote:
Hey again

I'm posting via nabble, and it seems to strip out my wildcards, basically
my action looks like this now

<action name="update/modelObject/*"
class="net.schemer.web.ObjectModelActions">
     <interceptor-ref name="paramsPrepareParamsStack"/>         
< param name= " id " > { 1 } <result>/models/objectModel/update.jsp</result>
</action>

Hopefully this is viewable.


It is not really an issue with wildcard mapping. Issue is with the way parameters are being set on your action class.
Your parameters are being set not by params interceptor but by staticParams 
interceptor.
StaticParams interceptor handles setting the parameters declared in your action 
mapping xml.
paramsPrepareParamsStack has staticParams interceptor after prepare, hence the issue.
To get it working prepare an interceptor stack similar to paramsPrepareParams, 
replace initial params with staticParams.

Regards
Kedar


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to