struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <brenmcgu...@tariffenet.it>
Subject Re: Struts app on bar code scanner
Date Wed, 24 May 2006 07:28:05 GMT
marcus biel (innoWake gmbh) ha scritto:
>     public String getMyValue() { 
>         System.out.println("Get MyValue: "+ myValue); // returns NULL
>         return this.barcode; 
>     }
>     public void setMyValue ( String myValue) {  
>         System.out.println("My MyValue: "+ myValue); // Returns myValue
>         this.myValue = myValue; 
>         this.myValue = this.myValue.trim();
>     }
>   

this.barcode? Is this a bug or a typo?
Probably it returns null because you set myValue and get this.barcode?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message