You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Harland <dh...@ufi.com> on 2007/05/31 16:04:13 UTC
s:url tag Why isn't includeParams='none' the default setting?
Hi,
How come the default setting for the includeParams attribute for the
s:url tag is not 'none' ?
______________________________________________________________________
Ufi Limited
Registered in England No. 3980770
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
learndirect Solutions Ltd
Registered in England No. 5081669
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
UFI Charitable Trust
Registered in England No. 3658378
Registered Charity No. 1081028
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
Re: s:url tag Why isn't includeParams='none' the default setting?
Posted by Musachy Barroso <mu...@gmail.com>.
I missed that one. I added a note on the url tag page.
musachy
On 5/31/07, Dave Newton <ne...@yahoo.com> wrote:
>
> --- Al Sutton <al...@al-and-andrea.org.uk> wrote:
> > +1 to support the change. It'd reduce my code by a
> > chunk on pages that take a parameter and have a link
>
> > menu on one side.
>
> While I agree that 'none' should be the default (I
> think we had a thread about this not too long ago) you
> *can* just set it in your struts.xml and not worry
> about it.
>
> d.
>
>
>
>
> ____________________________________________________________________________________Ready
> for the edge of your seat?
> Check out tonight's top picks on Yahoo! TV.
> http://tv.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
RE: s:url tag Why isn't includeParams='none' the default setting?
Posted by Dave Newton <ne...@yahoo.com>.
--- David Harland <dh...@ufi.com> wrote:
> How exactly do you do that, can you give me an
> example please?
http://struts.apache.org/2.x/docs/strutsproperties.html
### possible values are: none, get or all
struts.url.includeParams = get
(But you should probably do it via XML constant
configuration but I'm in a meeting and lazy :)
d.
____________________________________________________________________________________Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: s:url tag Why isn't includeParams='none' the default setting?
Posted by David Harland <dh...@ufi.com>.
How exactly do you do that, can you give me an example please?
-----Original Message-----
From: Dave Newton [mailto:newton.dave@yahoo.com]
Sent: 31 May 2007 16:43
To: Struts Users Mailing List
Subject: RE: s:url tag Why isn't includeParams='none' the default
setting?
--- Al Sutton <al...@al-and-andrea.org.uk> wrote:
> +1 to support the change. It'd reduce my code by a
> chunk on pages that take a parameter and have a link
> menu on one side.
While I agree that 'none' should be the default (I think we had a thread
about this not too long ago) you
*can* just set it in your struts.xml and not worry about it.
d.
________________________________________________________________________
____________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
- ------
ML {UFI}
______________________________________________________________________
Ufi Limited
Registered in England No. 3980770
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
learndirect Solutions Ltd
Registered in England No. 5081669
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
UFI Charitable Trust
Registered in England No. 3658378
Registered Charity No. 1081028
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: s:url tag Why isn't includeParams='none' the default setting?
Posted by Dave Newton <ne...@yahoo.com>.
--- Al Sutton <al...@al-and-andrea.org.uk> wrote:
> +1 to support the change. It'd reduce my code by a
> chunk on pages that take a parameter and have a link
> menu on one side.
While I agree that 'none' should be the default (I
think we had a thread about this not too long ago) you
*can* just set it in your struts.xml and not worry
about it.
d.
____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: s:url tag Why isn't includeParams='none' the default setting?
Posted by Al Sutton <al...@al-and-andrea.org.uk>.
+1 to support the change. It'd reduce my code by a chunk on pages that take
a parameter and have a link menu on one side.
-----Original Message-----
From: Musachy Barroso [mailto:musachy@gmail.com]
Sent: 31 May 2007 15:25
To: Struts Users Mailing List
Subject: Re: s:url tag Why isn't includeParams='none' the default setting?
I've been asking myself that question for a while, I'd say it seems like it
would be a better choice for the default value.
musachy
On 5/31/07, David Harland <dh...@ufi.com> wrote:
>
> Hi,
>
> How come the default setting for the includeParams attribute for the
> s:url tag is not 'none' ?
>
>
> ______________________________________________________________________
> Ufi Limited
> Registered in England No. 3980770
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> learndirect Solutions Ltd
> Registered in England No. 5081669
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> UFI Charitable Trust
> Registered in England No. 3658378
> Registered Charity No. 1081028
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> This email has been scanned by the MessageLabs Email Security System.
>
> ______________________________________________________________________
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: s:url tag Why isn't includeParams='none' the default setting?
Posted by Musachy Barroso <mu...@gmail.com>.
I've been asking myself that question for a while, I'd say it seems like it
would be a better choice for the default value.
musachy
On 5/31/07, David Harland <dh...@ufi.com> wrote:
>
> Hi,
>
> How come the default setting for the includeParams attribute for the
> s:url tag is not 'none' ?
>
>
> ______________________________________________________________________
> Ufi Limited
> Registered in England No. 3980770
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> learndirect Solutions Ltd
> Registered in England No. 5081669
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> UFI Charitable Trust
> Registered in England No. 3658378
> Registered Charity No. 1081028
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> This email has been scanned by the MessageLabs Email Security System.
>
> ______________________________________________________________________
--
"Hey you! Would you help me to carry the stone?" Pink Floyd