[Plone-conosur] Más sendto_form

Hugo Salgado H. hsalgado en vulcano.cl
Mar Mar 20 21:25:53 UTC 2007


Algo así como reemplazar el tal:attributes acá

>                  <input type="text"
>                         id="send_from_address"
>                         name="send_from_address"
>                         size="25"
>                         tabindex=""
>                         tal:attributes="value python: 
> request.get('send_from_address', member.getProperty('fullname',''));
>                                         tabindex tabindex/next;"
>                         />

por

tal:attributes=" value python: request.get('send_from_address',
                                '"' + member.getProperty('fullname','') +
                                '" <' + member.getProperty('email','') +
                                '>' );
                  tabindex tabindex/next;"

No lo he testeado. Quizas hay que escapar las comillas...

Saludos,

Hugo




Más información sobre la lista de distribución Plone-ConoSur