Noel,
I actually got this working by using Tim's suggestion of creating a reset
method in my bean, then in my controller between my useBean and setProperty
tags I call formBean.reset().
Works like a charm!!
Thanks for your help!!
Denise
-----Original Message-----
From: Noel J. Bergman
To: Tomcat Users List
Sent: 1/10/2003 8:12 PM
Subject: RE: Java Bean Scope questions (a lengthy one)
Denise,
You might code the buttons as something like:
<input type="submit" name="formAction" value="OK">
<input type="submit" name="formAction" value="CANCEL">
Then within your webapp controller, you can call
request.getParameter("formAction"), and if formAction is CANCEL, you can
reset your bean.
--- Noel
--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>