[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    RE: Primitive type bean property
From:       "Amanpreet" <amanpreets () netsoftglobal ! com>
Date:       2002-12-31 7:45:21
Message-ID: 009f01c2b09e$e51d28d0$2a00a8c0 () netsoftglobal ! com
[Download RAW message or body]

Hi Patrick

Do you want to Map the <html:text /> to a Beanproperty of type CHAR.?

Regards
Amanpreet 



-----Original Message-----
From: Patrick Cheng [mailto:patrick.cheng@hq.oneport.com] 
Sent: Wednesday, December 31, 2003 8:26 AM
To: Struts Users Mailing List
Subject: Primitive type bean property

Hi All,

A quick question.
Has anyone tried to write the form with property of a 'char' primitive
type?
That is:

public char getC(){...}
public void setC(char c){...}

Is it supposed to work normally? I was doing it and the value was never
set. 
I just need to know that if anyone had done it this way and get it to
work.

The reason I'm not using Wrapper class Character... Is because the code
is generated by  ejbgen.

Rgds,
Patrick.

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



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic