I upgraded an existing SmartGWT1.3 project to SmartGWT2.0 and I see the following error message on one of the forms:
Uncaught JavaScript exception [java.lang.AssertionError: Invalid FormItem name. Cannot use spaces in FormItem name.
at com.smartgwt.client.widgets.form.fields.FormItem.setName(FormItem.java:2890)
I am not setting the name to spaces as can be seen in the code snippet below:
Uncaught JavaScript exception [java.lang.AssertionError: Invalid FormItem name. Cannot use spaces in FormItem name.
at com.smartgwt.client.widgets.form.fields.FormItem.setName(FormItem.java:2890)
I am not setting the name to spaces as can be seen in the code snippet below:
Code:
final PasswordItem newPwdItem = new PasswordItem();
newPwdItem.setName("New Password");
newPwdItem.setRequired(true);
Comment