Re: REST Plugin only for some actions

2010-01-14 Thread Dale Newfield
Lotsopa wrote: Is there anything new about NamespaceBasedActionMapper :) I mean, does this thing work? Someone convinced me a better name was "PrefixBasedActionMapper", but yes, it works fine. The code can be found as an attachment to this JIRA issue: https://issues.apache.org/struts/browse

Re: REST Plugin only for some actions

2010-01-14 Thread Lotsopa
Is there anything new about NamespaceBasedActionMapper :) I mean, does this thing work? DNewfield wrote: > > > I built something I call NamespaceBasedActionMapper that allows you to > specify different action mappers for different namespaces. If this is > what you're looking for, let me kno

Re: REST Plugin only for some actions

2009-03-29 Thread Dave Newton
Radoslav Krivak wrote: REST plugin is great idea, but sadly it seems to me that in current state it is more of a proof of concept than solution that you can use in real applications. Drat, guess I'll have to do some undeploys. Dave

Re: REST Plugin only for some actions

2009-03-24 Thread Radoslav Krivak
GF-7 wrote: > > Is this a TODO or is it already available? > In 2.1.6 it certainly isn't available. I was looking for something exactly like this, because it only makes sense. Maybe there is some work in progress for 2.1.7 (?). REST plugin is great idea, but sadly it seems to me that in curre

Re: REST Plugin only for some actions

2009-03-24 Thread GF
Is this a TODO or is it already available? On Tue, Mar 24, 2009 at 4:06 AM, dusty wrote: > > Ultimately, we should declare what are "resources" and get the free mapping > from the REST plugin for those Controllers.  Seems like that is what the > NamspaceBasedActionMapper is, but I was thinking ei

Re: REST Plugin only for some actions

2009-03-23 Thread dusty
Ultimately, we should declare what are "resources" and get the free mapping from the REST plugin for those Controllers. Seems like that is what the NamspaceBasedActionMapper is, but I was thinking either a @Resource annotation at the top of the Controller or -D DNewfield wrote: > > Dave

Re: REST Plugin only for some actions

2009-03-20 Thread Dale Newfield
Dave Newton wrote: Dale Newfield wrote: I built something I call NamespaceBasedActionMapper that allows you to specify different action mappers for different namespaces. If this is what you're looking for, let me know. Oh, that's kinda interesting--is it on Google code? Plugin? I offered t

Re: REST Plugin only for some actions

2009-03-20 Thread Dave Newton
Dale Newfield wrote: Radoslav Krivak wrote: could someone advise me how to configure REST plugin so that only some actions will be "processed" by it. I do not want all actions to use REST url scheme and url->method mapping. I built something I call NamespaceBasedActionMapper that allows you

Re: REST Plugin only for some actions

2009-03-20 Thread RadoK
Hi Dale. Thank you for your answer. NamespaceBasedActionMapper sounds good, certainly better than to have all actions mapped by REST plugin. But it isn't exactly what I am looking for. I was hoping that one could have Rest controllers and classic actions (mapped by convention plugin) living side

Re: REST Plugin only for some actions

2009-03-19 Thread Dale Newfield
Radoslav Krivak wrote: could someone advise me how to configure REST plugin so that only some actions will be "processed" by it. I do not want all actions to use REST url scheme and url->method mapping. I built something I call NamespaceBasedActionMapper that allows you to specify different ac