You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Weber, Jeremy" <JW...@Eventra.com> on 2003/01/24 15:16:07 UTC
Default Form Values
Where should the default values for forms go? In the jsp, form bean or some
other config file?
Thanks
Jeremy Weber
jweber@eventra.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Default Form Values
Posted by Michal Postupalski <pl...@ncnet.pl>.
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Default Form Values
Posted by Andrew Hill <an...@gridnode.com>.
What happens when you have a checkbox whose default value is checked?
-----Original Message-----
From: Micha? Postupalski [mailto:plastic@ncnet.pl]
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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Default Form Values
Posted by Micha? Postupalski <pl...@ncnet.pl>.
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Default Form Values
Posted by Mark Galbreath <ma...@qat.com>.
Form bean:
private String whatever = DEFAULT_VALUE;
Mark
-----Original Message-----
From: Weber, Jeremy [mailto:JWeber@Eventra.com]
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
jweber@eventra.com
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>