capture the output of a logic:iterate and place it in the URI of an html:link forward

2003-12-23 Thread Mike R. Phelan
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

Re: capture the output of a logic:iterate and place it in the URI of an html:link forward

2003-12-23 Thread Kris Schneider
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

Re: capture the output of a logic:iterate and place it in the URI of an html:link forward

2003-12-23 Thread James Mitchell
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