checkbox always checked(help needed)

2002-11-07 Thread Sandeep Karnwal, Noida
Hi! all
I am using multibox to display the multiple checkbox.
By default all checkbox should be checked. I am not able to find any of the
property of the multibox so that by default all checkbox should be checked.
What is the property of the multibox so that all check box should be checked
(when I display first time) or is there other way to do that.

Thanks in advance
Sandeep  

--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: checkbox always checked(help needed)

2002-11-07 Thread David M. Karr
 Sandeep == Sandeep Karnwal Sandeep writes:

Sandeep Hi! all
Sandeep I am using multibox to display the multiple checkbox.
Sandeep By default all checkbox should be checked. I am not able to find any of 
the
Sandeep property of the multibox so that by default all checkbox should be 
checked.
Sandeep What is the property of the multibox so that all check box should be 
checked
Sandeep (when I display first time) or is there other way to do that.

The checkbox in a multibox tag will be checked if the value attribute is
equal to one of the objects in the collection specified by the bean property.
If your page is fronted by an action where you can prepare the actionform in
this way, then it will always be checked.

-- 
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; SCJP



--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




RE: checkbox always checked(help needed)

2002-11-07 Thread Sandeep Karnwal, Noida
Thanks David
This solves my problem.

Regards
Sandeep

-Original Message-
From: [EMAIL PROTECTED] [mailto:dmkarr;earthlink.net]
Sent: Thursday, November 07, 2002 8:25 PM
To: [EMAIL PROTECTED]
Subject: Re: checkbox always checked(help needed)


 Sandeep == Sandeep Karnwal Sandeep writes:

Sandeep Hi! all
Sandeep I am using multibox to display the multiple checkbox.
Sandeep By default all checkbox should be checked. I am not able to
find any of the
Sandeep property of the multibox so that by default all checkbox should
be checked.
Sandeep What is the property of the multibox so that all check box
should be checked
Sandeep (when I display first time) or is there other way to do that.

The checkbox in a multibox tag will be checked if the value attribute is
equal to one of the objects in the collection specified by the bean
property.
If your page is fronted by an action where you can prepare the actionform in
this way, then it will always be checked.

-- 
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; SCJP



--
To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org

--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org