Hi Daniel,

the message is printed from the mixin for single selection and is 
generated due to an internal selection change. The message is a bit 
accidental, because the message should be fired, when the action is done 
form the user. But we can't find out if the selection change is done due 
to an internal change or by the user.

Please try to enable the second before you add the ListItems to the 
SelectBox, but after the server request. The behavior form your 
application should not be changed, because the rendering is queued, but 
your SelectBox is internal enabled and the message shouldn't be fired.

Cheers,
Chris


Am 15.02.2010 14:37, schrieb Daniel Hirtzbruch:
> Hello List,
>
> I got a minor problem when using SelectBoxes. I've got two SelectBoxes, the
> first one contains an eventlistener "changeSelection". When the selection is
> changed, data is fetched via via a server request and then added as
> ListItems into the second SelectBox. Before the user selects an item on the
> first box, the second one is disabled, it's enabled when the listItems are
> added to the selectbox.
>
> When adding listItems to the selectBox I now get an deprecated warning
> "Setting the selection on disabled 'qx.ui.form.SelectBox' is deprecated: The
> current behavior will change from doing nothing to selectiong the given
> items."
>
> What does this message mean "The current behavior will change from doing
> nothing to selectiong the given items."?
> How can I disable this message - I think it should be possible to add new
> items to a disabled selectBox without getting loads of messages. The
> messages only appear in the source version so it's ok but I think it's a
> little bit confusing and the console is now full of those messages (I got
> several of these constellations).
>
> Thank you,
> Daniel
>    


-- 
Christian Schmidt
Software Entwickler

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to