My mistake (perhaps), I was scanning the email too fast. It doesn't
have the action and namespace attributes. But it's not just for making
dojo ajax requests either. The href attribute can use the %{} notation
to search the value stack and resolve expressions.
I usually use the two together -
<s:url id="register" action="findUser" namespace="/user" />
<s:a href="%{register}" >Register</a>
/Ian
Dave Newton wrote:
--- Ian Roughley <[EMAIL PROTECTED]> wrote:
<s:a ... /> generates a link in s2, you can use the
action and namespace attributes with it.
<s:a.../> is pretty different than <s:url.../> and I
would think not what the OP was looking for, which was
how to give links "logical" names.
I think the issue was largely solved by using
class-less (like me!) actions thusly:
<action name="/a/url">
<result>/a/jsp/etc</result>
</action>
AFAICT <s:a.../> is for making Dojo Ajax requests.
d.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]