Dear Forum,
I have a simple tabbed view object page with a notify button that when the
user clicks on the button, it emails a long list of people with information
about the concerning the object.
Some objects have a list of 100+ email addresses and clicking on submit
stops me from continuing visiting other tabbed pages until the email class
has finished sending all the emails (40 seconds afterwards).
How can implement the notify button so that it emails people on the
background AND allows me to continue navigating out of the current view
tabbed page into another page?
Thanks in advance,
Lucas
The button i'm implementing is simple:
new Button ("notifyButton"){
@Override
public void onSubmit() {
EmailServices emailService = new EmailNotificationService();
emailService.notifyMailingList(object);
}
};
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Continue-navigating-while-on-submit-button-process-stuff-on-the-background-tp3473026p3473026.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]