This content has been marked as final.
Show 2 replies
-
1. Re: a4j:commandLink, onclick & javascript validation
sergeysmirnov Apr 11, 2007 4:25 PM (in response to jjr7)Your thought is not quite correct. Actually, you do not use the return of your function inside the onclick. It is similar to calling the java method that returns int, but not assigning the result of this method to any variable.
So,
onclick="if (! validateSearchInput()) {return false};" -
2. Re: a4j:commandLink, onclick & javascript validation
jjr7 Apr 11, 2007 4:44 PM (in response to jjr7)Oh, I get it! Thank you!