contents of a javabean, particularly in a case of a Float field. The relevant code is :
Javabean :
public class Pago
{
.....
public Float getMontoTotal()
{
return Float.valueOf("1234567890");
}
.......
}
Html :
<td class="tit">
<input wicket:id="montoTotal" type="text" class="normal" size="20"/>
</td>
When the page is displayed it shows the following : 15-01-1970 in the textfield,
this value corresponds to the date equivalent (aprox) to the above number in
milisec.
The only thing I've done that can be important to this issue is to define a new
IConverterFactory to apply the same date format to the whole app.
What is going on?
Thanks.
Jaime.
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
