Re: Grid / sortable additionnal column

2010-04-28 Thread Claude Dubois
ass getPropertyType() { >         return String.class; >     } > >     public void set(Object instance, Object value) { >         Upload upload = (Upload) instance; >         upload.setName((String) value); >     } > > > } > -- View this message in context:

Re: Grid / sortable additionnal column

2009-07-01 Thread Francois Malet
oad upload = (Upload) instance;         upload.setName((String) value);     } } --- En date de : Mer 1.7.09, Thiago H. de Paula Figueiredo a écrit : De: Thiago H. de Paula Figueiredo Objet: Re: Grid / sortable additionnal column À: "Tapestry users" Date: Mercredi 1 Juillet 2009, 12h46

Re: Grid / sortable additionnal column

2009-07-01 Thread Thiago H. de Paula Figueiredo
On Wed, Jul 1, 2009 at 8:39 AM, Francois Malet wrote: > Hello, Hi! >        PropertyModel dModel= beanModel.add("download",null); The problem is here: Grid doesn't know how to get the download property (column) value to sort it, as you passed a null PropertyConduit to the add() method. You n

Grid / sortable additionnal column

2009-07-01 Thread Francois Malet
Hello, I use Tapestry 5.1.0.5 My goal is to add a column to a grid and to make it sortable. Of course, this column is not part of the grid datasource (otherwise I wouldn't need to add it). I have written a page based on example provided here: http://wiki.apache.org/tapestry/Tapestry5GridComponent