[EMAIL PROTECTED] writes: > FrozenDice <[EMAIL PROTECTED]> writes: > >> Thanks, I am trying to populate a tree, virtual tree, or whatever I can get >> to work with data from a postgresql database. Now I know I'll have to use >> something other than RPC since I read more on what it actually is. My >> current idea is to have an event fire when you open or close a branch on the >> tree, which does a query to expand which ever branch you clicked on. That >> won't be to hard using just a PHP loop and some MySQL. My problem is I need >> an event for when a you expand a branch, and currently I can't find how to >> do that. Also I want to be able to drag and drop leaves around. Any idea >> how I can do this? By the way I'm using Delphi For PHP to make this. > > Hi Dan, > > I just confirmed that RpcTreeFullControl_1.html is working. You can use it as > an example of both catching the treeOpenWhileEmpty event (which is issued > whenever an empty branch is opened) and of the RPC request issued to the PHP > JSON-RPC server. You'll find the method invoked at the server is in the file > backend/php/services/qooxdoo/fs.php and the method name is readDirEntries().
One more comment about this. You'll have to run this by downloading qooxdoo frontend and backend to your own server. The qooxdoo.org site does not currently have a JSON-RPC server, so the RPC tests don't work if run from that site. Derrell ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
