I think you forgot the TableViewBooleanCellRenderer in your patch. It still
contains the following lines:
Dictionary<String, Object> rowData;
if (row instanceof Dictionary<?, ?>) {
rowData = (Dictionary<String, Object>)row;
} else {
rowData = new BeanAdapter(row);
}
Object cellData = rowData.get(columnName);
Dirk.
2010/12/20 Greg Brown <[email protected]>
> The default TableViewCellRenderer class was coded to expect the column name
> to be a property of the row itself, not a path to a nested property. I have
> updated it to use JSON.get() instead - this should allow your code to work.
> Let me know if you run into any problems.
>
> G
>
>
> On Dec 19, 2010, at 10:51 AM, Luiz Gustavo wrote:
>
> Hi,
>
> I have a class, that is referenced in tableView of a bxml file. I'd like to
> reference a property of an instance of this class, like this:
>
>
> <TableView.Column name="categoria.descricao" width="450"
> headerData="%clnDescricao"/>
>
>
> this is the class:
>
> public class CategoriaLancamentoWrapper{
>
> private CategoriaLancamento categoria;
> ...
> public CategoriaLancamento getCategoria() {
> return categoria;
> }
> ...
> }
>
>
> But it seems not to work. Is that possible?
>
>
> Cheers,
> Luiz Gustavo S. de Souza
>
> http://luizgustavoss.wordpress.com
> http://luizgustavoss.blogspot.com
> http://twitter.com/lugustso
>
>
>
--
Dirk Möbius
SCOOP Software GmbH
Am Kielshof 29
51105 Köln
Germany
Mobil: 0175 59 300 71
http://www.scoop-gmbh.de
Sitz der Gesellschaft: Köln
Handelsregister: Köln
Geschäftsführer: Dr. Oleg Balovnev, Frank Heinen, Roland Scheel, Dr.
Wolfgang Reddig