I have a web app that performs a search and returns the results in a Java Collection.  
I then use logic:iterate to display the returned results.  What I would like to add, 
though, is the ability to edit the returned results.
 
I have an ActionServlet that does security checking and such, and a parameter is 
passed in to specify the action to take.  For example, the url would look like:  
http://mypage/mycontroller?action=new or http://mypage/mycontroller?action=edit.  My 
question is, how can I iterate through my returned results and create html:links that 
result in urls that look like this:  http://mypage/mycontroller?action=edit&id=12345?
 
I know html:link has parameter properties, but those seem to specify only one 
parameter.  In my case, I need to specify 2 (the value for action and the value for 
id), one of which is dynamic depending on the search results.  Any advice?
 
Thanks in advance!
Steve Nakhla


---------------------------------
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

Reply via email to