[Xerte] Re: xerte 2 desktop: SendandLoad

Dave Burnett d_b_burnett at hotmail.com
Tue Jun 14 01:10:16 BST 2011



Same here.
Think it's just the syntax highlighter not realizing it's a URL.
It will actually function as expected.

Date: Mon, 13 Jun 2011 15:08:35 -0700
From: Paul.Swanson at harlandfs.com
To: knowledgeware at kccsoft.com; xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: xerte 2 desktop: SendandLoad



It might be just the syntax highlighter going weird on you. Are you sure it doesn’t work with a full URL? What I do is set a variable to either http://localhost or my company’s actual domain, based on whether I’m in development or production mode.  // set domain variable depending on live being truelive = false;if (live) {    domain = 'http://training.harlandds.com';} else {        domain = 'http://localhost';} Then I use: domain + ‘/path/to/myscript.php’ for the URL when using sendAndLoad. From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of KnowledgeWare
Sent: Monday, June 13, 2011 2:49 PM
To: 'Xerte discussion list'
Subject: [Xerte] xerte 2 desktop: SendandLoad myData.sendAndLoad("email_test.asp", myData, "POST") Question: as soon as I put ‘http://’ etc into the line above it turns all to the right of // into a comment....so I’m assuming this is to prevent ugly cross domain stuff from happening? Is there any way I can include a full URL in lieu of ‘email_test.asp’ above (just to make testing this a heck of a lot easier?). ThanksRonM2


This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, 
copy or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.


This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110613/83468c9a/attachment.html>


More information about the Xerte mailing list