Cyclone3 Skin

XUL CMS Libraries

From Cyclone3 Wiki

(Difference between revisions)
Current revision (15:43, 1 June 2011) (edit) (undo)
 
Line 7: Line 7:
=UI=
=UI=
-
=SOAP=
+
=SOAP and network=
 +
 
 +
==soap_core.js==
 +
 
 +
This file contains basic functions to deal with SOAP messages, creates a global application pool of SOAP requests, manages incoming and outgoing SOAP calls. This also serves (the '''soapy''' object) as a replacement for the native SOAP API which was dropped in Firefox 3.6.
 +
 
 +
===soapy===
 +
 
 +
Replaces the low-level SOAP API from older, pre-3.6 versions of Firefox. Achieves SOAP functionality by using XMLHTTPRequests and building SOAP Envelopes around them.
 +
 
 +
===SOAPh===
 +
 
 +
Common usage:
 +
 
 +
me = this;
 +
 +
me.soapobject = new SOAPh();
 +
 +
me.fnc_onSOAPLoad = function(header, body, me) {
 +
alert('hey I got a SOAP reply!');
 +
}
 +
 +
 +
me.soapobject.fnc_onResponse = function(header,body) {
 +
me.fnc_onSOAPLoad(header,body,me)
 +
}
 +
 +
me.soapobject.fnc_create(
 +
'a401_article_update',
 +
{
 +
'ID': 1,
 +
'ID_category': 1,
 +
'article_attrs.name': 'new name'
 +
});
 +
}
 +
 +
 
 +
*'''fnc_create'''
 +
*'''fnc_onResponse'''
 +
 
 +
 
 +
=upload.js=
=See also=
=See also=

Current revision

This is a page on XUL CMS core JavaScript libraries and global functions.

Contents

Library Files

Core

UI

SOAP and network

soap_core.js

This file contains basic functions to deal with SOAP messages, creates a global application pool of SOAP requests, manages incoming and outgoing SOAP calls. This also serves (the soapy object) as a replacement for the native SOAP API which was dropped in Firefox 3.6.

soapy

Replaces the low-level SOAP API from older, pre-3.6 versions of Firefox. Achieves SOAP functionality by using XMLHTTPRequests and building SOAP Envelopes around them.

SOAPh

Common usage:

me = this;

me.soapobject = new SOAPh();

me.fnc_onSOAPLoad = function(header, body, me) {
      alert('hey I got a SOAP reply!');
   }


me.soapobject.fnc_onResponse = function(header,body) {
      me.fnc_onSOAPLoad(header,body,me)
   }

me.soapobject.fnc_create(
   'a401_article_update',
   {
     'ID': 1,
     'ID_category': 1,
     'article_attrs.name': 'new name'
   });

}


  • fnc_create
  • fnc_onResponse


upload.js

See also

Developing XUL CMS