Re: AbstractAjaxBehavior and second request

2012-04-25 Thread Martin Grigorov
Hi,

On Wed, Apr 25, 2012 at 12:44 AM, Brian Mulholland
 wrote:
> I have a javascript widget on my page that will issue multiple
> requests.  I am using an AbstractAjaxBehavior and priming the
> javascript component with the uri from getCallbackUri().  First
> request works flawlessly.  But the next request using the same uri
> (excepting the extra parameters that the javascript widget tacks on),
> and it is not getting to the onRequest() method.
>
> I can confirm that the request is going out because I can see it in firebug.
>
> first request:
> http://localhost:9080/ManagementCenter/?wicket:interface=:7:subscriptionList::IActivePageBehaviorListener:0:&wicket:ignoreIfNotActive=true&_dc=1335302423707&page=1&start=0&limit=20&group=%5B%7B%22property%22%3A%22RECIPIENT_USER%22%2C%22direction%22%3A%22ASC%22%7D%5D&sort=%5B%7B%22property%22%3A%22RECIPIENT_USER%22%2C%22direction%22%3A%22ASC%22%7D%5D
>
> second request:
> http://localhost:9080/ManagementCenter/?wicket:interface=:7:subscriptionList::IActivePageBehaviorListener:0:&wicket:ignoreIfNotActive=true&_dc=1335302444162&page=2&start=20&limit=20&group=%5B%7B%22property%22%3A%22RECIPIENT_USER%22%2C%22direction%22%3A%22ASC%22%7D%5D&sort=%5B%7B%22property%22%3A%22RECIPIENT_USER%22%2C%22direction%22%3A%22ASC%22%7D%5D
>
> I see the wicket:interface portion in there.  Does this number need to
> increment or something?

I think wicket:interface value is OK.
Put a breakpoint in WicketFilter#doFilter() and see what happens.

>
> Brian Mulholland
> "For every complex problem, there is an answer that is clear, simple and 
> wrong."
> --H.L. Mencken
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



AbstractAjaxBehavior and second request

2012-04-24 Thread Brian Mulholland
I have a javascript widget on my page that will issue multiple
requests.  I am using an AbstractAjaxBehavior and priming the
javascript component with the uri from getCallbackUri().  First
request works flawlessly.  But the next request using the same uri
(excepting the extra parameters that the javascript widget tacks on),
and it is not getting to the onRequest() method.

I can confirm that the request is going out because I can see it in firebug.

first request:
http://localhost:9080/ManagementCenter/?wicket:interface=:7:subscriptionList::IActivePageBehaviorListener:0:&wicket:ignoreIfNotActive=true&_dc=1335302423707&page=1&start=0&limit=20&group=%5B%7B%22property%22%3A%22RECIPIENT_USER%22%2C%22direction%22%3A%22ASC%22%7D%5D&sort=%5B%7B%22property%22%3A%22RECIPIENT_USER%22%2C%22direction%22%3A%22ASC%22%7D%5D

second request:
http://localhost:9080/ManagementCenter/?wicket:interface=:7:subscriptionList::IActivePageBehaviorListener:0:&wicket:ignoreIfNotActive=true&_dc=1335302444162&page=2&start=20&limit=20&group=%5B%7B%22property%22%3A%22RECIPIENT_USER%22%2C%22direction%22%3A%22ASC%22%7D%5D&sort=%5B%7B%22property%22%3A%22RECIPIENT_USER%22%2C%22direction%22%3A%22ASC%22%7D%5D

I see the wicket:interface portion in there.  Does this number need to
increment or something?

Brian Mulholland
"For every complex problem, there is an answer that is clear, simple and wrong."
--H.L. Mencken

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org