cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Improving (?) the RequestGenerator
Date Sat, 19 Jul 2003 07:34:29 GMT

On Friday, Jul 18, 2003, at 04:01 America/Guayaquil, Guido Casper wrote:

> Hi all,
>
> I want to extend RequestGenerator so that request parameters which 
> names
> start with "html:" are parsed (very much like it already parses request
> parameters which names start with xml:" see:
> http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=105174146229060&w=2 ) 
> but
> with JTidy.
>
> This would allow easy integration of HTML editors like "htmlArea"
> http://sourceforge.net/projects/itools-htmlarea/
> into the sitemap.
>
> I already submitted a patch to bugzilla.
> I'm however unsure where this RequestGenerator should go since it has a
> dependancy on JTidy. Maybe it should be renamed and go in the HTML 
> block
> besides the HTMLGenerator. But it doesn't really make sense to have 2
> RequestGenerators.
>
> Hope this will be useful for others as well.

I welcome the patch, but dislike the fact that RequestGenerator ends up 
being in a block.

What about HTMLRequestGenerator that extends RequestGenerator and put 
that into the block? (the xml: parsing is general enough to remain 
there, I think)

--
Stefano.


Mime
View raw message