...
...
...
On Fri, Nov 21, 2014 at 3:30 PM, Peter Björkman wrote:
> I'm in the exact same situation, but I'm having problems getting the Json
> interceptor to work - my config can't find the interceptor. Result type
> "json" works fine, so I thought it should be available. Coul
I'm in the exact same situation, but I'm having problems getting the Json
interceptor to work - my config can't find the interceptor. Result type
"json" works fine, so I thought it should be available. Could you give an
example of your config so that I can check if I'm missing something obvious?
R
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
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:
> Date: Wed, 19 Nov 2014 17:20:00 +0700
> Subject: Re: Struts2 with AngularJS
> From: linut...@gmail.com
> To: user@struts.apache.org
>
> Hi,
>
> Thanks for the prompt reply, I'll have a look at the Struts2 AngularJS
> archetype
> But I me
> Date: Wed, 19 Nov 2014 17:20:00 +0700
> Subject: Re: Struts2 with AngularJS
> From: linut...@gmail.com
> To: user@struts.apache.org
>
> Hi,
>
> Thanks for the prompt reply, I'll have a look at the Struts2 AngularJS
> archetype
> But I me
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:"abc",address:"abc"}
and change it to {customer:{n
2014-11-19 9:51 GMT+01:00 foo bar :
> Hi guys,
>
> I'm currently looking into ease of development of using AngularJS with
> Struts2.
> I'm wondering what is the best practice in general
> ie. AngularJS with $resource or $http, Struts2 with what plugin ?
> Is the REST + convention plugin a must to s
8 matches
Mail list logo