Hello I have a pagelink that point to this /products/computer/5 In my Products.java I have two onActivate methods. See below. When I click the pageLink I can see that both onActivate are called. Because this is printed to the output console:
onActivate(String categoryName, int pageNr) onActivate: (String categoryName) Can somebody explain this? I would expect only public void onActivate(String categoryName, int pageNr) to be called, because the context has 2 parameters. greetz, Peter public void onActivate(String categoryName) { System.out.println("onActivate: (String categoryName)"); } public void onActivate(String categoryName, int pageNr) { System.out.println("onActivate(String categoryName, int pageNr)"); }