how about boolean WebPage#isAutoFocusEnabled and the possibility to provide several IFocusStrategy instances with different priority? this would allow to eg only set the focus on the first formcomponent of the first form if no other formcomponent has an error...
On Tue, Mar 11, 2008 at 3:36 PM, James Carman <[EMAIL PROTECTED]> wrote: > On 3/11/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > > yes so it is not the last one you ask to have focus on > > Very confusing for an average user > > > > thats why there should be a single point just like > > AjaxRequestTarget.focusComponent() works. > > Ok, you've sold me. So, is this something that belongs in "core"? > Shouldn't the core have facilities for managing component focus? The > Ajax folks shouldn't be the only ones who get this luxury. :) Perhaps > an IFocusManager interface? Would that go on the IRequestCycle (since > you can only focus one component per request) or on the Page? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >