html:submit and 2 buttons

2003-11-06 Thread Frers Michael
Hello just a little question about the taglib i want to have one form with 2 buttons in it one button should do new the other update how can i make my action class know which button was hit? additionally i want that the buttons get there labels from a property file that works as shown below

RE: html:submit and 2 buttons

2003-11-06 Thread Arik Levin ( Tikal )
and 2 buttons Hello just a little question about the taglib i want to have one form with 2 buttons in it one button should do new the other update how can i make my action class know which button was hit? additionally i want that the buttons get there labels from a property file that works

RE: html:submit and 2 buttons

2003-11-06 Thread Philip Mark Donaghy
] Sent: Wednesday, November 05, 2003 6:54 PM To: Struts Users Mailing List Subject: html:submit and 2 buttons Hello just a little question about the taglib i want to have one form with 2 buttons in it one button should do new the other update how can i make my action class know

RE: html:submit and 2 buttons

2003-11-06 Thread Greg Hess
: RE: html:submit and 2 buttons Your action can read the value attribute of your submit tag. This is the label in your case. bean-el:message key=search.new/ Use the request.getParameter to find out which button was clicked. Give each of your submit buttons a different NAME