Re: Default Form Values

2003-01-24 Thread Michal Postupalski
On 1/24/2003 4:15 PM, Andrew Hill wrote:

What happens when you have a checkbox whose default value is checked?


I dont know, beacause I didnt use checkbox so far. But I dont have to 
set all my default values.

plastic


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



RE: Default Form Values

2003-01-24 Thread Andrew Hill
What happens when you have a checkbox whose default value is checked?

-Original Message-
From: Micha? Postupalski [mailto:[EMAIL PROTECTED]]
Sent: Friday, 24 January 2003 23:08
To: Struts Users Mailing List
Subject: Re: Default Form Values


Dnia 2003-01-24 15:16, Uz.ytkownik Weber, Jeremy napisa?:
> Where should the default values for forms go?  In the jsp, form bean or
some
> other config file?


I keep them in the ActionForm classes. They are set when the reset()
method is called.

regards,
plastic


--
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]>




Re: Default Form Values

2003-01-24 Thread Micha? Postupalski
Dnia 2003-01-24 15:16, Uz.ytkownik Weber, Jeremy napisa?:

Where should the default values for forms go?  In the jsp, form bean or some
other config file?



I keep them in the ActionForm classes. They are set when the reset() 
method is called.

regards,
plastic


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



RE: Default Form Values

2003-01-24 Thread Mark Galbreath
Form bean:

private String whatever = DEFAULT_VALUE;

Mark

-Original Message-
From: Weber, Jeremy [mailto:[EMAIL PROTECTED]] 
Sent: Friday, January 24, 2003 9:16 AM
To: 'Struts Users Mailing List' (E-mail)
Subject: Default Form Values


Where should the default values for forms go?  In the jsp, form bean or some
other config file?

Thanks

Jeremy Weber
[EMAIL PROTECTED]

--
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]>




RE: Default Form Values

2003-01-24 Thread pqin
Instantaitates a new form bean, request.setAttribute, load page.

If it is DynaActionForm, set default in your struts config file.

Regards,
 
 
PQ
 
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"

-Original Message-
From: Weber, Jeremy [mailto:[EMAIL PROTECTED]] 
Sent: January 24, 2003 9:16 AM
To: 'Struts Users Mailing List' (E-mail)
Subject: Default Form Values

Where should the default values for forms go?  In the jsp, form bean or some
other config file?

Thanks

Jeremy Weber
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



Default Form Values

2003-01-24 Thread Weber, Jeremy
Where should the default values for forms go?  In the jsp, form bean or some
other config file?

Thanks

Jeremy Weber
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   
For additional commands, e-mail: