Use EventAction or EventActionDispatcher from Struts 1.2.9. If you are using a
previous version of Struts, just pluck out these classes into your source
folders.
Mississippi John Hurt <[EMAIL PROTECTED]> wrote: Hi,
What's the best way to handle a page that has 3 clickable image buttons:
A list of Items indexed, each row has an image button, if clicked, routes to
a EditItem action.
An Add Item image button, that routes to a AddItem action.
An input text box, with a Search image button, that routes to a SearchItems
action when clicked.
Assuming I use a single form, how will my action know which button was
clicked (Edit vs Add vs Search). And how to pass the index of the Item#
button that was clicked? Anyone have samples (jsp,actionClass) of this
particular situation? Thanks.
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates
starting at 1ยข/min.