The approach I use when I want to leverage another tags functionality is to nest the tag I want to use inside my own tag body. My own tag then processes the result of the other tag.
e.g. <mytags:sometag> <html:link/> </mytags:sometag> I don't know if this will help in your situation or not. Paul > -----Original Message----- > From: Renato Romano [mailto:[EMAIL PROTECTED] > Sent: 16 January 2004 11:37 > To: 'Struts Users Mailing List' > Subject: Ling Tag client > > > I'm trying to define a Tag that does some work, and defines a link to > some resource. To define this link I was trying to use the struts > <html:link> tag in this way: > > LinkTag linkTag = new LinkTag(); > linkTag.setPageContext(pageContext); > linkTag.setHref("http://myhost/mypage"); > linkTag.doStartTag(); > try > { > pageContext.getOut().print("Go to myHost"); > } > catch (IOException e) > { > e.printStackTrace(); > return SKIP_PAGE; > } > linkTag.doEndTag(); > return SKIP_BODY; > > Is this the correct way to utilize an external Tag definition ?? > Thanks > > ____________________________________ > Renato Romano > Sistemi e Telematica S.p.A. > Calata Grazie - Vial Al Molo Giano > 16127 - GENOVA > > e-mail: [EMAIL PROTECTED] > Tel.: 010 2712603 > _____________________________________ > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ************************************** Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my Company or employer unless otherwise indicated by an authorised representative independent of this message. WARNING: While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via electronic mail attachments we cannot guarantee that attachments do not contain computer virus code. You are therefore strongly advised to undertake anti virus checks prior to accessing the attachment to this electronic mail. Axios Systems Ltd grants no warranties regarding performance use or quality of any attachment and undertakes no liability for loss or damage howsoever caused. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]