This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Struts and the fly likes Logic iterate problem 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 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Logic iterate problem" Watch "Logic iterate problem" New topic
Author

Logic iterate problem

sachinb mahajan
Greenhorn

Joined: Jun 30, 2006
Posts: 6
I am using logic iterate to generate select box on the screen.
The box gets populated with the options properly but I am unable to select a specific entry.
Here is the code



How can I select a specific entry in the list of options?
sachinb mahajan
Greenhorn

Joined: Jun 30, 2006
Posts: 6
Got the solution


Inside the logic iterate tag I can access individual value object with the help of id that I used in the logic iterate tag. I can check the desired value and programatically write an option with 'selected'
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logic iterate problem