check again: there's no way mine and Anthony's last snippets generates a 
single A holding two addresses....

On Thursday, April 18, 2013 4:04:26 AM UTC+2, 黄祥 wrote:
>
> thank you so much for your hints niphlod and anthony, i've tried both of 
> your hints, but the result is not what i'm expected (no error occured)
> {{=SPAN(T('Email : '), XML(', '.join([A(email, _title=T('Send Email'), 
> _target='_blank',
>        _href='mailto:%s' % email).xml() for email in row.email])), 
> _id='email_%s' % i)}}
>
> {{=SPAN(T('Email : '), CAT([A(email, _title=T('Send Email'), 
> _target='_blank',
>        _href='mailto:%s' % email) for email in row.email]), _id='email_%s' 
> % i)}}
>
> the result in inspect elements :
> <a href="mailto:a...@a.com <javascript:>, b...@b.com <javascript:>" 
> target="_blank" title="Send Email">a...@a.com <javascript:>, 
> b...@b.com<javascript:>
> </a>
>
> my expectation is
> <a href="mailto:a...@a.com <javascript:>" target="_blank" title="Send 
> Email">a...@a.com <javascript:></a>
> , 
> <a href="mailto:b...@b.com <javascript:>" target="_blank" title="Send 
> Email">b...@b.com <javascript:></a>
>
> any idea how to accomplish it?
> thank you so much in advance
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to