On Wed, Feb 15, 2017 at 6:51 PM, Entropy <[email protected]> wrote:
> I have a header links section in my header that must build in a dynamic
> way.
>
> AjaxSubmitLink link = new AjaxSubmitLink(linkName,
> formToSubmit) {
> @Override
> public void onSubmit(AjaxRequestTarget target,
> Form form) {
> //control never gets here.
> }
>
Always override #onError() too !
> };
>
> That is being built in a function call that is called from a loop (though I
> don't think that matters). The HTML (of one example):
>
> <li wicket:id="contactLi"><a wicket:id="contactLink"
> href="/contact">Contact Information</a></li>
>
> In the wicket ajax debug window, I am getting this:
>
> INFO: focus removed from
>
> INFO: focus set on startLinkc
>
> INFO: Received ajax response (69 characters)
>
> INFO:
> <?xml version="1.0" encoding="UTF-8"?><ajax-response></ajax-response>
>
> INFO: Response processed successfully.
>
> INFO: refocus last focused component not needed/allowed
>
> Implying that it ran, but did nothing? There are no validators in place
> (yet) on the form.
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/AjaxSubmitLink-not-working-tp4677120.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]
>
>