[
https://issues.apache.org/jira/browse/XAP-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468370
]
Trevor Oldak commented on XAP-208:
----------------------------------
Test file for this bug:
testRequestService.js:
rs = function(){}
rs.prototype.test = function(event){
var session = event.session;
var rs = new xap.requestservice.RequestService(session);
var content = rs.retrieve("testRequestService.js");
alert(content);
}
testRequestService.xal:
<xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
<mco xmlns="http://openxal.org/core/mco" id="rs" class="rs"
src="testRequestService.js"/>
<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
<xm:append select="/ui">
<verticalBoxPane>
<button text="Click me" onCommand="mco:rs.test(event)"/>
</verticalBoxPane>
</xm:append>
</xm:modifications>
</xal>
> Doc Bug: RequestService.retrieve() lists return type as String
> --------------------------------------------------------------
>
> Key: XAP-208
> URL: https://issues.apache.org/jira/browse/XAP-208
> Project: XAP
> Issue Type: Bug
> Components: Documentation
> Reporter: Matt Carbone
> Assigned To: Turyn, Michael
> Priority: Critical
>
> this should be switched to responseText
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.