You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Irwan Wijaya <Ir...@ad-ins.com> on 2004/03/17 13:09:07 UTC

How to use checked in html strut

 
Dear all, 
 
i want to use 
     <input type="checkbox" name="active" value="1" <%=(
appraiser.getActive()).equals("1") )?" checked ":""%>> Yes</td>
 
in strut html like 

    <html:checkbox name="AppraiserForm" property="active" value="1" />

but until now, i can find how to solve this problem ..... 

the goal is ... if the value in active is 1, i want the check box is
check .....

thank's for your help

 

best regard

irwan

 

 "Life Is Study"

Learn Every Thing

Every Time Every Where

 

 

Irwan Wijaya

Advance Innovations

PT. Adicipta Inovasi Teknologi

Graha Inovasi Lt. 3

Jl. Panjang No. 28

Jakarta, 11530

Ph  : +62-21-533 2112

Fax : +62-21-536 0808

http://www.ad-ins.com <http://www.ad-ins.com/> 

 

Re: How to use checked in html strut

Posted by as as <sa...@yahoo.com>.
Hi,
 
Have you tried to use html:multibox....

Irwan Wijaya <Ir...@ad-ins.com> wrote:
 
Dear all, 
 
i want to use 
     <input type="checkbox" name="active" value="1" <%=( appraiser.getActive()).equals("1") )?" checked ":""%>> Yes</td>
 
in strut html like 

    <html:checkbox name="AppraiserForm" property="active" value="1" />

but until now, i can find how to solve this problem ..... 

the goal is ... if the value in active is 1, i want the check box is check .....

thank's for your help

 

best regard

irwan


 "Life Is Study"

Learn Every Thing

Every Time Every Where

 

 

Irwan Wijaya

Advance Innovations

PT. Adicipta Inovasi Teknologi

Graha Inovasi Lt. 3

Jl. Panjang No. 28

Jakarta, 11530



Ph  : +62-21-533 2112

Fax : +62-21-536 0808

http://www.ad-ins.com
 

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam