Boris
Dec 13th, 2004, 05:25 AM
class MyClass
{
int counter
String name;
}
I've build swing form for MyClass.
I've set no rules at all.
Now, when I insert in "counter" field (which is integer!) alphabetic symbols,
form shows the message:"org\springframework\binding\form\support\Validatin gFormModel.ValueSetterConstraint@e0..."
This behavior is OK, but how I can control it?
Besides, when inserted number with explicit "-" e.g -222, its OK,
but number with explicit "+" gets the same error. (BUG?)
The quiestion is : how can I set my message to these apparently "default" things without implementing my own rules?
{
int counter
String name;
}
I've build swing form for MyClass.
I've set no rules at all.
Now, when I insert in "counter" field (which is integer!) alphabetic symbols,
form shows the message:"org\springframework\binding\form\support\Validatin gFormModel.ValueSetterConstraint@e0..."
This behavior is OK, but how I can control it?
Besides, when inserted number with explicit "-" e.g -222, its OK,
but number with explicit "+" gets the same error. (BUG?)
The quiestion is : how can I set my message to these apparently "default" things without implementing my own rules?