Hi folks,
I'm trying to add a parameter to a hyperlink, but I don't have direct access to the
value I want to use in the parameter. I don't have direct access because the value is
held within an ArrayList object, and only referenced with a logic:iterate call in a
JSP page.
I have thoroughly
How 'bout adding it as a request parameter instead of appending it?
TABLE
logic:iterate id=concur name=concur !-- concur contains the ArrayList --
TR
TDhtml:link forward=concurrence
paramId=projectName
paramName=concur
1. Do not use the same name for 'id' and 'name' in your iterate tag.
(I made it plural)
session.setAttribute(concurs, group.getConcurrencesList());
^^^
2. You can easily create a map for use with links or other tags like so:
jsp:useBean id=mapOfKeyValues
3 matches
Mail list logo