View Full Version : FormBinding TextField Issue

11 Feb 2010, 9:48 AM
When I try to do the form binding with various fields on the app. For some reason the binding is only working for the first textfield that is add for example.

TextField<String> fn = new TextField<String>();
TextField<String> ln = new TextField<String>();

_formBindings.addFieldBinding(new FieldBinding(ln, "lastname"));
_formBindings.addFieldBinding(new FieldBinding(fn, "firstname"));

This works fine in this example the lastname responds to the pojo binds, but not firstname. If you put firstname top, then only the firstname field responds to the binding. If some one can help with this issue please do not hesisate to inform.

Thank you,