Never used sencha. For regular javascript I think you just say

var xml = jsonrpc.wopage.dataSetQ4();

Ramsey

On Jun 22, 2012, at 5:08 PM, James Cicenia wrote:

> I think this might work, though it doesn't yet for me.
> 
> I put in the wod as per the docs:
> 
> XMLProxy : AjaxProxy {
>       proxyName = "wopage";
>       name = "jsonrpc";
> } 
> 
> then in the html I put the following line at the top:
> 
> <webobject name="XMLProxy" />
> 
> 
> When I render the page it doesn't seem to add anything?
> 
> Then in the Sencha javascript I have:
> 
>   proxy: {
> 
>                 type: 'ajax',
> 
>                 url: 'jsonrpc.wpage.dataSetQ4',
> 
> 
> 
> The parent component has  a method that returns a string (xml) named 
> dataSetQ4()
> 
> Anything obvious? dataSetQ4 never gets called.
> 
> Thanks
> 
> 
> On Jun 22, 2012, at 6:26 PM, Ramsey Gurley wrote:
> 
>> AjaxProxy maybe?
>> 
>> On Jun 22, 2012, at 4:12 PM, James Cicenia wrote:
>> 
>>> I have some old charting components I am looking to upgrade so Sencha.
>>> 
>>> As such, I need to supply the sencha javascript with a URL to the XML file.
>>> 
>>> My old components already have the logic that creates the xml. 
>>> So what is the best way to tie the old and new together?
>>> 
>>> It would have to take into account security and session state.
>>> 
>>> Is there some ajax call back magic in wonder?
>>> 
>>> Thanks
>>> James
>>> 
>>> 
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>> 
>>> This email sent to [email protected]
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/james%40jimijon.com
>> 
>> This email sent to [email protected]
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to