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 <[EMAIL PROTECTED]> 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

