Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 76299 invoked from network); 11 Sep 2009 23:34:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Sep 2009 23:34:32 -0000 Received: (qmail 77837 invoked by uid 500); 11 Sep 2009 23:34:29 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 77788 invoked by uid 500); 11 Sep 2009 23:34:29 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 77778 invoked by uid 99); 11 Sep 2009 23:34:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 23:34:29 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of musachy@gmail.com designates 209.85.212.197 as permitted sender) Received: from [209.85.212.197] (HELO mail-vw0-f197.google.com) (209.85.212.197) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 23:34:21 +0000 Received: by vws35 with SMTP id 35so1009029vws.23 for ; Fri, 11 Sep 2009 16:34:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Nw3+jPJ8z+E4uM8TP7FbeXjR45NL3Rbg0W3WjRS0ps8=; b=GMngLBQukoDvJ4T2k9rmRCkpZy6DYd5Pqy3E8G5wp8KiTzGGIpFKg4o2zAJGZRfPVm 9MGzEshFAxwAEJKU/EmE8dsNRUozhDqvtiESCGOOMFuNzIytYPuBv2FRnXXAf/zq4ToI qLKKRfusQHnWbMaxHbf1EvSTXz3G97OodPVwg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=m3dPpzm6i0hLBniLjmfHXQFXFNDdTS6GfOxxmsvODi1gUNrl+i6b4ZPwg6GUAKdxDS ed586XVkzjSfTPk+wOsOiff9I1Jb+9I03vyAjLr4HxvGn15lp3/0GNl4ECf4GF2Y2U5m GClD3dWYUbg12y1ABKslbujSm27W7ylcuAtec= MIME-Version: 1.0 Received: by 10.220.79.168 with SMTP id p40mr4470309vck.110.1252712040284; Fri, 11 Sep 2009 16:34:00 -0700 (PDT) In-Reply-To: <92954.27977.qm@web38203.mail.mud.yahoo.com> References: <92954.27977.qm@web38203.mail.mud.yahoo.com> Date: Fri, 11 Sep 2009 16:34:00 -0700 Message-ID: Subject: Re: [S2.1.6] problem with value attribute for From: Musachy Barroso To: Struts Users Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org the url tag has an attribute to include/exclude the context, if I don't remember wrong. On Fri, Sep 11, 2009 at 4:30 PM, Tommy Pham wrote: > --- On Fri, 9/11/09, Tommy Pham wrote: > >> From: Tommy Pham >> Subject: Re: [S2.1.6] problem with value attribute for >> To: "Struts Users Mailing List" >> Date: Friday, September 11, 2009, 5:55 PM >> --- On Fri, 9/11/09, Musachy Barroso >> >> wrote: >> >> > From: Musachy Barroso >> > Subject: Re: [S2.1.6] problem with value attribute for >> >> > To: "Struts Users Mailing List" >> > Date: Friday, September 11, 2009, 3:17 PM >> > I didn't even know that form had a >> > "value" attribute. You should not >> > use that. (this might be due to our >> > all-tags-inherit-from-UIBean prom) >> > >> > musachy >> > >> >> Hi Musachy, >> >> Thanks for the reply.=A0 After going over the tags >> reference several times, I can't seem to figure out the >> simplest way to get all of the parameters in the URL as I'd >> like.=A0 If use the form's action attribute in >> conjunction with , I get an extra context >> path inserted.=A0 What do you recommend since the >> doesn't have 'includeParams' like >> ? >> >> Thanks, >> Tommy > > Hi Musachy, > > I decided to use the HTML
instead. > > Thanks, > Tommy > >> >> > On Fri, Sep 11, 2009 at 11:10 AM, Tommy Pham >> > wrote: >> > > Hi, >> > > >> > > I think I found another bug ... I want to >> include >> > whatever parameters in URL to a form submit action. >> =A0This >> > is what I used. >> > > >> > > > includeParams=3D"get" >> > /> >> > > >> > > or >> > shows >> the >> > correct URL of: >> > > /recipes/Admin/Languages?sort=3DisoCode2. >> > > >> > > But when I use it in the : >> > > >> > > > method=3D"post" >> > value=3D"%{urlFormActive}"> >> > > or >> > > > method=3D"post" >> > value=3D"%{#urlFormActive}"> >> > > >> > > The source code of the HTML shows: >> > > /recipes/Admin/Languages >> > > >> > > However, if I use action attribute instead of >> value, I >> > get this: >> > > /recipes/recipes/Admin/Languages?sort=3DisoCode2 >> > > >> > > Which isn't what I want either and will get a >> 404 >> > error as there isn't a servlet or Struts action mapped >> for >> > it. =A0Is anyone else having this same problem? >> =A0Should I >> > submit a bug report? >> > > >> > > Thanks, >> > > Tommy >> > > >> > > >> > >> --------------------------------------------------------------------- >> > > 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 >> > >> > >> --------------------------------------------------------------------- >> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> > For additional commands, e-mail: user-help@struts.apache.org >> > >> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --=20 "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