Hi,

I dunno if this will work in your case, but you could render the
Ribbon *after* everything else so it all renders smoothly. Then in an
afterRender() (in the Layout or a mixin attached to it) use the T5 DOM
to move the Ribbon Div to the top of the page.

Steve.
-------------------------------
"If at first you don't succeed,
   so much for skydiving!"




On 17 February 2012 20:39, Thiago H. de Paula Figueiredo
<thiag...@gmail.com> wrote:
> On Fri, 17 Feb 2012 10:15:14 -0200, antalk <ant...@intercommit.nl> wrote:
>
>> As in : a mixin for the Layout component... which in turn is my mother of
>> all other page elements ?
>
>
> Yep!
>
>
>> Any more tips / code ? As i'm not sure how to approach this..
>
>
> Learning about mixins in Tapestry is something that will be very useful to
> you. Your mixin will have an afterRender(MarkupWriter writer) method that
> will do all this logic and HTML generation your component is doing, but
> without using a template.
>
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and
> instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to