Hi, Put a breakpoint in WicketFilter#doFilter() and see whether it gets hit. If it doesn't then it is client side caching. Otherwise for some reason Wicket doesn't map the url to the mounted resource - re-check the url and the mount path.
On Wed, Jul 11, 2012 at 8:33 AM, mlabs <[email protected]> wrote: > I have implemented a ByteArrayResource that serves up JSON depending on > various URL params.... > I invoke it from the client using jQuery.getJSON() .. passing the url and > params.... > > first time around, coming off a full page refresh, the call works fine and > indeed if I put a breakpoint in my shared resource's getData() function I > see the incoming call.... and the params as expected... > > over in the client javascript I have an element with a click-handler > defined. When it is clicked, I construct the URL with params and make the > same jQuery.getJSON() call... > > this time my wicket-side breakpoint doesn't get hit, but the url is the same > as before, just slightly different params. > > so it only seems to work off a full page refresh.... > > Q: any ideas? Is it some sort of weird caching thing? > TIA > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/shared-resource-JSON-question-tp4650433.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] > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
