Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-210

New methods in IMarkupWriter to better facilitate raw/not raw printing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 3.0.1
    • 4.0
    • Framework
    • None
    • Operating System: All
      Platform: All
    • 30792

    Description

      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.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            filip@stubkjaer-adamsen.dk Filip S. Adamsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: