Create OptimizedResponseWriter to move the non-standard-complieent stuff to
---------------------------------------------------------------------------
Key: TOBAGO-393
URL: https://issues.apache.org/jira/browse/TOBAGO-393
Project: MyFaces Tobago
Issue Type: Sub-task
Reporter: Udo Schnurpfeil
Assigned To: Udo Schnurpfeil
Fix For: 1.0.11
This is needed to make optimizations possible.
e.g. the id-,name-, class-attribute values are not needed to be HTML escaped.
But the interface ResponseWriter doesn't allow to write without closing the
startElement-tag.
The Tobago renderers may call
OptimizedResponseWriter writer =
HtmlRendererUtil.getOptimizedResponseWriter(facesContext);
to get a writer. The static method getOptimizedResponseWriter() may return the
TobagoResponseWriter which implements the OptimizedResponseWriter or otherwize
return a wrapped object of the given ResponseWriter.
The new OptimizedResponseWriterWrapper class is not optimized, because of the
closing-of-the-startElement restriction.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.