struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raghu <techhel...@gmail.com>
Subject Re: using var attribute with <s:url>
Date Wed, 19 Nov 2008 17:50:29 GMT
Thanks Dave,
If we compare below two docs then var attribute is present only in 2.0.12
docs...so it looks like var has been added in 2.0.12....I feel if var
attribute is not present in 2.0.12 then it can removed from docs for
avoiding confusion..

http://struts.apache.org/2.0.8/docs/url.html

http://struts.apache.org/2.0.12/docs/url.html

Thanks
Raghu


On Wed, Nov 19, 2008 at 12:39 PM, Dave Newton <newton.dave@yahoo.com> wrote:

> --- On Wed, 11/19/08, Raghu wrote:
> > Hi, I just upgraded from struts2.0.8 to struts2.0.12 and
> > used var attribute for s:url tag..but it is giving below...
> > I verified my app's  Web-inf/lib directory and found struts2-
> > core-2.0.12.jar is there. Am I missing something?
>
> Yes, the "var" attribute is for S2.1 only; in S2.0 you need to use "id".
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message