|
From: Stefan D S. <ste...@us...> - 2004-07-29 15:04:36
|
Even doing this in the SimpleFormController is returning empty string. RequestUtils.getStringParameter(request, "submit", "")); This is in the form. There is only one form on the page. <INPUT TYPE=3D"image" SRC=3D"/images/buttons/BLUESUBMIT.png" VALUE=3D"ins= ert" NAME=3D"submit"> = <INPUT TYPE=3D"image" SRC=3D"/images/buttons/DELETE.png" VALUE=3D"delete"= NAME=3D"delete"> <INPUT TYPE=3D"image" SRC=3D"/images/buttons/Cancel.png" VALUE=3D"cancel"= NAME=3D"cancel"> Wednesday, July 28, 2004 9:43 PM To: spr...@li... cc: = From: Seth Ladd <set...@gm...> Subject: Re: [Springframework-developer] Validation: multiple image butto= ns on forms On Wed, 28 Jul 2004 20:39:35 -0400, Stefan D Sookraj <ste...@us...> wrote: > > > Seth, > Thanks for the reply, but since this is need as part of my validator, i= s > there not a way to get a hold of the request in the validator? You can use the method onBindAndValidate(). That's in the Controller, but at least you get access to the Request object in there. > > BTW - I have a property on the command class, it is just not getting se= t > (bind?). It returns an empty string. Any exceptions? Maybe a misspelling? Does the log say anything? What is the name of your property? Seth ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=3D4721&alloc_id=3D10040&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer= |