Hello Thomas,

thanks for supplying the demo. With that, I could reproduce the behavior
very quickly. With the fix i committed to trunk, your demo working without
any problem.
In 0.8.2 you need to attach a listener to the datefield and select the text
in that listener:

                this.dat1.addListener("appear", function() {
                  this.dat1.getChildControl("textfield").selectAll();
                }, this);

this.dat1 is the datefield like in your demo.

Regards,
Martin



Thomas Dräger wrote:
> 
> hm, its part of bigger project here at work so i cant give it away.
> i have build a small demo app which shows the basic functionality. 
> 
> the window opens, step1 is created. press the button and step2 loads.
> now the datefield should have the focus inside and the value should be
> selected.
> 
>  http://n2.nabble.com/file/n3534448/qxone.zip qxone.zip 
> 
> here are the sources for testing. im on vacation for a week so you have
> some time to test :-)
> 
> 
> 
> 
> MartinWittemann wrote:
>> 
>> Hi,
>> 
>> hm, looks like we do have a problem here. Do you have your code somewhere
>> i can look at it or even test it? Its hard to debug with only a hand full
>> of information.
>> The only thing I would try is to add the code with the flush and the
>> selection stuff right after the place you add it to the composite. That
>> could work.
>> 
>> Best,
>> Martin
>> 
>> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/focus-on-datefield-tp3522209p3551826.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to