I think i get it, great ;)
Thanks for your help !!
On Tue, Aug 16, 2011 at 2:56 PM, thron7 wrote:
> **
>
>
> On 08/16/2011 02:34 PM, franck34 wrote:
>
>
>
>
>
>> > var req = new qx.io.request.Xhr(url,'POST');
>>
>> To do everything in the constructor is ok if you intend to throw eac
On 08/16/2011 02:34 PM, franck34 wrote:
> var req = new qx.io.request.Xhr(url,'POST');
To do everything in the constructor is ok if you intend to throw each
UtilXhr instance away after its instantiation.
Notice i'm noob in OO too so ... what do you mean ? need i
Updated version:
https://gist.github.com/1148887
qx.Class.define("tradingactive.UtilXhr", {
extend : qx.core.Object,
construct: function(url,data,cb,caller) {
var req = new qx.io.request.Xhr(url,'POST');
if (data) req.setRequestData(data);
req.addListener("succe
On Tue, Aug 16, 2011 at 2:06 PM, thron7 wrote:
>
>
> On 08/16/2011 01:36 PM, franck34 wrote:
> > Here is the "good" one :
> >
> > https://gist.github.com/1148887
> >
> > --
> >
> > qx.Class.define("tradingactive.UtilXhr", {
> > extend : qx.application.Standalone, /
On 08/16/2011 01:36 PM, franck34 wrote:
> Here is the "good" one :
>
> https://gist.github.com/1148887
>
> --
>
> qx.Class.define("tradingactive.UtilXhr", {
> extend : qx.application.Standalone, /* BUG: not the good class to
> extend, which one ?? */
qx.core.Obje
Here is the "good" one :
https://gist.github.com/1148887
--
qx.Class.define("tradingactive.UtilXhr", {
extend : qx.application.Standalone, /* BUG: not the good class to
extend, which one ?? */
construct : function() {
this.base(arguments);
Mmmm sorry i forgot comments. Please wait.
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/howto-make-a-simple-xhr-generic-class-tp6690748p6690989.html
Sent from the qooxdoo mailing list archive at Nabble.com.
Seem's raw tag are only available for viewable version of my email.
Here is the code :
https://gist.github.com/1148887
---
qx.Class.define("tradingactive.UtilXhr", {
extend : qx.application.Standalone,
construct : function() {
this.base(arguments);
On 08/16/2011 12:09 PM, franck34 wrote:
> Here is my actual code,
Where is your actual code?!
T.
--
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying