On 06/16/2011 11:32 AM, tom.geudens wrote:
> Greetings,
>
> I'm running several home-developed admin applications and I'm trying to
> change my frontend from ExtJS to QooxDoo. The - NetKernel - backend delivers
> the data in any representation I can imagine, for example JSON :
> {
>      "results": {"row": [
>          {"fieldname": "assetname"},
>          {"fieldname": "assetdescription"},
>          {"fieldname": "assettypename"},
>          {"fieldname": "loadername"}
>      ]},
>      "totalcount": 4
> }
> Reading through the documentation I can find several ways to call my
> backend, qx.io.remote.Request seems to cover my need for flexibly passing
> parameters. I also find this data - store - model - controller - view
> explanation which seems to point to something completely different.
>
> What I actually want to accomplish is a dynamic search form where fields can
> be added based on a selection from a dropdown. So lets start with the
> dropdown list. How can I make such a list with the above data from my
> backend ? What would be the best method ? Any - non confusing but still
> detailed, I'm new at QooxDoo  - HOWTO's available to accomplish this ?

Maybe a good way for you to start is:
- have a simple gui (like one button as in the gui skeleton)
- on button press, create a qx.io.remote.Request object, go out to the 
server
- when the data arrives, display it in a second widget (a list, a text 
field, ...)

That should give you a good grip on the basic mechanics.

If you want to look at an example, search for qx.io.remote.Request in 
the Demobrowser source. There is e.g. a method 'dataLoader' that 
populates the navigation tree on the left in the GUI.

T.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to