I've been unable to locate and example, faq or post to this list that addresses this exactly.

I'd like to be able to create a form that has a set of dynamically-generated image buttons, each associated with an item in a list.

I'd like to associate the image buttons with the items by the items' unique keys so that when the form is submitted, I can detect which item's button was pressed.

I typically use ImageButtonBean when there are multiple submit 'buttons' on a form, since the browser returns the .x .y attrs for the image button.

I also prefer to use use DynaActionForm ( and its descendants ) to declaratively setup the form to avoid writing subclasses of ActionForm.

Assuming this is possible, is there some common way of addressing this that somebody can point me to?

- K

PS. I'm using JSTL and html-el, fwiw. Struts 1.1




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to