Re: onBeforeRender getting called twice

2015-07-10 Thread avchavan
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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: onBeforeRender getting called twice

2015-07-10 Thread Martin Grigorov
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 avinash.cha...@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-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: onBeforeRender getting called twice

2015-07-10 Thread Martin Grigorov
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 avinash.cha...@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-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




onBeforeRender getting called twice

2015-07-10 Thread avchavan
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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: onBeforeRender getting called twice

2015-07-10 Thread avchavan
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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org