[ http://issues.apache.org/jira/browse/XAP-206?page=all ]

Matt Carbone resolved XAP-206.
------------------------------

    Resolution: Invalid

I showed this to James. Not a bug because retrieve() does not return a String. 
There is now a doc bug for this.

> Possible issue with RequestService.retrieve()
> ---------------------------------------------
>
>                 Key: XAP-206
>                 URL: http://issues.apache.org/jira/browse/XAP-206
>             Project: XAP
>          Issue Type: Bug
>          Components: Networking
>            Reporter: Matt Carbone
>            Priority: Critical
>
> Using RequestService.retrieve() is no longer working for the following case. 
> The XmlHttpRequest exception is thrown with out a message.
> JS---
> RequestServiceMco = function() {
> };
> RequestServiceMco.prototype.retrieve = function (clientEvent) {
>   var requestService = clientEvent.session.getRequestService();
>   var response = requestService.retrieve('data.txt');
>   alert(response);
> }
> XAL---
>  <button x="20px" y="100px" text="execute Request.retrieve()" width="200px" 
> height="24px" onCommand="mco:rsmco.retrieve(event)" />
> data.txt----
> Bleh

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to