Hello, I have some doubts I can't solve about passing values between pages and don't understand as I wish.Maybe you could help me.
1.-When I've got more than one onActivate() for a page with different kinds of arguments, for example: onActivate() { ...some_code_here... } onActivate(Long l) {...some_code_here...} onActivate(String s) {...some_code_here...} onActivate(String s1, String2) {...some_code_here...} How can I know which one of them is going to be called? Is it possible for more than one to be called when loading the same page? If this is true, which order do they follow? When I use a PageLink t:context="numberField" it calls only one of the onActivate, but in other pages I'm finding non-predictable behaviours for me. If I have a Object[] onPassivate() for example, can I do Object onPassivate() { if(condition) return new Object[] {a.toString(), b.toString()} else return new Object[] {c} // C being a Long Object } and catch the different cases by separate? 2.-About catching the values from selects and texfields, I've seen some code using attributes on Java with _attributeName linking these variables to the values on the html components. This is a convention on Tapestry that makes it to find automatically the so _named fields or I'm missing something? _________________________________________________________________ Messenger cumple 10 años ¡Descárgate ya los nuevos emoticonos! http://www.vivelive.com/felicidades