Hi all, I guess I'm missing something here, maybe a trival thing so bear with me please.;-)
I'm trying to extend the T5 grid / griddatasource for my requirements. For some event-handling in GridColumn I need to reference the field _model of type BeanModel which exists in the Grid-class from GridColumn. So I both extended Grid --> LazyConfigurableGrid and GridColumns --> LazyGridColumns. next,I supplied field _model as a parameter from the gridclass to the gridcolum-class. My problem: _model==null in GridColumn all the time. I guess this is some binding-thing that I can't quite get my head around. (_model == null on initialization of the component, but i thought it would be updated later on) The general question: how to pass objects by reference as parameters, since they always seem to be null. the relevant bits: LazyConfigurableGrid: ------------ @Parameter private BeanModel _model; @SuppressWarnings("unused") @Component(parameters = { "sortColumnId=sortColumnId", "sortAscending=sortAscending", "source=_source", "_model=_model" }) private LazyGridColumns _columns; LazyGridColumns: ------------ @Parameter private BeanModel _model; Thanks in advance, Geert-Jan -- View this message in context: http://www.nabble.com/-T5-%3A-binding-issue%3A--supplying-parameter-to-component---%3E-always-null-tf4530634.html#a12928987 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]