Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.2
    • Fix Version/s: 1.3
    • Component/s: Core
    • Labels:
      None

      Description

      In some cases components have to write to different parts of a page. With the current implementation you can only keep appending the page.
      I've attached a new class, with which it should be possible to add subsinks to which you can write at any time.

      Code might look like this

      baseSink.text("Hello World");
      Sink top = baseSink.addSink();
      baseSink.horizontalRule();
      Sink content = baseSink.addSink();
      baseSink.text("So long, farewell");
      

      After flushing the basesink, subsinks will flush to the basesink.
      Closing the basesink will close al subsinks as well.

        Attachments

        1. DOXIA-387.patch
          24 kB
          Robert Scholte
        2. DOXIA-387.patch
          19 kB
          Robert Scholte
        3. randomaccesssink.patch
          15 kB
          Robert Scholte

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              rfscholte Robert Scholte
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: