I use @contrib:NumericField for numbers - that's anyway nicer - for checks
and such

Marcus

> -----Original Message-----
> From: Inge Solvoll [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 29, 2005 4:48 PM
> To: Tapestry users
> Subject: Editing int/Integer in a TextField component
> 
> 
> For T3
> 
> I have run into a problem I didn't except to run into.
> 
> I have an object with a property of type int, which I would 
> like to edit 
> in a TextField on my page. But I get the following error:
> 
> "Parameter value (2) is an instance of java.lang.Integer, 
> which does not 
> inherit from java.lang.String."
> 
> Is there a solution for this, or do I have to provide a new field of 
> type String, that I convert myself? I would not like to do 
> this, since 
> it would force me into a less clean solution.
> 
> Inge
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to