|
From: <php...@li...> - 2008-09-03 15:34:34
|
Of course, the error is in the method declaration, see:
*public Boolean isValidAccountNumber(String acctnum) { *
Java is performing an automatic typecasting from native boolean to object
java.lang.Boolean.
You must change your method declaration by (notice the native boolean):
*public boolean isValidAccountNumber(String acctnum) {*
Please test this change and give your feedback.
Greetings from Cartagena / Colombia
--
Roger Padilla
On Wed, Sep 3, 2008 at 9:57 AM, <php...@li...
> wrote:
> Benjamin wrote:
> >>I had a similar problem and I use java_values() to solve, try :
>
> >>if( java_values($IDEAS->isValidAccountNumber($acctnum)) ){
>
> That was it. Thanks so much Benjamin.
>
> Charles Shaffer
> Senior Analyst
> NTN-Bower Corporation
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
--
Roger José Padilla Camacho
|