Am Montag, 12. September 2005 11:13 schrieb 
[EMAIL PROTECTED]:
> You can use this config in your web.xml, there should be no JavaScript...

Thanks for your hint about how to suppress JavaScript output using context 
parameters. This may work, but I still think, that MyFaces violates the JSF 
specification:

The method ViewTag.doAfterBody() (of the core view action) explicitely depends 
on the HTML RenderKit -- at least for client side state saving. As far as I 
understand chapter 9.4, this is a violation of the spec, or is it not?

Chapter 9.4 states: "All JSF implementations must provide a tag library 
containing core actions that are independent of a particular RenderKit." 

Using a RenderKit for some markup different from HTML, this code in the method 
will not work. I don't know how much harm it does, though (yet). But I would 
guess, that client side state saving should not work for a different 
RenderKit.

P.S. I am referring to the nightly built from 20050812. I don't know whether 
the code has been changed in the meantime.

Regards,

Andreas Schenk

Reply via email to