This week's book giveaway is in the Open Source forum.
We're giving away four copies of RabbitMQ in Depth and have Gavin Roy 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 RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Logic iterate problem" Watch "Logic iterate problem" New topic

Logic iterate problem

sachinb mahajan

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

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:
subject: Logic iterate problem