getPage() Question

2010-08-13 Thread Thierry Peng
Hi I have a Singlepage Application where I swap some panels on the main page depending what the user does. Specifically I have a Panel for changing the password which looks like: @SuppressWarnings(serial) public class ChangePasswordPanel extends Panel { @Inject private

Re: getPage() Question

2010-08-13 Thread Thierry Peng
I figured it out. For who is interested: The first getPage().addOrReplace replaced the middlepanel which was also the current changepasswordpanel. The second call on getParent() can only yield null because the panel in question was already swapped. So there are two valid solutions: first

getPage question

2009-11-10 Thread Pamir Erdem
In the attachment you'll see that the regions that intersect with each other indicates that the slowest method execution on stack trace. If you look at Count Delta on getPage method you will see that it equals to 37 which means thatgetPage is executed 37 times in a request. There are too many

Re: getPage question

2009-11-10 Thread Pamir Erdem
Again it's related with ajax calls. It coud solve this issue when implementing ajax polls. Thanks On Wed, Nov 11, 2009 at 1:18 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: your attachment never made it through. -igor On Tue, Nov 10, 2009 at 3:12 PM, Pamir Erdem pamir.er...@gmail.com

Re: getPage question

2009-11-10 Thread Igor Vaynberg
37 getpage() calls should be no big deal. even a 100. -igor On Tue, Nov 10, 2009 at 3:27 PM, Pamir Erdem pamir.er...@gmail.com wrote: Again it's related with ajax calls. It coud solve this issue when implementing ajax polls. Thanks On Wed, Nov 11, 2009 at 1:18 AM, Igor Vaynberg

Re: getPage question

2009-11-10 Thread Igor Vaynberg
your attachment never made it through. -igor On Tue, Nov 10, 2009 at 3:12 PM, Pamir Erdem pamir.er...@gmail.com wrote: In the attachment you'll see that the regions that intersect with each other indicates that the slowest method execution on stack trace. If you look at Count Delta on getPage