On Tue, Aug 30, 2011 at 1:25 PM, M. Rakowski wrote:

> 1) paramPrepareParam-Stack:
> It seems that the rest plugin does not support paramPrepareParam-Stack.


Define "support"; the REST plugin defines its own interceptor stack [1] and
if you're modifying it you'll need to keep that in mind. Parameter mapping
happens in a different way, since parameters are no longer coming from
normal request URL params.

2) Namespaces:
> When i define an action "foo" under the root-namespace (instead of
> default), then "There is no Action mapped for..." happens when i want to
> hand over an id-param (calling foo/123).
>

The REST plugin puts actions into its own namespace (IIRC); once you're out
of that namespace you'd need to configure things manually if you want
non-default behavior.

Dave

[1]
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/rest/src/main/resources/struts-plugin.xml?view=markup

Reply via email to