Thanks,

I had seen those, but the problem I was having was that at no point in the
docs (afaik) is there an example of a URL to actually target an action in a
namespace.

Through a (very tedious) process of trial and error I finally stumbled upon
a (the?) solution.

Actions like these...

<s:action name="space/do"/>
<s:action name="space/do.action"/>
<s:action name="/space/do"/>
<s:action name="/space/do.action"/>

Do not seem to work. However like this...

<s:action name="do" namespace="space"/>

does. 

Annoyingly this...

<s:action name="do.action" namespace="space"/> 

doesn't seem to work either.

And don't even get me started about using namespaced actions with the a tag.
href="/space/do" doesn't work either. Jeez, I can only think I must be
missing something.

And the final insult when the actions don't resolve properly it fails
silently and all I get is an empty browser.:-/




newton.dave wrote:
> 
> Oops.
> 
> --- paulbrickell <[EMAIL PROTECTED]> wrote:
>> Could you post a link to the section in the docs. I just cant work this
>> out.:confused:
> 
> Work what out?
> 
> Packages and namespaces are discussed (at least) at [1, 2].
> 
> Dave
> 
> [1] http://struts.apache.org/2.x/docs/package-configuration.html
> [2] http://struts.apache.org/2.x/docs/namespace-configuration.html
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/actions-defined-in-a-package-are-visible-in-other-packages---tp11277458p15229863.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to