[Seaside] Generating text with some magic anchor

dtrussardi at tiscali.it dtrussardi at tiscali.it
Tue May 8 08:07:00 UTC 2012


Ciao Paul,

thank.
	
> Does this cover what you want to do?
> 
> http://book.seaside.st/book/fundamentals/anchors/mailto-anchor

This is a standard method do create a mailto-anchor.

But i'm interest to create a dynamic  text  with  some mailto-anchor on it.

I think to generate a text with something like:

	' This is my text with a master email link *info at onsite.com* 
		and some other e-mail link :

			office e-mail *office at onsite.com*
			direction e-mail *direction at onsite.com* '	

I think to use *...*  how in Pier links .

Now  in the text rendering phase, i'm  interested to create a specific  mailto-anchor when encounter *...... *

There is something that does it?

Some considerations?

	Thank,
		Dario




> 
> 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
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20120508/e3887499/attachment.htm


More information about the seaside mailing list