> I'm assuming you are using the conventions plugin (since there is no
> action definition). How are you making sure your
> conventions-configured actions are in the "stuff" package? If this is
> your configuration, in whole, then you need to add -
>
> <constant name="struts.convention.default.parent.package" value="stuff" />
>
> Just matching up namespace is not enough.
>
> Another option is to use the @ParentPackage annotation on the action class -
> http://struts.apache.org/2.x/docs/convention-plugin.html#ConventionPlugin-ParentPackageannotation
>
> -Wes

OK, well it should have been:

<struts>
    <constant name="struts.devMode" value="true"/>
    <constant name="struts.configuration.xml.reload" value="true"/>
    <constant name="struts.custom.i18n.resources" value="globalMessages"/>
    <constant name="struts.convention.action.packages"
value="com.stuff.something.web"/>
    <package name="something" extends="struts-default">
        <default-interceptor-ref name="paramsPrepareParamsStack"/>
</package>

In any case, it is not this type of mapping problem because the
Prepare method is getting called just fine. The parameters are passed
in a link though and the property that the Prepare method requires is
not being set. I can't find any reason why it wouldn't be but tracing
through shows that params is not being called before Prepare.


Jim C.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to