Combining EXTJS with WebObjects.
Combining EXTJS with WebObjects.
- Subject: Combining EXTJS with WebObjects.
- From: Gustavo Pizano <email@hidden>
- Date: Fri, 4 Sep 2009 12:16:05 +0200
Hello,.. Well after almost giving up on my requirement to put more than one column in a wobrowser to have multiple selections. I remind that before I did some little work with EXTJS. It has what we need. a GRID extjsComponent.. :D:D.. now how do I integrate WO and EXTJS?
In the example of grid they are loading data from an array of arrays, and configuring "hard-coded" all the grid. How can I from the JS ask the WO server for the data to congifure the grid? is it possible?..
another approach I saw was to generate a hidden WORepetition and generate all the data, then form the JS get the element and create the grid, but this approach I don't like it, becuase if I need another grid somewhere else I have to do all again, I want to reuse code.
Another approach is to load the data form an xml, the same, grid has a url: attribute I fetch the xml there, so in th backend I will need to generate the xml, keep it there, while EXTJS via the url: ask for it.. what comes to my mind are security stuff... and some theoretical stuff like:
How WO knows that the JS that its requesting is valid for the session in the WO application?.
I think this is about the request-n-response loop... isn't it?
So.. any advice... help, clue, light, code?
G.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden