Mike,

sure it brings the ComboBox to an more or less inconsistent state, you  
can not type in text anymore which is something like an inconsistent  
to the description. But thats what we wanted to achieve. ;) So i guess  
there should be no other side effects by this change. We just need  
that warning to signal that you can not expect the whole widget to  
work if you change major stuff on the internal widgets.

Best,
Martin

Am 19.06.2009 um 13:54 schrieb mshillin:

>
> Martin,
>
> I did a quick test and your suggestion seems to work - thanks.
>
> I am a little concerned about the Warning in the API docs for
> Widget.getChildControl() .
>
> "Warning: This method exposes widget internals and modifying the  
> returned
> sub widget may bring the widget into an inconsistent state.  
> Accessing child
> controls defined in a super class or in an foreign class is not  
> supported.
> Do not use it if the result can be achieved using public API or  
> theming."
>
> Will setting the textfield to readonly lead to an inconsistent state?
> Perhaps this change is minor enough so there are no side effects.
>
> Thanks again.
>
> Mike
>
>
> Martin Wittemann wrote:
>>
>> Hello Mike,
>>
>> first of all thanks for your detailed explanation.
>> I do have good news for you, you can switch back to the combobox
>> because it still supports read only. Well not the combobox itself but
>> the textfield and you can access that textfield shown here:
>>
>> box.getChildControl("textfield").setReadOnly(true);
>>
>> Could that solve some of your problems? :)
>>
>> Best,
>> Martin
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/SelectionAPI-woes-%28part-1%29-tp24077884p24110070.html
> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to