Hi, On Mon, Dec 14, 2015 at 7:07 PM, Lois GreeneHernandez < [email protected]> wrote:
> Hi Sven, > > Firstly, thanks for your response. I am indeed running in DEVELOPMENT > mode. As per your suggestion, I opened the Ajax debug console. Please > note that I got no errors, BUT when the onsubmit fired the first time, I > got a full ajax response. The second time (after returning from another > panel) the ajax response was empty. > > <?xml version="1.0" encoding="UTF-8"?><ajax-response></ajax-response> > This is in fact what it looked like. > This means that Wicket makes Ajax call to the server but nothing is added to AjaxRequestTarget - neither append/prepend JS nor components. You may put a breakpoint at org.apache.wicket.RequestListenerInterface#invoke(org.apache.wicket.request.component.IRequestableComponent, org.apache.wicket.behavior.Behavior) and see what happens. > > Lois > > > -----Original Message----- > From: Sven Meier [mailto:] > Sent: Monday, December 14, 2015 10:38 AM > To: [email protected] > Subject: Re: onsubmit not firing when you navigate away from tab and back > > Hi, > > a quickstart would help to identify the problem. > > Are you running your application in DEVELOPMENT mode? Then you can check > for the errors in the Ajax debug console (it flashes red). > > Regards > Sven > > On 14.12.2015 16:21, Lois GreeneHernandez wrote: > > Hi All, > > > > I have a page that has several tabs (tab panels) on it. The landing tab > has a report that is filterable. It works fine when you're on the landing > tab. If you navigate away from that tab and navigate back, it no longer > works. > > > > I've determined that for some reason the ajax onsubmit event does not > fire when you navigate back towards the page and I'm not sure where to > begin looking for the problem. > > > > Thanks in advance for your help. > > > > Lois > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
