Unable to add GXT Checkbox

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Unable to add GXT Checkbox

Postby zone1511 » Thu Feb 25, 2010 9:50 pm

Hi All,
Does anyone able to add the GXT's checkbox group into the visual designer? I try to add the checkboxgroup in source code and when I switch to design mode, the following error occurs
502 (Unable to load *.wbp-component.xml description.). com.extjs.gxt.ui.client.widget.form.CheckBoxGroup

Similar error occurs when I add the ListView from GXT
zone1511
 
Posts: 2
Joined: Thu Feb 25, 2010 9:45 pm

Re: Unable to add GXT Checkbox

Postby Eric Clayberg » Sun Feb 28, 2010 7:37 am

zone1511 wrote:Does anyone able to add the GXT's checkbox group into the visual designer?

Yes. No problem at all...

Code: Select all
package com.mycompany.project.client;

import com.extjs.gxt.ui.client.widget.form.CheckBox;
import com.extjs.gxt.ui.client.widget.form.CheckBoxGroup;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;

/**
* Entry point classes define <code>onModuleLoad()</code>.
*/
public class ImageViewer implements EntryPoint {
    public void onModuleLoad() {
        RootPanel rootPanel = RootPanel.get();
        {
            CheckBoxGroup checkBoxGroup = new CheckBoxGroup();
            {
                CheckBox checkBox = new CheckBox();
                checkBoxGroup.add(checkBox);
                checkBox.setBoxLabel("New CheckBox");
                checkBox.setHideLabel(true);
            }
            {
                CheckBox checkBox = new CheckBox();
                checkBoxGroup.add(checkBox);
                checkBox.setBoxLabel("New CheckBox");
                checkBox.setHideLabel(true);
            }
            rootPanel.add(checkBoxGroup);
            rootPanel.setWidgetPosition(checkBoxGroup, 82, 101);
            checkBoxGroup.setSize("275px", "239px");
            checkBoxGroup.setFieldLabel("New CheckBoxGroup");
        }
    }
}

zone1511 wrote:I try to add the checkboxgroup in source code and when I switch to design mode, the following error occurs
502 (Unable to load *.wbp-component.xml description.). com.extjs.gxt.ui.client.widget.form.CheckBoxGroup
Similar error occurs when I add the ListView from GXT

Since you haven't provided any information about your environment, or provided a test case or provided your Eclipse ".log" file, I can only guess that you don't have GWT Designer and/or GWT and/or GXT and/or Eclipse properly installed.

I would suggest re-installing GWT Designer into a new, clean Eclipse environment.

Also, in general, you should use the "Contact Support" button in the error window to submit cases like this.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest