Re: Clearing Input fields

2004-05-05 Thread Brian Boyle
m bean in session scope. This means everytime you bring up the form using this bean, it'll have the values entered the last time it was used. You can put your forms in request scope so that Struts will start with a new form bean instance everytime a form needs that form bean. --- Brian Boyl

Re: Clearing Input fields

2004-05-06 Thread Brian Boyle
AIL PROTECTED] Organization: SkyGate inter|net|working GmbH Message-ID: <[EMAIL PROTECTED]> In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> X-SLUIDL: 1159E3AB-90CB429F-AC689DE3-68A2837C X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Return-Path: [EMAIL PROTECT

Tag

2004-05-27 Thread Brian Boyle
Hey! I am trying to populate a drop down list with values that I have in a Collection but it is not working. This is what I have so far in my JSP: I have a Collection called constituencies stored in my session and it has javaBeans as elements in it. THese javabeans have a getConstName() attrib

Validator Framework + JavaScript

2004-05-27 Thread Brian Boyle
Hey! I am currently using the validator framework in my application to validate my inout fields etc. The only rule I am really using is "required". WHat I wan to know is if I can use both the Javascript validation and the normal validation at the same time. The reason I want this is because when

Help needed with application flow and reset button!!

2004-05-04 Thread Brian Boyle
Hey! I need some advice on how to do the following: I have a page where I input a number of values and hit submit. These values are then stored in a Map-backed ActionForm. Then my Action class forwards me on to the next page. The next page is a simple JSP that lets me review what I have just en

Clearing Input fields

2004-05-05 Thread Brian Boyle
Hi guys! I was wonderng if anyone could help me with aporblem I have. I input data into my input fields on my JSP page. If I press reset the fields are cleared. I press submit and my ActoinForm reads the data in and my Action processes it etc However, when I return to this page again the sa

RE: Clearing Input fields

2004-05-05 Thread Brian Boyle
nd onclick event javascript for that button which will clear all fields. Let me know if you need generic javascript which only needs form name to clear all fields. Reddy Pingili > -Original Message- > From: Brian Boyle [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, May 05, 2004 9:40 AM

Re: Clearing Input fields

2004-05-05 Thread Brian Boyle
he form. SO if they walked away, another user could walk over and hit enter and login as the person that just left. So I introduced an action that did a forward to the JSP page, but before it did it calls: form.reset(); then forwards, so the form is always cleared. Brian Boyle wrote: Hi Reddy,

Re: Clearing Input fields

2004-05-05 Thread Brian Boyle
g list [EMAIL PROTECTED] Organization: SkyGate inter|net|working GmbH Message-ID: <[EMAIL PROTECTED]> In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> X-SLUIDL: 25E1E0D5-362742F9-9799DCB5-EF84FDFA X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Return-Path: [EMA

Re: Clearing Input fields

2004-05-05 Thread Brian Boyle
est scope, you really don't need to do anything special to clear the form when a new form is being shown. Javascript certainly isn't required to clear it. Try it out and mail back if just putting it to request scope doesn't work as you expected. Hubert --- Brian Boyle <[EMAIL PROT