struts2 equivalent of html:link tag?

2007-04-16 Thread Allen Gilliland
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

Re: struts2 equivalent of html:link tag?

2007-04-16 Thread Shahak Nagiel
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

Re: struts2 equivalent of html:link tag?

2007-04-16 Thread Allen Gilliland
- 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

Re: struts2 equivalent of html:link tag?

2007-04-16 Thread Dave Newton
> 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

Re: struts2 equivalent of html:link tag?

2007-04-16 Thread Allen Gilliland
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

Re: struts2 equivalent of html:link tag?

2007-04-16 Thread Dave Newton
--- 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

Re: struts2 equivalent of html:link tag?

2007-04-16 Thread Allen Gilliland
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

Re: struts2 equivalent of html:link tag?

2007-04-17 Thread Dave Newton
--- 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

Re: struts2 equivalent of html:link tag?

2007-04-17 Thread Ian Roughley
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.

Re: struts2 equivalent of html:link tag?

2007-04-17 Thread Ian Roughley
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