I have scoured GoogleCode, GWT ShowCase, GWT Developer Notes, and Google Groups for some inkling as to how to get/set values of a CompositeCell. There is no one definitive
Could it be as simple as returning the EnergyOfferDTO
in your column instead of null
? (you might want to use an IdentityColumn
)
You say in a comment in your code that the composite cell will delegate to its cells, but it's the responsibility of the column to give the value to the composite cell in the first place, then the composite cell will call each HasCell
to extract the inner cell's value from the value passed to the composite cell.
As a side note, your composite cell's render
method shouldn't loop over the hasCells
list, it should simply call super.render(context, value, sb)
(of course still decorating it with your appendHtmlConstant
calls) which will do the job.