Hi,

the HtmlResponseWriter from MyFaces does not render the comment end in a script section if other html elements are rendered in this script sections, like primefaces does in DataTable with columnFilter.

The DataTable renders e.g. input tags in the javascript part and therefore it uses the startElement of the ResponseWriter. This overrides the current startElement. So the end element of the script section can't remember it was a script and doesn't render the end comment (-->) before script end tag.

For me it looks like an issue or is it forbidden to render html tags in javascript section?

Thx, regards
Marcus


Reply via email to