You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Trond Albinussen <tr...@xangeli.com> on 2006/03/08 14:29:50 UTC

HTML generator with request-attribute

Is it possible to use HTML Generator with a request-attribute, like:

<map:match pattern="makeHTML">
   <map:generate type="tidy-html">
     <map:parameter name="form-name" 
value="{request-attribute:someString}"/>
   </map:generate>
   <map:serialize type="xml"/>
</map:match>
:

The docs says it should be possible:

"The html generator, however, can operate also on a request attribute or 
on a XML POST request"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: HTML generator with request-attribute

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi,

See: http://issues.apache.org/jira/browse/COCOON-1564

Best Regards,

Antonio Gallardo

Trond Albinussen wrote:

> Is it possible to use HTML Generator with a request-attribute, like:
>
> <map:match pattern="makeHTML">
>   <map:generate type="tidy-html">
>     <map:parameter name="form-name" 
> value="{request-attribute:someString}"/>
>   </map:generate>
>   <map:serialize type="xml"/>
> </map:match>
> :
>
> The docs says it should be possible:
>
> "The html generator, however, can operate also on a request attribute 
> or on a XML POST request"
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org