myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Re: Modifying XHTML through a filter
Date Fri, 27 Apr 2007 13:29:36 GMT
Rudi,

The Tomahawk Extensions filter does something similar -- it modifies
the generated html.   I'd recommend using it as a model for changing
the generated xhtml.

On 4/27/07, Rudi Steiner <rudi.steiner@googlemail.com> wrote:
> Hi,
>
> I have still the problem with the generated XHTML from myFaces. I
> reduced my app to a few basic mechanisms, but this basic mechanisms
> must produce XHTML strict. To achieve this, i would like to wirte a
> filter, which makes light modifications of the generated markup, just
> to  satisfy the validator. For example, I would surround a hidden
> field, generated by myFaces with a <div/>-Tag.
>
> Could anyone please give me a hint how to achieve this. I tried it
> with regular expressions but I think, it is not possible to work with
> RE on OutputStreams.
>
> Thank you,
> Rudi
>

Mime
View raw message