[Seaside] Generating text with some magic anchor

Paul DeBruicker pdebruic at gmail.com
Mon May 7 16:47:48 UTC 2012


Does this cover what you want to do?

http://book.seaside.st/book/fundamentals/anchors/mailto-anchor



On 05/07/2012 09:43 AM, dtrussardi at tiscali.it wrote:
> Ciao,
>
> 	i need to rendering text based on fixed string but with some dynamic reference.
>
> 	For example a string with  anchor relative to href for email link :
>
> 			'Send  a e-mail to: ',  ...................... ' for exception.'
>
> 		where ................. i think it's a dynamic code for rendering the 	<a href="mailto:info at onsite.info</a>  <p>info-mail</p>
>
>
> 	I can generate it with specific 	renderContentOn: html
>
> 		html text: 'Send  a e-mail to: '.
>
> 		(html anchor)
> 			attributeAt: 'href' put: 'mailto:', info at onsite.info; with: 'e-mail'.
> 		html text: 'for exception.'
>
> 	but because i have some different text with some  link scattered  into self
>
> 	i'm interested to solve it with some magic reference when generating the text.
>
> 	I think something similar to:	    html withLineBreaks:  self text
>
> 	Anyone have any idea on how resolve, set  the question ?
>
> 	Thank,
> 		
> 		Dario
>
> 	
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list