You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by pa...@chello.at on 2006/02/23 13:10:56 UTC

Focus on radio button ?

I want to give a radio button initial focus, which I can't.

I have a (T4) Form component including a
RadioGroup including Radio buttons. The first Radio
is meant to get initial focus.

The form gives initial focus to the first PropertySelection or
TextField. RadioGroup implements
    protected boolean getCanTakeFocus()
    {
        return false;
    }

I found a dirty&incomplete way of solving this; can anybody 
give insight why a radio button is not meant to be given focus ?

Sincerely,
Paul Ivancsics



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org