aspose file tools
The moose likes Struts and the fly likes checkbox with single item Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: checkbox with single item
 
Similar Threads
Checkbox items incombobox rendering
I want two buttons on a page, one for "search refine", one for "submit", how to do ?
Multiple Checkboxes in ListView
getting checkbox value even when unchecked
how to access java's Properties class in struts2