At 05:22 AM 8/10/2004, you wrote:
Thanks, that goes some way...but not all the way though. A common
situation where a dynamic page displays 0n items with different
identifiers. For example, an item list is fetched from database, and page
contains delete buttons for items 23, 67, 101 and 128.
The idea, Nitin, has been to avoid JavaScript. With JavaScript we have an
entirely different situation.
Michael
At 09:06 AM 8/10/2004, you wrote:
For the various ids and their respective methods:
1. Create a hidden text field.
2. Call a javascript function before submitting the
page. This javasc
For the various ids and their respective methods:
1. Create a hidden text field.
2. Call a javascript function before submitting the
page. This javascript takes ID as an argument.
3. The ID is saved in the hidden text field and the
page is submitted.
4. Now call getDeleteItem() and get the ID to
At 05:22 AM 8/10/2004, you wrote:
Thanks, that goes some way...but not all the way though. A common
situation where a dynamic page displays 0n items with different
identifiers. For example, an item list is fetched from database, and page
contains delete buttons for items 23, 67, 101 and 128.
At 05:22 AM 8/10/2004, you wrote:
Thanks, that goes some way...but not all the way though. A common
situation where a dynamic page displays 0n items with different
identifiers. For example, an item list is fetched from database, and page
contains delete buttons for items 23, 67, 101 and 128.
that modify state of the form).
From: Michael McGrady <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: help with multiple submit buttons
Date: Tue, 10 Aug 2004 04:59:49 -0
At 04:49 AM 8/10/2004, you wrote:
Quite often I need to implement a form that has several submit buttons -
for example a page where several products are listed, and next to each
product is a "delete" -button.
Does struts provide some sort of help to this problem? I have to say I am
quite surpris
Quite often I need to implement a form that has several submit buttons - for
example a page where several products are listed, and next to each product
is a "delete" -button. Since clicking on each button sends only one
parameter, I have to encode both the action and the id of the item into same
8 matches
Mail list logo