View Full Version : TextField<Integer> not binding to BeanModel

11 Aug 2010, 5:44 AM
Hi All,
I have used TextField<Integer>, it is not able to bind with beanmodel, i could able to bind String, boolean
can you please help me in this

11 Aug 2010, 6:01 AM
Can you please post some more informations about your code? Also why do you use a TextField and not a numberfield?

11 Aug 2010, 7:36 PM
Even i tried with NumberField but its not binding with beanmodel

public class Assessment{
* @jsonSerialization-javascriptPropertyName ramSize
private Integer ramSize;
public void setRamSize(Integer ramSize) {
this.ramSize = ramSize;
public int getRamSize() {
return ramSize;

//here is the binding code
NumberField ramSize = new NumberField();
binding.addFieldBinding(new FieldBinding(ramSize, "ramSize"));

12 Aug 2010, 2:12 AM
Can you please post a fully workign etstcase that implements EntryPoint?