I tried what you have below and it works fine.

<a href="mailto:<bean:write name="result"  property="email"/>"><bean:write
name="result" property="manager"/></a>

Niall

> -----Original Message-----
> From: Jason Rosenblum [mailto:[EMAIL PROTECTED]]
> Sent: 19 June 2001 01:15
> To: '[EMAIL PROTECTED]'
> Subject: Creating a mailto within a <logic:iterate>
>
>
> Hi,
>
> I'm stuck on what seems like an easy task and I need some help!
> Here's my code:
>
> <!-- START LOOP -->
> <logic:iterate id="result" name="psrBean"
> property="projectByCriteria" scope="request">
>     <html:link page="/findByName.do" paramId="id"
> paramName="result" paramProperty="ID">
>     <bean:write name="result" property="name"/></html:link>
>     <bean:write name="result" property="shortDescription"/>
>     <a href="mailto:<bean:write name="result"
> property="email"/>"><bean:write name="result" property="manager"/></a>
> </logic:iterate>
> <!-- END LOOP -->
>
> I'm iterating through an array of beans returned by the property
> projectByCriteria of the psrBean bean. My problem is that I
> cannot get the email address to dynamically populate the <a
> href="mailto: ... >. There does not appear to be any tags that
> handle mailto's. I tried looking more closely at the <html:link>
> tag, but I haven't found anything to help me solve this problem.
> Any thoughts?
>
> ~Jason Rosenblum
>

Reply via email to