Thanks Cedric, It worked a treat.
Martin -----Original Message----- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 09:52 To: Struts Users Mailing List Subject: Re: How to tell if a parameter has been defined in a tiles definition Hello, Import Tiles attribute in page scope and then use struts logic taglib ;-) : <tiles:importAttribute name="linkName" ignore="true" /> <logic:present name="linkName"> <a href=<tiles:getAsString name='linkName'/>>Something</a> </logic:present> Cedric "Denham, Martin" wrote: > Hi, > > I am using Tiles and Struts. Is it possible to check to see if a tiles > parameter has been defined within a jsp. > > I want to do something like: > <tiles:existsParameter name="linkName"> > <a href=<tiles:getAsString name='linkName'/>>Something</a> > </tiles:existsParameter> > but obviously tiles:existsParameter is not valid. > > What is the normal approach to something like this? > > Thanks in advance. > > Regards > > Martin Denham > > work: 020 7420 5096 > e-mail: [EMAIL PROTECTED] > web: http://www.virgin-energy.co.uk > > Virgin Energy IT > LE Group > 62-70 Shorts Gardens > London > WC2H 9AH > > ________________________________________________________________________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ________________________________________________________________________ > > -- > 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]> ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

