Hi,

Do you really need a Label ?
I think you should be able to accomplish the same with:
target.appendJavaScript(Toastr.build(...));

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Jul 27, 2017 at 3:28 PM, ssamarin <stepan.sama...@gmail.com> wrote:

> Hello,
> I'm integrating toastr popups (https://github.com/CodeSeven/toastr) into
> our
> application. For it to work properly, I need to add Behavior to Label and
> then add that label to AjaxRequestTarget.
>
> I'm wondering on how to wire this with Form's and onSubmit methods. Custom
> Ajax buttons everywhere could be a solution, but means quite a lot of
> rewrite.
>
> May be there's some best practice?
>
> Regards, Stepan.
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/Toastr-popups-and-Form-s-onSubmit-tp4678320.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
>
>

Reply via email to