Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Logic iterate problem

 
sachinb mahajan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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'
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic