Ok, then i can pass the object json and the server gets the parameter to be serialized?
________________________________________ De: Dan Haywood <[email protected]> Enviado: domingo, 17 de abril de 2016 07:54 a. m. Para: users Asunto: Re: list parameters Yeah, actions with list parameters aren't yet supported in the Isis metamodel, so therefore not in the Wicket viewer nor the REST API. The best workaround I can give you is to define your own data structure, eg a json list or XML document, serialize this to a string, and define an action that takes that string. You can use things like bookmarks ("com.mycompany.myapp.Customer:1") as a way to pass references to objects around; the BookmarkService can be used to create/consume these. HTH Dan On 15 April 2016 at 19:24, Arturo Ulises Castañeda Estrada < [email protected]> wrote: > Hi Dan > > > I'm trying to pass an list as parameter to a method for consume in a WS > but i get the error that does not support list as parameter. > > > org.apache.isis.core.commons.exceptions.UnknownTypeException: collections > not supported as parameters: > domainapp.dom.simple.sequence.SequenceItemRepository#addItemsToSequence(domainapp.dom.simple.sequence.Sequence,java.util.List) > > > What can i do to set an list instead of iterate object by object for > persist? >
