On 10/28/07, Jeromy Evans <[EMAIL PROTECTED]> wrote:
> Hi Don,
>
> Thanks for the quick updates. The update to xwork seems fine as it
> supports namespaces like "/animals/*" via the wildcard handling in
> findActionConfigInNamespace(String namespace, String name).
Ah, right. I'll fix that.
> A
Hi Don,
Thanks for the quick updates. The update to xwork seems fine as it
supports namespaces like "/animals/*" via the wildcard handling in
findActionConfigInNamespace(String namespace, String name).
Unfortunately in the case of the rest plugin, the RestActionMapper first
calculates the
Doh, thanks. Added.
Don
On 10/28/07, Jeromy Evans <[EMAIL PROTECTED]> wrote:
> Hi Don,
> I can see your updates to xwork and the rest plugin - look great - but
> the new classes NamespaceMatcher and NamespaceMatch used by xwork's
> DefaultConfiguration seem to be missing from svn. Can you pleas
Hi Don,
I can see your updates to xwork and the rest plugin - look great - but
the new classes NamespaceMatcher and NamespaceMatch used by xwork's
DefaultConfiguration seem to be missing from svn. Can you please take a
look?
https://svn.opensymphony.com/svn/xwork/trunk/src/java/com/opensymph
The code has been checked into XWork, but since the upcoming Struts
2.1.0 release will depend on XWork 2.1.0 and not XWork 2.1.1 (which
trunk will be when it is released next), the feature won't be
available until Struts 2.1.1.
Basically how it works is you define your namespace to be:
@Namespace(
Don Brown wrote:
You are correct, #3 isn't possible right now with the rest plugin,
however, it is certainly on the near-term roadmap. What is needed is
the ability to define wildcards in the namespace, also known as url
templates. For example, you could do something like
@Namespace("/states/{s
You are correct, #3 isn't possible right now with the rest plugin,
however, it is certainly on the near-term roadmap. What is needed is
the ability to define wildcards in the namespace, also known as url
templates. For example, you could do something like
@Namespace("/states/{state}") on your Cit
Hi,
I'm trying to setup action mappings for URLs similar to the examples below:
1. GET: /states=> action = StatesController, method=index()
2. GET: /states/ca => action = StatesController, method=show(),
params=[id=ca]
3a. GET: /states/ca/cities/sacramento => action = StatesController,
8 matches
Mail list logo