File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
Struts Iterator Query
create select list from lag library without using struts
Logic iterate problem
Struts and JSP
logic:match , logic:notEqual not working