Hello BenoƮt,

benco wrote:
> 
> The form controller
> -----------------------
> 
I also remember such an issue and I found a bug report for it:
http://bugzilla.qooxdoo.org/show_bug.cgi?id=3281

We added the handling for map that time. If you need also the array
handling, file a bug for it. I'll take care of it (but I'm sure not for the
upcomming 1.1 release).


benco wrote:
> 
> Form item placeholders
> -----------------------------
> 
Currently, thats not possible. The default behavior is to hide the
placeholder on disabled input fields. I think the main reason of why we did
that was to keep it clear that the input fields are disabled. Whats your use
case that you think you would need a placeholder in disabled state?


benco wrote:
> 
> Form Model Serialization
> ------------------------------
> 
I think the current behavior in qooxdoo is the way I would it expect to
work:
1. Ignoring the false values in the framework would be wrong because
sometimes, a false is something different than a "not available". Imagine a
server which handls multiple forms and one has that checkbox and another
does not and the server needs to know it that field was available.
As for disabled input elements. Some developers may store default values in
the disabled input fields and need to send them to the server. 
So I think your behavior is kind of application specific and thats why I
would suggest to subclass the form controller and override the createModel
method. There you can remove the fields before you create the model which
should be much faster then parsing the whole model after the creation. What
do you think about that?

Regards,
Martin

-- 
View this message in context: 
http://n2.nabble.com/Discussion-about-forms-controller-value-retrieval-tp4889378p4889689.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to