Re: How to persist a list of items in a domain service

2014-11-03 Thread Dan Haywood
On 1 November 2014 19:26, Gabriel Malimpensa ggmalimpe...@gmail.com wrote: Good afternoon. I am trying to create a domain service with a method to finish a purchase. So, I have to set in the purchase a list of items, and I don't know how I do this. I imagine the interface with a field to

How to persist a list of items in a domain service

2014-11-01 Thread Gabriel Malimpensa
Good afternoon. I am trying to create a domain service with a method to finish a purchase. So, I have to set in the purchase a list of items, and I don't know how I do this. I imagine the interface with a field to find items and a table or a list showing the selected items by the user. Any tips?

Re: How to persist a list of items in a domain service

2014-11-01 Thread Martin Grigorov
Hi, Are you aware of DomainObjectContainer ? See http://isis.apache.org/reference/DomainObjectContainer.html and all links in Object management section at http://isis.apache.org/documentation.html Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Sat, Nov 1, 2014

Re: How to persist a list of items in a domain service

2014-11-01 Thread Gabriel Malimpensa
Yes, I am aware of this. My doubt is how to create a form to persist an entity like the others, but I need to persist such entity with a list of items. My example is: an entity Purchase and many entities PurchaseItem. I need that Isis renders a list or a table, something like this. I don't know