Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

SmartGWT Applet - scClassName is undefined

$
0
0
I am trying to use SmartGwt Applet, but without success. Exception is:
com.google.gwt.core.client.JavaScriptException: (TypeError) @com.smartgwt.client.widgets.plugins.Applet::create()([]): $wnd.isc[scClassName] is undefined

I can not find any SmartGwt Applet example. Please, can you give me one (with jnlp_href would be the best)?

Thank you very much.

Code:

        @Override
        public void onModuleLoad()
        {
            Applet loginApplet = new Applet();
            loginApplet.setWidth(210);
            loginApplet.setHeight(110);
           
            // layout + draw
            VLayout layout = new VLayout();
            layout.setWidth100();
            layout.setMembers(loginApplet);
            layout.draw();       
        }

Versions: GWT 2.7.0, SmartGWT 5.1d (Tue Jan 27 11:40:00 CET 2015)

Viewing all articles
Browse latest Browse all 4756

Trending Articles