cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mvalencia <>
Subject Re: problem encoding using SendMailTransformer
Date Wed, 06 Oct 2010 15:26:15 GMT

This is the matches:

<map:match pattern="correopresidente.xml">
  <map:act type="validator">
    <map:parameter name="descriptor"
    <map:parameter name="validate-set" value="form-correo-presidente" />
    <map:generate src="{global:conectorXmlPath}propmail.xml" />
    <map:transform src="{global:conectorXslPath}constcorreopresidente.xsl">
      <map:parameter name="nombre" value="{request-param:id_nombre}" />
      <map:parameter name="apellido" value="{request-param:id_apellidos}" />
      <map:parameter name="correo" value="{request-param:id_correo}" />
      <map:parameter name="asunto" value="{request-param:id_asunto}" />
      <map:parameter name="cuerpo" value="{request-param:id_cuerpo}" />
    <map:transform type="sendmail" />
    <map:serialize type="xml" />                 
  <map:transform type="formTrans" />
  <map:serialize type="xml" />           

I comment transform "constcorreopresidente" y I put the value of field
direct on file propmail.xml and the sendmail works OK. I change serializer
to different charset but the problem isn't there.
I think the problem is when the data are received on transform
"constcorreopresidente" with request-param, because the program jump to
sendmail (It is a class that extend from AbstractSAXTransformer, really is
@version $Id: 607381 2007-12-29 05:42:58Z
vgritsenko) then the field body has lost the encoding.

However I come back to do the test that you tell me.
View this message in context:
Sent from the Cocoon - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message