As Andy already pointed, this is normal Tapestry behaviour.
When you have more than onActivate() method, I recommend the use of a
single method receiving an EventContext
(http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/EventContext.html):

onActivate(EventContext event) {

    if (event.getCount() == 1) {
        String categoryName = event.get(String.class, 0);
    }
    if (event.getCount() == 2) {
        String categoryName = event.get(String.class, 0);
        int pageNumber = event.get(Integer.class, 1);
    }

}

-- 
Thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to