4
votes
2answers
6k views

Resolving spring:messages in javascript for i18n internationalization

I'm attempting to internationalize some of our code. I have a page in JSPX which is using the <spring:message> tag to resolve strings from a message.properties file. This works fine for the HTML ...
2
votes
1answer
4k views

AJAX - Get response URL after redirect

I was wondering if there is a way to get the URL of the returned resource after a AJAX call in JavaScript? I want to use this with a form, which is in "mysite.com/users/add.html". This is a Spring ...
0
votes
3answers
1k views

getting a spring model attribute list element using an index from javascript

Sorry if this has been asked somewhere else, but I have looked all around, found some answers, but not a complete example and I am still in doubts on this one. So, I am adding an Autopopulating list ...
0
votes
3answers
1k views

Remove selected event from the Calendar

I am using JQuery Full Calendar along with Spring MVC. Hello, I have made a demo like that. Target: I need when the user clicks on an event s/he already inserted,a dialog box appears and gives ...
5
votes
2answers
4k views

Dynamic Forms in Spring

I am trying to make a dynamic form using Spring forms. Basically, the form gets a title of learning activity and then there's the a button below it that says, "Add one more Learning Activity". This ...
4
votes
1answer
5k views

@RequestBody Sent Through Spring MVC JSON Jackson Processor

I have read some many similiar problems inlcluding: JQuery, Spring MVC @RequestBody and JSON - making it work together ...
1
vote
1answer
550 views

Reverse ajax using DeferredResult of Spring 3.2.0.RELEASE. Not working in IE

I am trying to create a demo of Group Chat using reverse ajax in Spring. I am using Spring 3.2.0.RELEASE version. I am using DeferredResult to perform reverse ajax in my controller. Following is the ...
1
vote
1answer
941 views

Get user login status on Facebook by real time

This question is related to another question of mine: How to know if a user log out of Facebook, FB.Event.Subscribe not work In that question, I tried to get a call back event when the users log out ...
4
votes
2answers
5k views

STS Spring MVC: How to include a JS file in a JSP

I installed SpringSource Tool Suite 2.8.0. I'm trying to include a JS file in a JSP, using the Spring MVC template as a starting point. My JSP looks like this: <%@ taglib ...
3
votes
2answers
2k views

How to send js array in Ajax

I have created a JS array like this var detailsArr = new Array(); and pushing some data into this array. Now i push this array via Ajax to my Spring Controller like this $.ajax({ type: ...
2
votes
1answer
1k views

How to load data asynchronously using AngularJS with SpringMVC?

I've new to AngularJS and is stuck wondering about the best way to approach the following situation: 1. I need to show rows of data for the last 30 days. (default option) How I'm doing it: When the ...
1
vote
2answers
775 views

How to know if a user log out of Facebook, FB.Event.Subscribe not work

In my application, I need to catch the event of user log out of their Facebook while using my application, to force they login again. I have look through getLoginStatus JS API and FB.Event.subscribe . ...
0
votes
1answer
974 views

Spring - login page to have terms and condition page (using Javascript)

In my web application, I am using Spring MVC. I have the default login page that spring MVC uses. In my login page I need to have a checkbox. While logging in, the user must enable the checkbox and ...
3
votes
1answer
1k views

post json to spring mvc controller

Controller signature (I have tried as requestbody as well) : @RequestMapping(value = "/Lame", method = RequestMethod.POST) public @ResponseBody boolean getLame(@RequestParam String strToMatchA, ...
3
votes
1answer
1k views

Return @Async method result in Spring MVC and return it to Ajax client

I Have some method inside my Controller which executes @Async task @Async public Future<String> getResultFromServer(){ String result = ...... return new ...

1 2
15 30 50 per page