Igor is right, it is strange to do a roundtrip for just the focus, but normally setting focus in ajax can be done through AjaxRequestTarget.focusComponent
On 3/20/08, Michael Mehrle <[EMAIL PROTECTED]> wrote: > I have a WMC that I added an AjaxEventBehavior(onclick) to. Inside I > want to set the focus to a particular textfield - how would I do that? > > I have seen some techniques on how to do this on page load, but this is > AJAX so I need something dynamic. > > Anyone solved this problem before? > > Michael > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
