I'm wondering if I'm excessively purist about not wishing to use
callLater().

The specific case I have now is that I wish to set focus to the first field
of a re-usable form when a new item is created, and select all the text in
the field. Since I am using Mate, I have an injected listener in the view,
which gets invoked when a new item is created. Even though the text input
already has its text contents set by the time this listener is called, the
text doesn't highlight unless I wrap the setFocus call in callLater(). Any
ideas why that might happen?

Thanks.

Reply via email to