Hi Petr,
In this moment I can't check but for 100% I couldn't find it in other place then only here (this is not my project, I make some improvements).
Can you advise.
Thanks
Regerds,
Rafal
Dnia 6-09-2012 o godz. 17:32 Petr MartinĂĄk napisał(a):
Hi,
Do you have myHostPersonAdd defined somewhere in your page?
Petr
On Thu, Sep 6, 2012 at 3:45 PM, Rafał Laczek <[email protected]> wrote:
Hi,
In application I’m working in there is _javascript_ where we can add new person.
There is something wrong with url. When I try to save user I get on the console following error:
ReferenceError: myHostPersonAdd is not defined
Can you have a look for addPerson function and maybe advise what is wrong here.
Thanks
Regards,
Rafal
function addPerson() {
var personjson = '{\".... \"}';
Ext.Ajax.defaultHeaders = { 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8' };
Ext.Ajax.request({
url: myHostPersonAdd+'&jsond='+personjson,
method: 'GET',
--
You received this message because you are subscribed to the Google Groups "JPassion.com: Spring Framework Programming" group.
To unsubscribe from this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jpassion_spring?hl=en-US.
--
You received this message because you are subscribed to the Google Groups "JPassion.com: Spring Framework Programming" group.
To unsubscribe from this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jpassion_spring?hl=en-US.
--
You received this message because you are subscribed to the Google Groups "JPassion.com: Web Programming Basics" group.
To unsubscribe from this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jpassion_web?hl=en-US.
