HOWTO implement multiple submit buttons with type = image.

2009-03-10 Thread Kra, Aime yao (TEK System)
Hello I am implementing a form with two buttons CANCEL and REGISTER. I have followed the sample provided in the cookbook http://struts.apache.org/2.x/docs/multiple-submit-buttons.html This works fine if type=submit

Re: HOWTO implement multiple submit buttons with type = image.

2009-03-10 Thread Jim Kiley
With image type submits, an x and y value are usually submitted (so that if the button is an imagemap, the server knows where the user clicked). Struts is complaining that you don't have any fields that accept an x or a y field on your action class. jk On Tue, Mar 10, 2009 at 2:46 PM, Kra, Aime

RE: HOWTO implement multiple submit buttons with type = image.

2009-03-10 Thread Martin Gainty
. Subject: HOWTO implement multiple submit buttons with type = image. Date: Tue, 10 Mar 2009 13:46:25 -0500 From: ak...@allstate.com To: user@struts.apache.org Hello I am implementing a form with two buttons CANCEL and REGISTER. I have followed the sample provided in the cookbook http