Re: Using view model as parameter in restful inteface

2017-10-31 Thread Vladimir Nišević
Hi Dan, thanks for your hints! We have solved it so that we pass single string parameter containing multiple strings concatanated by a special character. So we have built an custom marshaller/unmarshaller, guess similar to your second proposal. Vladimir Am 31.10.2017 07:52 schrieb "Dan Haywood" :

Re: Using view model as parameter in restful inteface

2017-10-30 Thread Dan Haywood
Hi Vladimir, Sorry no-one came back to you on this... did you find a solution? I have two ideas. First, since in this case the view model is basically just two lsts of strings, probably the REST API ought to be able to support actions with collections as parameters. I know that the Wicket viewe

Using view model as parameter in restful inteface

2017-10-05 Thread Vladimir Nišević
I must provide a REST service accepting more complex view model as input parameter. My view model parameter would look like @DomainObject(nature = Nature.VIEW_MODEL, objectType = "OfferTemplateFilter") @XmlRootElement(name = "OfferTemplateFilter") @XmlAccessorType(XmlAccessType.FIELD) @Getter @Se