Html: checkbox initially checked?

2005-08-03 Thread Chris Decker
New to struts so sorry for the simple questions.

I have a html: checkbox struts tag and I want to have the checkbox checked 
initially similar to the checked attribute in a traditional INPUT statement.

Can you do this?  I've looked everywhere!
Chris Decker



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



Re: Html: checkbox initially checked?

2005-08-03 Thread erikweber
If memory serves me, the way to do this is in your ActionForm's reset method. 
This is where default values are specified when the form is initialized or 
reinitialized.

Erik


-Original Message-
From: Chris Decker [EMAIL PROTECTED]
Sent: Aug 3, 2005 4:58 PM
To: Struts Users Mailing List user@struts.apache.org
Subject: Html: checkbox initially checked?

New to struts so sorry for the simple questions.

I have a html: checkbox struts tag and I want to have the checkbox checked 
initially similar to the checked attribute in a traditional INPUT statement.

Can you do this?  I've looked everywhere!
Chris Decker



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



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