In my application, I have a simple function that is called from the launch()
function:
function makeAjaxCall(){
Ext.Ajax.request({
url: 'ajax/Hello!', // The request should be sent to host/ajax URL as an HTTP GET request
// and the server should respond with plain text `Hello!`
success: function(response){
prompt('Successful Ajax call!', response.responseText); // Custom prompting method
}
});
}
The issue I'm encountering is that this request doesn't appear to be made. It's not showing up in my Play framework server logs or in Google Chrome's network developer tab.
UPDATE:
The program also appears to be getting stuck at the Ext.Ajax.request
function.