Dietrich Streifert <[EMAIL PROTECTED]> writes:

> req.getTransport() returns undefined.
>
> Maybe Derrel can help here?

I haven't been ignoring this; I just haven't had a free few minutes to look
into it.  I'm sorry.

Typically, you don't manually set the transport to be used; instead, you
specify how you'll be using it (async vs sync; cross-domain vs same domain)
and the correct transport is determined.  I don't recall, however, where that
determination is made.

Recently, use of IframeTransport based on those two criteria was removed.
Originally, cross-domain, async requests would always use IframeTransport, but
then it was discovered that IframeTransport couldn't be used for cross-domain,
and now ScriptTransport is always used for that purpose.

I hope to have some time later today to look at this and answer more properly,
but if you want to look into it, find where in either RPC or RemoteRequest
those capability flags are used (they are specified in each transport's
implementation) and however the capabilities set the transport, you should be
able to do similarly.

Cheers,

Derrell


>
>
> Alex D. schrieb:
>> I haven't actually used IframeTransport yet but this looks good:
>> req.getTransport().setImplementation(qx.io.remote.IframeTransport);
>>> Aha yes.
>>>
>>> But how do I do it?
>>>
>>> var req = new qx.io.remote.RemoteRequest();
>>>
>>> Is it:
>>>
>>> req.getTransport().setImplementation(qx.io.remote.IframeTransport);
>>>
>>> or
>>>
>>> req.getTransport().setImplementation(new qx.io.remote.IframeTransport());
>>>
>>>
>>> Thanks allot.
>>>
>>>
>>>
>>> Alex D. schrieb:
>>>> I mean this is "implementation" property of the
>>>> qx.io.remote.RemoteExchange class.
>>>>
>>>>> Hello List,
>>>>>
>>>>> I want to use the iframe transport but can't find a hint how I tell a
>>>>> qx.io.remote.RemoteRequest instance what type of transport it should use.
>>>>>
>>>>> I've subclassed qx.io.remote.IframeTransport and want to tell the remote
>>>>> request object to use this transport.
>>>>>
>>>>> How can this be done?
>>>>>
>>>>> Any help would be great.
>>>>>
>>>>> Best regards...
>>>>>
>>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>> Get stuff done quickly with pre-integrated technology to make your job 
>>>> easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> qooxdoo-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>>
>>>
>>> -- 
>>> Mit freundlichen Grüßen
>>> Dietrich Streifert
>>> Visionet GmbH
>>>
>
> -- 
> Mit freundlichen Grüßen
> Dietrich Streifert
> Visionet GmbH
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to