Hello Isomorphic,
I noticed that the signatures for FormItem setters are very different, e.g.
Also, there is no Long. If I try to set a Long, the Object-signature will be used. Is this correct and supposed that way?
I'm pretty sure it is, I just want to be safe from any surprises.
Are there any guidelines for the clientside and serverside?
Will the Java and compiled JavaScript Integer always be able to cover the range from –2,147,483,648 to 2,147,483,647? In that case, I would not need Long.
Thank you & Best regards,
Blama
I noticed that the signatures for FormItem setters are very different, e.g.
- void setValue(boolean value)
- void setValue(double value)
- void setValue(int value)
- void setValue(java.lang.Object value)
- void setValue(java.lang.String value)
- void setValue(java.util.Date value)
- void setDefaultValue(java.lang.Boolean defaultValue)
- void setDefaultValue(java.lang.Double defaultValue)
- void setDefaultValue(java.lang.Float defaultValue)
- void setDefaultValue(java.lang.Integer defaultValue)
- void setDefaultValue(java.lang.Object value)
- void setDefaultValue(java.lang.String defaultValue)
- void setDefaultValue(java.util.Date defaultValue)
Also, there is no Long. If I try to set a Long, the Object-signature will be used. Is this correct and supposed that way?
I'm pretty sure it is, I just want to be safe from any surprises.
Are there any guidelines for the clientside and serverside?
Will the Java and compiled JavaScript Integer always be able to cover the range from –2,147,483,648 to 2,147,483,647? In that case, I would not need Long.
Thank you & Best regards,
Blama
Comment