Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 5.3.2
    • Fix Version/s: None
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      I've seen several posts on the mailing lists asking for how to render blocks manually in pages/components.

      Had a use case in this issue: https://issues.apache.org/jira/browse/TAP5-1863

      Basically I tried with:
      --------
      RenderCommand renderCommand = (RenderCommand)alertBlock;
      MarkupWriter markupWriter = new MarkupWriterImpl();
      RenderQueueImpl renderQueue = new RenderQueueImpl(log);
      renderQueue.push(renderCommand);
      renderQueue.run(markupWriter);

      alertManager.info(markupWriter.toString());
      --------

      Don't know if it's the 'correct' way of doing things so requesting a service or a helper class available in core that does the job.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Magnus Kvalheim
            • Votes:
              7 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development