Re: Using a checkbox in a grid component

2011-12-19 Thread Paulo Ricardo Ribeiro
Olá Thiago :) and Hello Antalk I've just looked to the demo, and it appears to be exactly what I'm looking for. Thank you both for your help Cheers, (e um abraço :)) Paulo Ricardo On Mon, Dec 19, 2011 at 11:38 AM, antalk [via Tapestry] < ml-node+s1045711n5085856...@n5.nabble.com> wrote: > You

Re: Using a checkbox in a grid component

2011-12-19 Thread antalk
You could checkout my Tapestry Module : Weaves, it has a 'improved' grid component with paging and checkboxes per row and also a 'checkall' box. See: http://intercommitweavesdemo.intercommit.cloudbees.net/pagedgriddemo for demo And: https://github.com/intercommit/Weaves for code -- View this m

Re: Using a checkbox in a grid component

2011-12-19 Thread Thiago H. de Paula Figueiredo
On Mon, 19 Dec 2011 09:04:30 -0200, Paulo Ricardo Ribeiro 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 simpl

Re: Using a checkbox in a grid component

2011-12-19 Thread Paulo Ricardo Ribeiro
Hello, 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. Cheers, Paulo Ricardo -- View this message in context: http://t

Re: Using a checkbox in a grid component

2009-08-11 Thread Geoff Callender
Here's a working example of a similar technique. http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/tables/gridwithdeletecolumn1 HTH, Geoff On 11/08/2009, at 7:24 PM, Alfie Kirkpatrick wrote: As Sebastian points out if the boolean selected field is part of your pojo it i

RE: Using a checkbox in a grid component

2009-08-11 Thread Alfie Kirkpatrick
As Sebastian points out if the boolean selected field is part of your pojo it is trivial to bind this to a checkbox in the grid. This was my initial approach for simplicity but in my case the pojos were Hibernate entities and I didn't want this field to be persisted or to clutter up the entity as a

Re: Using a checkbox in a grid component

2009-08-10 Thread Thiago H. de Paula Figueiredo
Em Mon, 10 Aug 2009 21:42:56 -0300, Scot Mcphee escreveu: BTW Is there any effective difference in using the name="propertynameCell"> style versus the style of controlling the cell render? No difference. was the first syntax provided. The is the new one, added in 5.1.0.x. -- Thiago

Re: Using a checkbox in a grid component

2009-08-10 Thread Scot Mcphee
On 10/08/2009, at 23:22 , raucha wrote: You might not even need any chenillekit on this. I use: Yes indeed. In the end I got this to work Which is remarkably similar to what I had in the first place. So I don't really know what I did wrong in the first ins

Re: Using a checkbox in a grid component

2009-08-10 Thread raucha
You might not even need any chenillekit on this. I use: Sebastian Hennebrueder wrote: > > Scot Mcphee schrieb: >> Hello >> >> Does any one have a short recipe how to use a checkbox in a grid >> component? >> >> What I need to do is fairly simple - let the use select (for example) >> t

Re: Using a checkbox in a grid component

2009-08-10 Thread Sebastian Hennebrueder
Scot Mcphee schrieb: Hello Does any one have a short recipe how to use a checkbox in a grid component? What I need to do is fairly simple - let the use select (for example) three of five available options presented in a grid component, and submit their selections, which are then processed. A