struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jefferson Rodrigues de Oliveira e Silva <jefferson.si...@edb.ericsson.se>
Subject set form int field
Date Mon, 08 Apr 2002 10:17:06 GMT
Hi guys,

I'm having a problem with a bean int field.
When the user clickes in the form, the cursor goes to the end
of the text field. Then it types the value (let's say 3) and click
in the submit button.

What is happening is that the value (3) does not go to the bean
field, instead, the bean field gets a 0.

How can I do a trim in the form before the set is applied to the bean
field ?

Thanks in advance
Jefferson


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


Mime
View raw message