On Tue, Jul 29, 2008 at 5:12 PM, Guilherme Aiolfi <[EMAIL PROTECTED]> wrote:

> What a great explanation. Thank you for that.
>

You're welcome.


>
> Actually, I'm using the 0.8.
>

LOL.  Wow, you really like to live at the cutting edge.  No, that's not just
cutting, that's bleeding (as in gushing blood!) :-)  Fabian's been checking
in changes today, Jonathan checked in more changes since you posted.  It's
still actively being developed.  As to your crash... uh... how about we wait
until the code is stable before debugging that. :-)


> But I've asked about the cell editor because even in the
> qx.ui.table.model.Remote<http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.model.Remote>0.7.3
>  API, there aren't those method used in the example
> here<http://localhost:666/playpen/qxoodoo-0.8-alpha2-pre-sdk/qooxdoo/frontend/application/demobrowser/source/index.html#table%7ETable_Cell_Editor.html>
> .
>

That's correct.  The example you reference does not use a Remote data
model.  If you look at line 187, it's creating a new
qx.ui.table.model.Simple.  But like I said, the cell editors are not
specific to a data model.  The model's setValue() method gets called by the
table code when you close a cell editor.  If you look at Remote.js, you'll
see that its setValue() method fires an EVENT_TYPE_DATA_CHANGED event.  Your
subclass of Remote would presumably catch that event and send the changed
data up to your backend.  In the Simple model, the value is simply saved
locally.

>
> And all examples 
> here<http://demo.qooxdoo.org/current/demobrowser/#example%7ETable_1.html>show 
> table using Simple model. Where can I find other examples? including
> examples of progressive's widgets.
>

AFAIK, there are currently no examples of using the Remote model.  The
problem is that there is no backend running on the qooxdoo site, so there's
nothing for it to talk to.  I thought I had seen an example of a Remote
model that actually talked to itself to demonstrate how to implement the
required methods, but I can't find that now.

As to Progressive, the demos have not made it to the web site for some
reason.  If you check out the legacy_0_7 branch, though, you'll find  these
in demobrowser:

example/ProgressiveLoader_1.html
example/ProgressiveTable_1.html
example/ProgressiveTable_2.html
example/ProgressiveTable_3.html
example/ProgressiveTable_4.html
example/ProgressiveTable_5.html
example/ProgressiveTable_6.html

Hope that helps.

Cheers,

Derrell
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to