Maybe something like this could be implemented for 0.6 ... would also ease
migration for me ;-) I am happy to share my ideas. When I use QxBuilder
with the QxDataManager, writing a new dialogue with snazzy interactivity
goes really fast!

The baseline approach is to treat ALL widgets as potential form elements,
including trees, listViews, labels etc. All have some kind of "state" or
"value" which can be changed by the user -- textField, checkBox (through
its manager), listView (the selected Row/s) etc -- or not -- like a label.
Some widgets, then, have options: a list or comboBox being the obvious
examples, but also a listView (all Rows), a tree (the tree structure), a
set radioButtons etc. I then bind together all form elements with a
central data manager which provides client/server interaction, populates
the elements from a remote source and uploads them to the remote receiver.

I wonder what others think of this approach. All I can say that it saves
me lots of time.

Best,

Christian

> I have done something similar too.  So it musn't be a bad idea....
>
>
> Christian Boulanger (Bibliograph Development) wrote:
>>
>> In my QxDataManager extension, I have implemented a uniform behaviour
>> for
>> all widgets that enourmously simplifies form handling. Instead of the
>> diverse ways of getting and setting the form element values (label,
>> value,
>> html, checked etc. etc.) and options (for those widgets which support
>> options), I have implemented getData/setData and a getOptions/setOptions
>> method. Each widget handles internally what to do with the data
>> provided.
>> While I don't know how useful the approach is for others, I strongly
>> recommend normalizing/unifying the API for all form widgets since this,
>> as
>> Dieter wrote, really simplifies form population / validation / data
>> retrieval.
>>
>
> --
> View this message in context:
> http://www.nabble.com/ComboBox.getValue%28%29-bug-tf2270085.html#a6304156
> Sent from the qooxdoo-devel forum at Nabble.com.
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to