I looked for a long time what was the matter, minimized the program and this is what happened:
package ru.ig.thdr.client; import com.google.gwt.core.client.EntryPoint; import com.smartgwt.client.widgets.form.fields.ButtonItem; public class Thdr implements EntryPoint { public void onModuleLoad() { System.out.println("Start"); ButtonItem bi = new ButtonItem("Button Item"); System.out.println("End"); } } It does not issue a trace (the infection does not paste from Eclipse), the meaning is as follows:
Unable to load module entry point ... java.lang.AssertionError: Invalid FormItem name. Cannot use spaces in FormItem name It falls on the new ButtonItem ("Button Item") ;. The error is clear ( space in the name ) for the FormItem.
The question is actually this - is it in all versions such garbage or did I get it? (Smart GWT 2.5)
Actually, it got me so stuck, because (fool himself) the error message was inattentively read and was looking for it in other places.
Another question is which html tag (or Unicode character) can insert a space (a character that is depicted as a space)?
<sp> и <nbsp> does not work.