Thanks for catching this.  I just sent a patch for review.
http://gwt-code-reviews.appspot.com/1070801
 <http://gwt-code-reviews.appspot.com/1070801>
Thanks,
John LaBanca
[email protected]


On Mon, Nov 1, 2010 at 10:49 AM, yves <[email protected]> wrote:

> In the meantime I made the change in a local copy of the file
> CellTreeNodeView.java and compiled it with my files.
> => It works as expected.
>
> The change I made is :
> replace the line
> cell.render(value, null, cellBuilder)
> by
> cell.render(value, key, cellBuilder)
>
> HTH
> Yves
>
> On 31 oct, 18:01, yves <[email protected]> wrote:
> > Hi,
> >
> > While developping a CellTree I found that the function render() in
> > class CellTreeNodeView.NodeCellList calls render() of the Cell object
> > always with a null value for the "key" parameter (cell.render(value,
> > null, cellBuilder)).
> >
> > Is it a bug or is it intended to be like that ?
> >
> > It would be usefull to dispatch the key value
> > (=keyProvider.getKey(value)) to the cells in the CellTree. As far as I
> > understand the code examples  that might be the aim of this
> > parameter ? Anyway that would be very usefull for me :-)
> >
> > Thanks for your comments
> > Yves
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to