hi thx for the repy.. i tried both json and jsonp by modifying my couch view to 
return data wrapped in the callback, but no joy either way..

> From: [email protected]
> To: [email protected]
> Date: Wed, 2 Nov 2011 10:58:11 +0100
> Subject: Re: [qooxdoo-devel] Newbie question modified Twitter example
> 
> Hi,
> 
> good idea to learn by customizing.
> 
> In twitter.TwitterService, did you switch from qx.data.store.Jsonp to 
> qx.data.store.Json (without the p)? AFAIK, CouchDB does not provide a JSONP 
> service.
> 
> By appending "?qxenv:qx.debug.io:true" to the URL of your application, you 
> get helpful logs of all qooxdoo IO operations.
> 
> Hope this helps!
> 
> Am 30.10.2011 um 20:33 schrieb onehappycanuck:
> 
> > I'm new to Qooxdoo and pleasantly surprised by the sophistication I see. 
> > 
> > I'm trying to get up to speed using the Twitter tutorial as a working
> > example and to make it tangible i've made a few simple changes to display
> > images from a local couchDb instance instead of from the Twitter json feed;
> > the changes are just a different URL for the TwitterService and changes to
> > the controller mappings to work with the different data format. 
> > 
> > My couchDb query produces json in the form 
> > 
> > [
> >      {
> >           "name": "00087xs9",
> >           "uri": "http://192.168.1.7:5984/e2-resources/00087xs9/img.jpg";
> >      },
> > 
> >      {
> >           "name": "001",
> >           "uri": "http://192.168.1.7:5984/e2-resources/001/img.jpg";
> >      },
> > 
> >      {
> >           "name": "002",
> >           "uri": "http://192.168.1.7:5984/e2-resources/002/img.jpg";
> >      }
> > ]
> > 
> > I've verified my query url in a browser (produces the json above) and have
> > changed the controller mappings from the twitter format
> > 
> >    twitterController2.setLabelPath("text");
> >    twitterController2.setIconPath("user.profile_image_url");
> > 
> > to the couch query format
> > 
> >    twitterController.setLabelPath("name");
> >    twitterController.setIconPath("uri");
> > 
> > However, I don't see any text or images in the twitter window and I don't
> > see any errors in the console. I also can't open firebug on the page either
> > - does qooxdoo disable it? Also the inspector shows that my form list has no
> > data.  
> > 
> > Any suggestions? I'm comfortable with the dev process (rebuilding source
> > etc) and thought this would be a really simple change but I'm stumped.
> > 
> > --
> > View this message in context: 
> > http://qooxdoo.678.n2.nabble.com/Newbie-question-modified-Twitter-example-tp6946220p6946220.html
> > Sent from the qooxdoo mailing list archive at Nabble.com.
> > 
> > ------------------------------------------------------------------------------
> > Get your Android app more play: Bring it to the BlackBerry PlayBook 
> > in minutes. BlackBerry App World™ now supports Android™ Apps 
> > for the BlackBerry® PlayBook™. Discover just how easy and simple 
> > it is! http://p.sf.net/sfu/android-dev2dev
> > _______________________________________________
> > qooxdoo-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> ------------------------------------------------------------------------------
> RSA® Conference 2012
> Save $700 by Nov 18
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
                                          
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to