Re: Parameters in URL

2009-03-19 Thread cheeran
My company virus scanner prevents me from putting xml here. When I use s:url and add parameters using s:param and set the URL as href to sx:a , an ajax anchor tag, I get the following error. I get two sets of values for each action parameters comma separated. One the value I sent via s:param. 2 -

Re: Parameters in URL

2009-03-19 Thread Jim Kiley
I'm having an extremely hard time understanding what you are asking here. I think you may have been trying to paste something into your message but failed to paste it in, or something. Can you be clearer about what you are asking for? jk On Thu, Mar 19, 2009 at 12:34 PM, cheeran wrote: > > I u

Re: Parameters in URL

2009-03-19 Thread cheeran
I use struts 2.1.6, follow both struts.properties and includeParams="none". The paramter in action class comes as valuea, valueb where valueb is the default form value. I use sx:a to assign a target to the link. Any other reason ? I use this in a tab panel tab page. Thanks, Santhosh -- View t

Re: Parameters in URL

2008-02-15 Thread Maxx
OK, understood. Did you try what I advised you? To make it clear, what is the JSP code of the other links/actions..? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Parameters in URL

2008-02-15 Thread Paranoid_Fabio
I'm talking about the current url and the other urls next to the switch locale call. 1) i call myAction and the url=.../myAction.action 2)I click the english flag. The code executed here is the one i posted: en_US 3)The main admin page is shown and the url beco

Re: Parameters in URL

2008-02-15 Thread Maxx
On Fri, Feb 15, 2008 at 9:46 AM, Paranoid_Fabio <[EMAIL PROTECTED]> wrote: > > I'm sorry but I meant "includeParams=none". I wrote it correctly in the code > but I posted it wrong. > The result is the same, params are included in the url. Which url(s) are talking about now ? If, as said above,

Re: Parameters in URL

2008-02-15 Thread Paranoid_Fabio
I'm sorry but I meant "includeParams=none". I wrote it correctly in the code but I posted it wrong. The result is the same, params are included in the url. The code is: en_US Paranoid_Fabio wrote: > > Hi, i'm new to struts. I'm developing a web a

Re: Parameters in URL

2008-02-14 Thread Musachy Barroso
:) On Thu, Feb 14, 2008 at 3:42 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > Teach a man to fish... > > > > --- Musachy Barroso <[EMAIL PROTECTED]> wrote: > > set includeParams = "'none'" > > > > On Thu, Feb 14, 2008 at 3:31 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > > > --- Paranoid_Fabio

Re: Parameters in URL

2008-02-14 Thread Dave Newton
Teach a man to fish... --- Musachy Barroso <[EMAIL PROTECTED]> wrote: > set includeParams = "'none'" > > On Thu, Feb 14, 2008 at 3:31 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- Paranoid_Fabio <[EMAIL PROTECTED]> wrote: > > > > > > en_US > > > > > > >

Re: Parameters in URL

2008-02-14 Thread Musachy Barroso
set includeParams = "'none'" On Thu, Feb 14, 2008 at 3:31 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Paranoid_Fabio <[EMAIL PROTECTED]> wrote: > > > > en_US > > > > > > > > > I'm using the "url" tag correctly.Am I? > > No. > > > > What i'm doing wron

Re: Parameters in URL

2008-02-14 Thread Dave Newton
--- Paranoid_Fabio <[EMAIL PROTECTED]> wrote: > > en_US > > > > I'm using the "url" tag correctly.Am I? No. > What i'm doing wrong? You're using an unknown value for the "includeParams" attribute. http://struts.apache.org/2.0.11/docs/url.html Dave ---

Re: Parameters in URL

2008-02-14 Thread Paranoid_Fabio
Ok.I've read that but even using includeParams="none" params are shown in the URL. My code is like this: en_US When the user clicks on the English flag, the "showAdminPage" is called switching the Locale. I'm using the "url" tag correctly.Am I? Cli

Re: Parameters in URL

2008-02-14 Thread Musachy Barroso
http://struts.apache.org/2.0.11/docs/why-are-request-parameters-appended-to-our-hyperlinks.html regards musachy On Thu, Feb 14, 2008 at 1:33 PM, Paranoid_Fabio <[EMAIL PROTECTED]> wrote: > > Hi, i'm new to struts. I'm developing a web application and I can't > understand why parameters still in