I downloaded the PHP backend, I copied the services directory to the root of
my webserver, and went to /services/ and it said Services require JSON-RPC.
Ok, so I'm pretty sure that's working now.  But how do I take the
RpcTreeFullControl example on the qooxdoo.org website and hook it into my
backend?  I tried doing a save page as and opening it on my own computer in
the webserver root to no avail.          rpc.setUrl("/services/");
       rpc.setServiceName("qooxdoo.fs");
seem right, I have a folder named services, with a folder inside that named
qooxdoo and finally in that fs.php.  So when I open this in my browser how
come it doesn't work?  I get "Async(1) : exception Transport error 0:
unknown status code".

- Dan

On 4/10/07, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

[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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to