wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts 2 Select tag - dynamically add to the list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 Select tag - dynamically add to the list" Watch "Struts 2 Select tag - dynamically add to the list" New topic
Author

Struts 2 Select tag - dynamically add to the list

Ally Cavs
Ranch Hand

Joined: Aug 25, 2008
Posts: 89
I have an app that does photo uploads
For each photo that is uploaded, the name of the photo appears on the screen with a drop down box
The drop down box is a list numbers. The order of which ti show the pics

So for each file uploaded I want to increment each list for each dropdown box by one

This is how my dropdown boxes are decalred. In thinking of just using a text box now where the user can just type in the number
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Personally I'd use a sortable list, and there are a ton of JavaScript implementations out there.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 Select tag - dynamically add to the list