Well, tonight I managed adding my own params to the remote table request by
extending the Remote class. Not really beautiful / handy but its doing the job.
I'll modify some things and then try to contribute the remote table extension
if desired.
Thank you Gene,
Daniel
processed by David.fx
Subject: Re: [qooxdoo-devel] Remote Table Model (03-Aug-2009 19:58)
From: Gene Amtower <g...@pc-backup.com>
To: qoox...@dhirtzbruch.de
On Mon, 2009-08-03 at 15:08 +0000, Daniel Hirtzbruch wrote:
Hello everybody,
I'm using the remote table model for displaying results from a mysql database.
Therefore I extended the remote table class as described in
http://qooxdoo.org/documentation/0.8/remote_table_model. How can I pass my own
parameters to the query, before using the remote table I did it by simply
calling req.setFormField() or req.setParameter() - now I'm not directly
accessing the request from my script but only the model which requests the data
itself. How is it possible to add dynamic request variables to the request?
TIA, Daniel
Daniel,
In my own extension of the remote table class, I appended an additional
parameter as an extra parameter on the end of the "rpc.callAsync" method call.
I remember seeing this somewhere in the examples or demo material, but I don't
remember where I found it now. I also had to insure that the remote method
specifically looked for the additional parameter in the parameter array in the
correct position matching the order of the submitted parameters, but it sounds
like you'll be able to figure this out using the example PHP code in the RpcPhp
examples.
Gene
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel