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:[email protected] <javascript:>, [email protected] <javascript:>"
> target="_blank" title="Send Email">[email protected] <javascript:>,
> [email protected]<javascript:>
> </a>
>
> my expectation is
> <a href="mailto:[email protected] <javascript:>" target="_blank" title="Send
> Email">[email protected] <javascript:></a>
> ,
> <a href="mailto:[email protected] <javascript:>" target="_blank" title="Send
> Email">[email protected] <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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.