i still think that behaviors to control focus is a bit wrong
focus should have 1 entry point
and i guess that is WebPage.focusComponent()
or maybe Form (but you could have 2)
By the way we have focus support in ajax mode... see AjaxRequestTarget

johan



On Tue, Mar 11, 2008 at 12:41 PM, James Carman <[EMAIL PROTECTED]>
wrote:

> On 3/11/08, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> > Another option would be (if there is enough interest) to add it to
> >  wicketstuff minis.
> >
>
> Yeah, I thought about that.  And, I may try to put that in there.
> Perhaps there could be a few focus behaviors in there?  Perhaps even a
> FocusBehaviors class with static helper methods:
>
> public FocusBehaviors
> {
>  public static void focusOnLoad(FormComponent fc);
>  public static void focusFirstError(Form form);
> }
>
> Something like that.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to