Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
GWT/SmartGWT
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Glen  
View profile  
 More options Nov 6, 9:43 am
From: Glen <glen.warho...@gmail.com>
Date: Fri, 6 Nov 2009 06:43:39 -0800 (PST)
Local: Fri, Nov 6 2009 9:43 am
Subject: GWT/SmartGWT
I am just learning to use these components.

I build a very small Dynamic Web Project with Eclipse 3.4 Ganymede
I am using java verison 1.6.0_10, GWT 1.7.0, and SmartGWT 1.3

I have a simple program (see below) that uses a ListGrid and adds it
to
a tab panel.  It compiles and runs under Windows.  It compiles but
does not
run under Redhat Linux.

I get a stack trace that starts at the line where I add the ListGrid
to the TabPanel
and works its way through the GWT library into SmartGWT and fails at
at com.smartgwt.client.widgets.BaseWidget.setProperty(NativeMethod)
at com.smartgwt.client.widgets.BaseWidget.setAttribute(BaseWidget.java:
498)
at com.smartgwt.client.widgets.Canvas.setWidth(Canvas.java.5453)
        :
        :
        :
at org.glen.test.client.GlenTest.onModuleLoad(GlenTest.java:40)

/**
 *
 */
package org.glen.test.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.TabPanel;
import com.smartgwt.client.widgets.grid.ListGrid;
import com.smartgwt.client.widgets.grid.ListGridField;

/**
 * @author Glen
 *
 */
public class GlenTest implements EntryPoint {

        public void onModuleLoad() {
                TabPanel tp = new TabPanel();
                ListGrid lg = new ListGrid();
                                lg.setWidth(500);
                                lg.setHeight(224);
                                 lg.setShowAllRecords(true);
                ListGridField nameLGF = new ListGridField("name", "Name");
                ListGridField bossLGF = new ListGridField("boss", "Boss");

                lg.setFields(new ListGridField[] { nameLGF, bossLGF});
                lg.setData(TestData.getRecords());
                                lg.setCanResizeFields(true);

                tp.add(lg, "Employees");
                RootPanel.get().add(tp);
        }


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mariyan nenchev  
View profile  
 More options Nov 6, 10:42 am
From: mariyan nenchev <nenchev.mari...@gmail.com>
Date: Fri, 6 Nov 2009 17:42:10 +0200
Local: Fri, Nov 6 2009 10:42 am
Subject: Re: GWT/SmartGWT
    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
g p  
View profile  
 More options Nov 7, 11:12 am
From: g p <ghost...@gmail.com>
Date: Sat, 7 Nov 2009 18:12:36 +0200
Local: Sat, Nov 7 2009 11:12 am
Subject: Re: GWT/SmartGWT

Yes, do ask at the above mentioned forum, but as a general rule, try not to
mix the two libraries. Stick to SmartGWT widgets. The two libraries do not
behave well to each other when they are part of the same panel etc. For your
case have a look at the Tab widgets provided by the SmartGWT library (i.e.
TabSet and Tab classes).

2009/11/6 mariyan nenchev <nenchev.mari...@gmail.com>


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google