You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Amanpreet <am...@netsoftglobal.com> on 2002/12/31 08:33:21 UTC

RE: Primitive type bean property

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