My code here:
sizeTextField.add(new AjaxEventBehavior("ENETER_KEY_OR_SOMTHING_LIKE_THIS")
{
@Override
protected void onEvent(AjaxRequestTarget target) {
target.focusComponent(unitTextField);
}
});
but i don't known how handler passing ENTER key and pass this as parameter
to AjaxEventBehavior.
On Sat, Sep 7, 2013 at 3:36 PM, Sven Meier <[email protected]> wrote:
> http://stackoverflow.com/**questions/4494552/change-**
> enter-from-submission-to-tab/**4494691#4494691<http://stackoverflow.com/questions/4494552/change-enter-from-submission-to-tab/4494691#4494691>
>
>
> On 09/07/2013 12:11 PM, Farrukhjon SATTOROV (farrukh) wrote:
>
>> Hi everyone, how to set focus on next form component (TextField) by
>> pressing on ENTER key in current TextField. Thanks in advance.
>>
>>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail:
> users-unsubscribe@wicket.**apache.org<[email protected]>
> For additional commands, e-mail: [email protected]
>
>