On Fri, 21 May 2010 06:44:28 -0300, Łukasz Jazgar
wrote:
Now I know that RenderQueue is not a queue but stack (!!!).
It's a queue rendering a stack of components, so the ordering is a little
tricky, but it's still a queue. :)
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tap
2010/5/20 Thiago H. de Paula Figueiredo
>
> The issue here is how to render something after you render the block. I
> guess you need to implement it as a RenderCommand. It receives the render
> queue (RenderQueue instance), so you can add more RenderCommands to it. To
> render a Block inside a Re
On Thu, 20 May 2010 18:15:03 -0300, Łukasz Jazgar
wrote:
I need something like that:
void afterRender(MarkupWriter writer) {
writer.element("div"); // <-- This is only simple example. In
real, I
need more complex container.
// <-- here write block to writer. How to do this?
2010/5/20 Thiago H. de Paula Figueiredo
> On Thu, 20 May 2010 16:18:37 -0300, Łukasz Jazgar
> wrote:
>
> Is it possible to render Block directly into MarkupWriter?
>>
>
> Just return it (Block, Component, RenderCommand) in a method that handles
> some component rendering event.
>
> But I need to
On Thu, 20 May 2010 16:18:37 -0300, Łukasz Jazgar
wrote:
Hi
Hi!
Is it possible to render Block directly into MarkupWriter?
Just return it (Block, Component, RenderCommand) in a method that handles
some component rendering event.
How should I write afterRender method of my mixin?
Hi
Is it possible to render Block directly into MarkupWriter?
What I want to do?
I'm writing mixin which adds after original component some html tags filled
with body of Block passed by parameter.
Example. I need such a template:
My link
Body of Block
to produce such a html:
My