You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by avchavan <av...@yahoo.co.in> on 2015/07/10 14:11:45 UTC
onBeforeRender getting called twice
Hi,
I am experiencing a weird scenario wherein the onBeforeRender method gets
called twice (request is coming as a HTTP request via a standalone API
through webService).
I am using a Wizard.
Same code is used in regular application as well which works without a
problem.
What could be a possible issue here?
I've checked in firebug and i dont see multiple calls to server from
browser.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/onBeforeRender-getting-called-twice-tp4671575.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: onBeforeRender getting called twice
Posted by avchavan <av...@yahoo.co.in>.
Is there a way to check why it is being called twice?
Or from where the second call is being made?
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/onBeforeRender-getting-called-twice-tp4671575p4671579.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: onBeforeRender getting called twice
Posted by Martin Grigorov <mg...@apache.org>.
So, two requests are made. Everything seems to be OK from Wicket point of
view.
Martin Grigorov
Freelancer. Available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Jul 10, 2015 at 3:36 PM, avchavan <av...@yahoo.co.in>
wrote:
> Yes, It is getting called twice.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/onBeforeRender-getting-called-twice-tp4671575p4671577.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: onBeforeRender getting called twice
Posted by avchavan <av...@yahoo.co.in>.
Yes, It is getting called twice.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/onBeforeRender-getting-called-twice-tp4671575p4671577.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: onBeforeRender getting called twice
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
Put a breakpoint at WicketFilter#doFilter() and see whether it is called
twice.
If it is called once and #onBeforeRender() is executed twice then please
create a quickstart and attach it to JIRA so we can investigate.
Martin Grigorov
Freelancer. Available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Fri, Jul 10, 2015 at 3:11 PM, avchavan <av...@yahoo.co.in>
wrote:
> Hi,
> I am experiencing a weird scenario wherein the onBeforeRender method gets
> called twice (request is coming as a HTTP request via a standalone API
> through webService).
> I am using a Wizard.
> Same code is used in regular application as well which works without a
> problem.
> What could be a possible issue here?
> I've checked in firebug and i dont see multiple calls to server from
> browser.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/onBeforeRender-getting-called-twice-tp4671575.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>