How do I validate a textfield according a specific Java type?
STextField and all view components automatically validate entries against the bound property type. In the model for a view, set the variable type for your STextField’s bound property to the datatype you want to validate for. If you bind to a BigDecimal, the STextfield will validate for numeric values and report an error if the entered data is incorrect. If you enter something wrong it should turn pink and the tooltip should also be pink and describe the validation error.