I've done this by adding a mixin to GridCell with a worker. The mixin can override the behavior of the component in various ways including dom rewriting.
I would not override the display blocks because there are a lot of them and a library could install more. On Mon, Jul 7, 2014 at 9:14 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 07 Jul 2014 10:48:48 -0300, Davide Vecchi <d...@amc.dk> wrote: > > I forgot to answer your question >> >> Another question: do you want to do this for >>> every column, regardless of the type of its value (String, Date, boolean, >>> etc) or not? If yes, then you may use Tapestry DOM rewriting. >>> >> >> The answer is actually yes, so I will look into Tapestry DOM rewriting. >> > > Actually, you can still override the display blocks for all types, but I'm > not sure that's a good idea. You'd probably need to implement parts of what > the out-of-the-box display blocks already do. > > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >