You *should* be able to do exactly that.  The type attribute of the <logic:iterate> 
identifies the type of object you'll have in the iteration that you have said you'll 
call company (via the id attribute).  So in the JSP you should be able to say:

  map.put("company", company.getId());

Does this give you a problem?

Sri

-----Original Message-----
From: Darren Hill [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 20, 2002 4:35 PM
To: 'Struts Users Mailing List'
Subject: Please help ...


Here's what I got .. 

<logic:iterate id="company" name="company_list" type="blah..CompanyView">
     <%
      HashMap map = new HashMap();
      map.put("company","COMPANYID");
      map.put("method","view");
      pageContext.setAttribute("map", map, PageContext.PAGE_SCOPE);
     %>
     <html:link page="/companyDetails.do" name="map"> </logic:iterate>

except I want to place the company.getId() in replace of "COMPANYID".

Please help.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to