Thanks for the link but unfortunately that is not sufficient for the thing I want to do.
If I understand correctly the MessageWrapper component has the disadvantage that I have to know the number of replacements in the original text when writing the template. This is not the case here. Additionally it makes the html quite ugly. I actually think of something like InsertText with an additional parameter (lets say a String[] or a List) that parses the text that has been set as the value parameter for occurrences of some token and replaces the text with an <a href=... where the href value is taken from the String[] and the body of the tag from the original text. Thanks anyway for the quick response. Cheers, Detlef -----Original Message----- From: Ron Piterman [mailto:[EMAIL PROTECTED] Sent: 27 March 2006 18:53 To: tapestry-user@jakarta.apache.org Subject: Re: Hyperlinsk within InsertText take a look at the MessageWrapper component: www.tutim.net/jsrc/ Cheers, Ron PS - the 0.2 version has a nice undocumented feature: use the parameter asLabelFor="component:formComponent" to render as a label instead of as normal text. Detlef Schulze wrote: > Sorry, forgot to change the subject in the last mail and did not include stuff from anoter post ... Need some coffee .. > > > > > Hi, > > I have an InsertText component that displays some text. Problem is that the text should contain hyperlinks to external sites and pages within the site. > > Does a component that allows me to do this exist somewhere or do I have to roll my own? > > I am on tap 3. > > Cheers, > Detlef > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]