File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Head First Android this week in the Android 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
It's not a secret anymore!