This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:checkbox mapping" Watch "html:checkbox mapping" New topic

html:checkbox mapping

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9967

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

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
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.

Consultant, Sima Solutions
I agree. Here's the link:
subject: html:checkbox mapping
It's not a secret anymore!