Re: mailto in html:link

2003-08-20 Thread Adam Levine
I don't believe you can nest tags like that. If your custom tag is assigning something to a scripting variable, through the use of a TEI, use the struts html-el library, and then you can reference that variable in the html:link tag (in jstl syntax) ie myLib:myTag myScriptVar=id param1=foo/

Re: mailto in html:link

2003-08-20 Thread Mark Lowe
Given that you'll probably be able to do without url encoding on a mailto a href=mailto:yourtag:map name=it property=email /Hit me!!!/a On Wednesday, August 20, 2003, at 06:05 PM, Adam Levine wrote: I don't believe you can nest tags like that. If your custom tag is assigning something to a

RE: mailto in html:link

2003-08-20 Thread Witbeck, Shane
You cannot nest taglibs in this manner. I suggest using a regular a href/ tag and put your mytag in the href attribute. -Shane -Original Message- From: deepaksawdekar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 8:08 AM To: Struts Users Mailing List Subject: mailto in

Re: mailto in html:link

2003-08-20 Thread Joe Germuska
Before you get too far, note that you don't need to use html:link to render a mailto: link. html:link isn't there just because Struts wants to have a different tag for everything -- it's there to help keep links portable regardless of the servlet context name (and a few other things). If

RE: mailto in html:link

2003-08-20 Thread Robert Taylor
You cannot embedded a tag within a tag attribute value. You can solve this by using either scriplets or Struts-EL. % String mailto = // get value % html:link href=%=mailto%/html:link robert -Original Message- From: deepaksawdekar [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20,

RE: mailto in html:link

2003-08-20 Thread James Mitchell
Why aren't you just using a regular anchor for the outer link? a href=mailto:mytag:map name=it key=email//a -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: deepaksawdekar [mailto:[EMAIL