AjaxFormComponentSubmittingBehavior("paste") And then override #onSubmit() method. The pasted value will be reachable via getFormComponent().getModelObject()
On Wed, Oct 9, 2013 at 12:16 PM, lc991 <lorenzoc...@live.it> wrote: > I add event on the my form, but how to get a text to Event e object? > > form.add(new AjaxFormSubmitBehavior("paste") { > > @Override > public void onEvent(Component component, IEvent<?> event) { > super.onEvent(component, event); > System.err.println(event.getSource().toString()); > } > > }); > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/catch-the-paste-event-tp4661765p4661767.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >