This content has been marked as final.
Show 2 replies
-
1. Re: Method Signature for Navigation
asookazian Aug 11, 2009 1:48 AM (in response to varussell)Is the context/concern of your question method over-loading scenario?
like myClass.myMethod(long) and myClass.myMethod(int)?
public class foo{ public void m1(long l){ // } public void m1(int t){ // } }
If that's the case, you could do myMethod(new Long(foo)), otherwise, rename the methods so the names are not the same.
-
2. Re: Method Signature for Navigation
varussell Aug 11, 2009 2:54 PM (in response to varussell)No since in that case they are both primitives resulting in the same signature. The problem is that the navigation tag is not recognizing the method when a parameter is passed in and therefore does not correctly re-direct.