File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes html:checkbox mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:checkbox mapping" Watch "html:checkbox mapping" New topic
Author

html:checkbox mapping

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

Can I map a <html:checkbox> to a non boolean value?


SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
You can, but if you have a group of related checkboxes each with a different value, it's better to use the <html:multibox> tag rather than <html:checkbox>. For more information, see the Struts Taglib documentation.


Merrill
Consultant, Sima Solutions
 
 
subject: html:checkbox mapping
 
Similar Threads
Check box in struts framework?
check box with html:checkbox
Struts checked checkbox
html:multibox
html:checkbox problem