Hi all,

I would to know if it's possible to have several onActivate methods with
differents parameters type. In fact, I have two objects class with this
hierarchy :

       MySuperObject
            ^        ^
           /            \
  MyObject1     MyObject2

And I want to navigate with any objects and have different behavior in page,
like:

onActive(MyObject1 myObject1) {
   // some works with myObject1 instance...
}

onActive(MyObject2 myObject2) {
   // some works with myObject2 instance...
}

Unfortunately I have a ClassCastException...

An idea?

Regards,
Ulrich


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Multiple-onActive-tp4612951p4612951.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