Revision history [back]

click to hide/show revision 1
initial version

answered 2016-12-28 04:14:12 +0800

cor3000 gravatar image cor3000

This smalltalk contains an example using a form proxy around a more complex Order-object that contains a Basket-object with a collection of BasketItems.

It is rendered in basket.zul. The collection of basketItems is wrapped into a live-ListModelList in the BasketViewModel. To enable simple adding/removing of items using the List add/remove functions and have automatic UI updates by using a ListModel implementation.

This smalltalk contains an example using a form proxy around a more complex Order-object that contains a Basket-object with a collection of BasketItems.

It is rendered in basket.zul. The collection of basketItems is wrapped into a live-ListModelList in the BasketViewModel. To enable simple adding/removing of items using the List add/remove functions and have automatic UI updates by using a ListModel implementation.

As mentioned before there multiple ways to implement such behavior so don't take this as the ONLY way you can do this.

This smalltalk contains an example using a form proxy around a more complex Order-object that contains a Basket-object with a collection of BasketItems.

It is rendered in basket.zul. The collection of basketItems is wrapped into a live-ListModelList in the BasketViewModel. To enable simple adding/removing of items using the List add/remove functions and have automatic UI updates by using a ListModel implementation.

As mentioned before there multiple ways to implement such behavior so don't take this as the ONLY way you can to do this.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More