Brian Pontarelli wrote:
Okay. That should be finished. It was somewhat tricky because the
XWork runtime configuration returns a valid ActionConfig for any URL
that ends in a / if you have a index action at the root. This is the
default handling that I'm not very fond of. For now, I turned this
handling off because of the issues I mentioned above. So, SmartURLs
now only handles URLs directly with no default/search behavior. So,
all of Jeromy's issues are resolved.
-bp
Thanks Brian, I can't break this version :-)
I still have the /an/arbitary/url/index issue which is very annoying but
acknowledge its present in non-smartURLs apps too. Unfortunately setting
the alwaysSelectFullNamespace flag doesn't entirely avoid it. It
generates a correct mapping (namespace = /an/arbitary/url, name=index)
but xwork's DefaultConfiguration.getActionConfig(namespace,name) still
fails-over to the empty namespace and finds the action named index.
Similarly /an/arbitary/url/ maps to namespace = /an/artbitary/url name
="" but DefaultConfiguration matches the default action (index) in the
empty namespace. I'm not sure there's much than can be done about it
while trying to coexist with non-smarturl configuration in 2.0.x.
cheers,
Jeromy Evans
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]