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
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
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
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
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
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
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
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,
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
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
10 matches
Mail list logo