You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by bu...@apache.org on 2004/08/22 19:21:39 UTC
DO NOT REPLY [Bug 30792] New: -
New methods in IMarkupWriter to better facilitate raw/not raw printing
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30792>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30792
New methods in IMarkupWriter to better facilitate raw/not raw printing
Summary: New methods in IMarkupWriter to better facilitate
raw/not raw printing
Product: Tapestry
Version: 3.0.1
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Framework
AssignedTo: tapestry-dev@jakarta.apache.org
ReportedBy: filip@stubkjaer-adamsen.dk
I'd like to propose the three following methods to be added to IMarkupWriter:
public void attribute(String name, String value, boolean raw);
public void print(char[] data, int offset, int length, boolean raw);
public void print(String value, boolean raw);
Each method would simply invoke <method>(...) or <method>Raw(...) respectively
depending on the raw parameter.
All changes are backwards-compatible, unless someone has chosen to implement
IMarkupWriter from scratch. This is unlikely, though.
The attached zip file contains patches for IMarkupWriter, AbstractMarkupWriter,
and NullWriter.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org