On Mon, 19 Dec 2011 09:04:30 -0200, Paulo Ricardo Ribeiro <paulo.rica...@gmail.com> wrote:

Hello,

Hi!

I'm trying to add a "Select All / Select None" button at the end (or top) of the grid.

I'll, probably create a mixin to do so, but, since i don't want to "reinvent the wheel", I'm wondering if there's a simple way to do it.

Just use

<table t:type="Grid" t:add="buttons" ...>

        <p:buttonsHeader>
                <!-- HTML for buttons header -->
        </p:buttonsHeader>

        <p:buttonsCell>
                <!-- HTML for the button column -->
        </p:buttonsCell>

</table>

--
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

Reply via email to