I think you are over-thinking this. I do something similar, but I have tool
windows that load sets of data. The sets all have unique ID's, so when I
load the tool window, I pass in the ID of the set I want to load. Then, when
the tool window creates itself it calls to the server to get the data and it
passes in the ID that it was given. Then you can save the data after each
field changes or you can save it all at once when a Save button is pressed.
With this methodology you can have as many tool windows open as you want
since they all have their specific ID number and data.

Jim



On Mon, Nov 10, 2008 at 8:27 AM, Jean-Baptiste BRIAUD -- Novlog <
[EMAIL PROTECTED]> wrote:

> Hi,
>
> I'd like to share some thought about how to implement form and how to
> link to object like an instance of Person for a form that would allow
> to create or edit a person.
> Any input, advices or discussions welcome !
>
> I planed to keep as an attribute to the form the unique instance of
> Person. (limitation : can't edit/create several person and then submit
> it, I'll see that later).
> Then, each time a field change, using listener, I'll put back to the
> object the value so the object will be sync with widget.
> On save, that object will be "Jsonified" and submitted to the server.
>
> In case of a read from database, that object will be unmarshaled from
> JSON, then each values will be "put by hand" in the various field that
> correspond.
>
> Is there tools, utility classes that could be used to link widgets and
> fields value in qooXdoo ?
> I remember that Andreas was talking about data binding in qooXdoo, is
> it that ?
> If yes, what would you advise me to do in my current code to avoid
> problem when I'll have to migrate to data binding ?
>
> Thanks !
>
> -------------------------------------------------------------------------
> 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
>
-------------------------------------------------------------------------
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