Hello all,
I my MG Gesture (CF9) application I have a JQuery (v 1.5.1) Ajax call to the
ModelGlue RemotingService.cfc. It used to work fine until recently when I
decided to use SES Urls and I added the SESUrlManager in Coldspring. (
http://docs.model-glue.com/wiki/HowTos/HowToUseSearchEngineSafeUrls#SearchEngineSafeSESUrls
)
This is the Ajax code:
$.ajax({
url: "/RemotingService.cfc/method/executeEvent/returnFormat/json",
data: args,
success: function(data){
$("span#status_"+elementIndex).text(data.statusTitle);
},
dataType: "json",
type:"POST"
});
When the Ajax call fires I get an error:
Failed to load source from cache for:
http://ifactuur.local/RemotingService.cfc/method/executeEvent/returnFormat/json
As you can see the url is a SES URL, so that should work. The location (
http://ifactuur.local/RemotingService.cfc) hads not changes ands is correct,
I did not change the RemoteFacade. The data I send with the POST request is
complete and correct.
When I look in the Firebug NET console, under the POST tab,I see this line:
eventName=factuur.updatedateTimeVoldaan&returnValues=statusTitle&date=2011-07-15&invoiceId=49
Seems like this is the error since the URL is not in a SES format. I checked
by disabling the included SESUrlManager bean in Coldspring and then te call
works correct.
Is this a JQuery issue or am I overlooking something here?
Thanks,
Marc
--
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en