Your url probably indicates a direct link (or similar) that triggers the
onDoSthg listener of PageA, no? If you find this behavior undesirable,
then you should redirect to PageB instead of simply activating it.
Paul
david joffrin wrote:
Hi,
I have just realized something today on my code, really wierd... I
think this is due to the RequestCycle object, but, I would need some
clarification in order to fix it the right way.
So, the scenario is as follow:
class PageA {
...
onDoSthg(IRequestCycle cycle) {
PageB page = (PageB) cycle.getPage("PageB");
cycle.activate(page);
}
}
After page B is rendered, I click the button RELOAD... then A.onDoSthg
is being re-executed.... Why that?
Thanks.
DvJ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]