Sorry, I know better; I ask my customers for sample programs to ensure
nothing gets lost in translation.

There may be a simpler approach, but it seems to be working now with
the following additions to the wrapper class, which extends
AbstractPager:


    m_cellList.addBlurHandler(new BlurHandler()
    {
        @Override
        public void onBlur(BlurEvent p_event)
        {
            delegateEvent(CustomPager.this, p_event);
        }
    });
    m_cellList.addFocusHandler(new FocusHandler()
    {
        @Override
        public void onFocus(FocusEvent p_event)
        {
            delegateEvent(CustomPager.this, p_event);
        }
    });

...

    private class FocusableCellList<T> extends CellList<T>
        implements HasFocusHandlers, HasBlurHandlers
    {
        public FocusableCellList(Cell<T> p_cell)
        {
            super(p_cell);
        }

        @Override
        public HandlerRegistration addFocusHandler(FocusHandler
p_handler)
        {
            return addDomHandler(p_handler, FocusEvent.getType());
        }

        @Override
        public HandlerRegistration addBlurHandler(BlurHandler
p_handler)
        {
            return addDomHandler(p_handler, BlurEvent.getType());
        }
    }

On Jun 20, 10:14 am, Thomas Broyer <[email protected]> wrote:
> Er, CellList *is* Focusable in
> 2.3:http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to