I have an iterate tag and the body of this tag prints out a link to forward.
I need to pass multiple parameters to the link one of which is a property of
the current bean in the iteration.  
I tried doing the following :

<%
    java.util.HashMap args = new java.util.HashMap(2); 
    args.put("adjType", "send");
%>    
  
<logic:iterate id="result" name="searchadjustments" property="results"
scope="session" offset="<%=fromRecord%>" length="20">
<% 
    args.put("adjId",
((com.tfp.adjustments.search.AdjustmentSummaryBean)result).getAdjid());
%>
 <tr<%=(oddRow=!oddRow)?odd:""%>>  
  <td>&nbsp;&nbsp;<html:link forward="getAdjustment" name="args"
scope="page"><bean:write name="result" property="senderRef"
filter="true"/></html:link>&nbsp;</td>
 </tr>
</logic:iterate>

I get the error:
javax.servlet.ServletException: Cannot find bean args in scope page 


How can I make the HashMap accessible to the link tag or is there a better
way to do this?


Kimberly MacKellar
Thomson Financial Publishing
[EMAIL PROTECTED]


Reply via email to