*
The moose likes Struts and the fly likes checkbox with single item Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "checkbox with single item" Watch "checkbox with single item" New topic
Author

checkbox with single item

Devan Brahma
Ranch Hand

Joined: Jul 07, 2009
Posts: 46

Hi,
i'm using struts2 checkbox for selecting of items.I'm using iterator to populate items.And uses the checkbox name to find the length(number of the items).
I do that in the javascript.
Everything went okay but when i have only one item in the list the checkboxname.length doesn't return a value.
Can anyone Please help.
How can i do when the list has only one item?

Thanks,
devan


->R§H<-
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: checkbox with single item