Return-Path: Delivered-To: apmail-jakarta-taglibs-user-archive@www.apache.org Received: (qmail 26752 invoked from network); 7 Sep 2004 15:00:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Sep 2004 15:00:30 -0000 Received: (qmail 94098 invoked by uid 500); 7 Sep 2004 15:00:03 -0000 Delivered-To: apmail-jakarta-taglibs-user-archive@jakarta.apache.org Received: (qmail 94025 invoked by uid 500); 7 Sep 2004 15:00:02 -0000 Mailing-List: contact taglibs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tag Libraries Users List" Reply-To: "Tag Libraries Users List" Delivered-To: mailing list taglibs-user@jakarta.apache.org Received: (qmail 93900 invoked by uid 99); 7 Sep 2004 15:00:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [158.228.2.31] (HELO Front-end1.KRONOS.COM) (158.228.2.31) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Sep 2004 07:59:59 -0700 Received: from exchg-e.KRONOS.COM ([158.228.0.198]) by Front-end1.KRONOS.COM with Microsoft SMTPSVC(6.0.3790.0); Tue, 7 Sep 2004 10:59:56 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Submit Button Date: Tue, 7 Sep 2004 10:59:56 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Submit Button Thread-Index: AcSU6w7NvbW0ufFFS7mmFyJsm03pLwAAAwzQ From: "Ross, Douglas" To: "Tag Libraries Users List" X-OriginalArrivalTime: 07 Sep 2004 14:59:56.0079 (UTC) FILETIME=[56634BF0:01C494EB] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Oh, I see your point now. We actually use hidden buttons which map to images in the page that way we get the bennefit of both, with less logic. I really dislike the long nested if blocks (it must be the oo in me!). -----Original Message----- From: Helios Alonso [mailto:halonso@atg.com.uy]=20 Sent: Tuesday, September 07, 2004 10:57 AM To: Tag Libraries Users List Subject: Re: Submit Button Using the same name for all the submit buttons is cool for evaluating which=20 one was pressed. But if you don't want to use the buttons' text into the=20 logic, different names would be nicer. At 11:52 07/09/2004 -0300, you wrote: >It seems that only one submit parameter is sent. > >I tried this html in Mozilla > > >
> > >
> > >And when I press the first button only the a parameter is sent (it has no=20 >value cause the input element doesn't have it). > >When I press the second button only the b parameter is sent. > >So, I would do something like this: > >The a button was pressed >The b button was pressed > >At 10:31 07/09/2004 -0400, you wrote: >>Looking for JSTL - not Struts. >> >>Quoting "Michael G. McGrady" : >> >> >> Karl Coleman wrote: >> >> >> >> >I believe the name of the button is passed in the request under the name >> >> Submit. >> >> > >> >> >page.jsp?Submit=3D >> >> > >> >> >Karl >> >> > >> >> >> >> Oh, if this is all you wanted to know, and not how to use images, blah, >> >> blah, then you can use and the property attribute will >> >> pass along the value to the ActionForm. I assumed you wanted to know >> >> more than this, since this is just how the submit tag works and I >> >> assumed you looked at that. >> >> >> >> Michael >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org >> >> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org >> >> >> >> >> >> >>David Schwartz >>Array Software Inc. >>http://www.arrayone.com >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: taglibs-user-help@jakarta.apache.org > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: taglibs-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: taglibs-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: taglibs-user-help@jakarta.apache.org