Is there any struts2 equivalent to the struts1 html:link tag? I see
that the s:a tag is available but is designed for use with ajax and the
only other tag i see is s:url.
The reason I ask is because in my application we used to form links like
this ...
login
and that would build a nice htm
day, April 16, 2007 4:00:28 PM
Subject: struts2 equivalent of html:link tag?
Is there any struts2 equivalent to the struts1 html:link tag? I see
that the s:a tag is available but is designed for use with ajax and the
only other tag i see is s:url.
The reason I ask is because in my application we
- Original Message
From: Allen Gilliland <[EMAIL PROTECTED]>
To: user@struts.apache.org
Sent: Monday, April 16, 2007 4:00:28 PM
Subject: struts2 equivalent of html:link tag?
Is there any struts2 equivalent to the struts1 html:link tag? I see
that the s:a tag is available but is d
> From: Allen Gilliland <[EMAIL PROTECTED]>
> that works fine for any actions that i have defined, but it doesn't work
> for non-struts actions.
d.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail
Dave Newton wrote:
From: Allen Gilliland <[EMAIL PROTECTED]>
that works fine for any actions that i have defined, but it doesn't work
for non-struts actions.
okay, but at that point there is no real reason to use the s:url tag at
all because i am no longer pointing to a logical name for
--- Allen Gilliland <[EMAIL PROTECTED]> wrote:
> >
> okay, but at that point there is no real reason to
> use the s:url tag at all
If you're not dealing with contexts, perhaps not.
> login page
>
> and had this in your struts config file ...
>
>
> path="/ui/login-redirect.jsp"/>
>
In S
Dave Newton wrote:
--- Allen Gilliland <[EMAIL PROTECTED]> wrote:
okay, but at that point there is no real reason to
use the s:url tag at all
If you're not dealing with contexts, perhaps not.
login page
and had this in your struts config file ...
In S1 my impression was that i
--- Ian Roughley <[EMAIL PROTECTED]> wrote:
> generates a link in s2, you can use the
> action and namespace attributes with it.
is pretty different than 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 usin
generates a link in s2, you can use the action and namespace
attributes with it.
Dave Newton wrote:
--- Allen Gilliland <[EMAIL PROTECTED]> wrote:
okay, but at that point there is no real reason to
use the s:url tag at all
If you're not dealing with contexts, perhaps not.
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
10 matches
Mail list logo