Hi all, I need to do an ajax refresh of a whole line of a table. On the left of the table there is a dropdown and when the selection is changed the other fields of the table should be refreshed accordingly.
So I have a column where the dropdown is defined and here I add an "onchange" behaviour where I should add the entire row to the ajax target. But in the populateItem of ICellPopulator I have no access to the rowItem. With this hack Object repeatingView = ReflectionUtil.getPrivateField(cellItem, "parent"); return (Item) ReflectionUtil.getPrivateField(repeatingView, "parent"); I can reach the rowItem and everything works perfectly. Now I was looking for a cleaner way to do this. The item I need is the one that is received from the populateItem(Item) of AbstractDataGridView so I could override this call super and add the tracking of the current rowItem making it available, as a field, in subsequent ICellPopulator.populateItem calls. Not very nice anyway. Do you have any suggestion? Could a getParent method added to cellItem to access to the rowItem it belongs to? Thanks, bye Lorenzo -- It has to start somewhere, It has to start sometime. What better place than here, what better time than now? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org