[Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad)
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Mon Feb 4 09:34:55 GMT 2013
Ahh - mails overlapped. I think I wrapped it in the engine because for some reason you can't write code in xerte that works, hence the wrapper function. There are a few classes that for some reason can't be used by the interpreted script, I think that might be one of them,
-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 04 February 2013 09:29
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Regarding sendAndLoadVars (or is it sendAndLoad)
Thanks Pat,
Should have thought of that myself. The function sendAndLoadVars is in the Engine. That also explains my confusion about sendAndLoadVars and sendAndLoad.
Still not sure if it should work in preview though.
Tom
Op 4-2-2013 9:41, Pat @ Pgogy schreef:
> Hello,
>
> Savefile() does a send and load and that's in the wizard.
>
> Not sure if cross domain kicks in re security
>
> Why not code a generic post URL function into the wizard? In fact there might be one? How does the RSS page work?
>
> Pgogy Webstuff - http://www.pgogywebstuff.com Makers of web things of
> a fair to middling quality
>
> On 4 Feb 2013, at 07:32, Tom Reijnders <reijnders at tor.nl> wrote:
>
>> L.S.,
>>
>> I am trying to save some data from a Xerte LO into MySQL through php. And I know you are supposed to do that with sendAndLoadVars (or is sendAndLoad). But whatever I do, I can't get it to work.
>>
>> 1. Which of the two is it sendAndLoadVars or sendAndLoad, I am confused.
>> 2. What is the object to use when you call sendAndLoadVars .
>> 3. Should it work in Xerte standalone from preview, or will this only work after publishing and viewing the LO through a browser.
>>
>> Regards,
>>
>> Tom
>>
>> --
>> --
>>
>> Tom Reijnders
>> TOR Informatica
>> Chopinlaan 27
>> 5242HM Rosmalen
>> Tel: 073 5226191
>> Fax: 073 5226196
>>
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>> 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-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 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.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
More information about the Xerte-dev
mailing list