Hi,
I am facing a weird problem related to the activation method of page.
I have three pages named as, Page1, Page2 & Page3.
In Page1, I have two activation methods.
@OnEvent(value = EventConstants.ACTIVATE)
public void activateFromDetails(String contractNumber, String pageName) {
this.contractNumber = contractNumber;
this.pageName = pageName;
}
@OnEvent(value = EventConstants.ACTIVATE)
public void activateFromList(boolean isCreate, String pageName) {
this.isCreate = isCreate;
this.pageName = pageName;
}
When I come from Page2 to Page1 - I'll pass "Boolean" and "String" as a context
parameter
When I come from Page3 to Page1 - I'll pass "String" and "String" as a context
parameter
Now the weird situation occurs, both the activation method getting called in
Page1, irrespective of the context parameter.
Any idea why both the activation getting called???
Regards,
Mahendra