I need to use a editable label or inline-label in a ListView and after change the value of this component I want to know how I can Update the property of the Object displayed in this listView
add(new ListView[SomeObject]("listSomeObject", listData) { override protected def onBeforeRender() { ... super.onBeforeRender() } def populateItem(item: ListItem[SomeObject]) = { var objValue = item.getModelObject() item.add(new Label("total", objValue.toString(getFormatter()))) } } }) In the code above, the object SomeObject has a property called total, the listView shows a set of SomeObject, when the label total is changed in some line of the listview the corresponding object SomeObject should be updated with the new value of the label total. Someone can provide some useful example for help me with this task? Thanks Bruno Moura