Hi Lukasz,
Yes indeed, JSON plugin is all I need, thanks !
In case anyone else experiencing the same issue, this is what I did
In AngularJS
CustomerService.save({customer:$scope.newCustomer});
You could also do
$http.post('customer/add', {customer:$scope.newCustomer}).success().error();
Angu
Yeah... basically conversion isn't needed in that case ;-)
2014-11-20 15:32 GMT+01:00 JOSE L MARTINEZ-AVIAL :
> I jsut used the annotation:
> private String parameterArray[] = null;
> @TypeConversion(rule= ConversionRule.COLLECTION, type =
> ConversionType.CLASS, converter = "com.xxx.y
I jsut used the annotation:
private String parameterArray[] = null;
@TypeConversion(rule= ConversionRule.COLLECTION, type =
ConversionType.CLASS, converter = "com.xxx.yyy.util.conversion.
struts2.JSoupConversor")
public void setParameterArray(String parameterArray[]) {
this.
How did you register it?
2014-11-19 12:55 GMT+01:00 JOSE L MARTINEZ-AVIAL :
> Quick question here. I'm working on the approach to use a custom conversor.
> It works fine for standard parameters (Just a String), but I'm having
> issues when the getter receives a String[] parameters
>
> private
2014-11-19 11:20 GMT+01:00 foo bar :
> Hi,
>
> Thanks for the prompt reply, I'll have a look at the Struts2 AngularJS
> archetype
> But I meant AngularJS interceptor (
> https://docs.angularjs.org/api/ng/service/$http) which is still client
> side, AngularJS interceptor is meant to intercept {name:
5 matches
Mail list logo