Hi,

in a package, i got some files, the first one is Register.java, if I run:

localhost:8080/info/update/123
this works, if I run
localhost:8080/info/update

Register/onActivate() will be called before Update/OnActivate(), that's
quite surprising, Am I missing something here?

Thanks,

Angelo


info/Register.java

public class Register {

    Object onActivate()  {
        return Base.class;
    }
}


info/Update.java

public class Update {

    Object onActivate(String key)  {
                        // some process
        return Base.class;
    }

    Object onActivate() {
        return Base.class;
    }
}


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Why-the-activate-of-another-class-got-executed-T5-3-3-tp5714496.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to