Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 93852 invoked from network); 1 Mar 2006 14:24:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Mar 2006 14:24:24 -0000 Received: (qmail 64291 invoked by uid 500); 1 Mar 2006 14:25:01 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 64098 invoked by uid 500); 1 Mar 2006 14:25:00 -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 64087 invoked by uid 99); 1 Mar 2006 14:25:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 06:25:00 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of dakota.jack@gmail.com designates 64.233.162.195 as permitted sender) Received: from [64.233.162.195] (HELO zproxy.gmail.com) (64.233.162.195) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 06:24:57 -0800 Received: by zproxy.gmail.com with SMTP id s1so149076nze for ; Wed, 01 Mar 2006 06:24:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=KJbf364NMX5WTIigKOu6bq/WyPr23V0FWLCt7/VmaYTRcIlTODsc0w69Oioq08Crn7RoiNh9DOfeXgT9b8UpBU5U3ewTNuYkEPKjYXOCxYS4ZIOBSQ5kpOrsvcebBvuHXlUl0/YTKFqg1Y1oXcWzzBMFhRcJ6USP6xJc1vaPKMM= Received: by 10.36.126.13 with SMTP id y13mr239379nzc; Wed, 01 Mar 2006 06:24:36 -0800 (PST) Received: by 10.36.109.17 with HTTP; Wed, 1 Mar 2006 06:24:36 -0800 (PST) Message-ID: Date: Wed, 1 Mar 2006 06:24:36 -0800 From: "Dakota Jack" To: "Struts Users Mailing List" Subject: Re: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing In-Reply-To: <9D9EF0A21FC3914A9248DAE900EEF5FB03D7C0@EXCHANGEVS01.appsig.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5583_9047219.1141223076408" References: <9D9EF0A21FC3914A9248DAE900EEF5FB03D7C0@EXCHANGEVS01.appsig.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5583_9047219.1141223076408 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline P.S. The lookup dispatch action is a new and improved version at www.michaelmcgrady.com, not the bad one in Struts. On 2/28/06, SIRAGHER, JOEL wrote: > > Greetings: > > I've been debugging now for a while, and don't know where to continue > looking. > > I'm doing multiple submit buttons on my struts/jsp 1.1 page. My > debugger takes me to the correct action, but the action has no form data > in it. On the jsp side, I am entering data, etc. > > Do I have to put something special in my struts-config.xml? > > Im pretty stuck here now for the last few days. > > Can some one make a suggestion? > > > My .jsp: > =3D=3D=3D=3D=3D=3D > > > > > > > > .... > > My Action Class: > =3D=3D=3D=3D=3D=3D=3D=3D=3D > public class RetrieveAction extends LookupDispatchAction { > protected Map getKeyMethodMap() { > Map map =3D new HashMap(); > map.put("button.UpdatePage", "updatePage"); > } > > > public ActionForward updatePage(ActionMapping mapping, ActionForm form, > HttpServletRequest request, HttpServletResponse response) > throws IOException, ServletException { > > RetrieveFormBean dataForm =3D (RetrieveFormBean) form; > // form data comes back null. Contains no data forwarded. > ..... > return mapping.findForward("retrieve"); > } > > > My struts-config.xml > =3D=3D=3D=3D=3D=3D=3D=3D > name=3D"RetrieveFormBean" > type=3D"com.struts.action.RetrieveAction" > scope=3D"session" > parameter=3D"method"> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > -- "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~ ------=_Part_5583_9047219.1141223076408--