gwt

GWT Maven Eclipse Plugin - Compilation Fails Due to Duplicate Class

Hi, I am using Eclipse 3.5 (Galileo) with m2eclipse and GWT Eclipse plugins installed. I created a project using the gwt-maven-plugin archetype. I have created an RPC service defined with these classes: my.package.client.DataService my.package.client.DataServiceAsync my.package.server.DataServiceImpl When I run mvn clean, the targe...

Use obfuscated CSS name from ClientBundle in down stream css

I've got a library with some CSS, and a depending project that expands on the CSS. I'm trying to move both of them to ClientBundle. Currently, library.css is .smallWindow { min-width: 10px; outline: none; } And depProject.css is .sectionA .smallWindow { color: blue; } I moved library.css and depProject.css into ClientBundles (Libr...

GWT TabLayoutPanel is always collapsed

I have a trivial TabLayoutPanel made with a UIBinder. The tabs render but none of the contents do. It's in the HTML, but it's always collapsed (inline styles set on the elements make it collapse). As far as I can tell this is identical to every TabLayoutPanel example I've seen. Other widgets render fine. The project is just the basic exa...

Maven and GWT (and Eclipse) - Does it really work?

Over the past few days I have been trying to create/run a project in Eclipse using the gwt-maven-plugin and keep running into roadblocks (see some of my previous questions). I like to use Maven to do my builds, but I'm at the point where I'm thinking of going the Ant build route because of the complications of using Maven. Does anyone ...

Integrate automated GWT GUI testing with build system

I am in flux for integrating an automated GUI testing with my build system. My GUI application is developed in GWT. I use HUDSON as my automated build system. I would like to perform sanity test of my application. As I understand, the entire test setup will have following steps. Build and deploy the application in predefined applicatio...

How to get a row's width to fit to the width of the other rows in a table? (html)

In the following table, the first cell content is dynamically generated. The long text in the second cell causes the table width to grow beyond what is needed to fit the first cell. How can I get the bottom cell to wrap to another row, instead of widening the table? I can't use a fixed width for the second cell, because the first cell ...

GWT Gadget for iGoogle No Compiler Output

Hi, I'm trying to build a gadget with the GWT plugin for eclipse. Following the instructions Here: http://code.google.com/p/gwt-google-apis/wiki/GadgetsGettingStarted it says I'll get several .cache.js files produced and a *.xml file. I don't see either of these, just the nocache.js file and a few images. I've also tried importi...

Importing enums in GWT

I have following code import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.UIObject; import com.google.gwt.dom.client.Style.Unit; import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.LayoutPanel; import com.google.gwt.user.client.ui.RootLayoutPanel; import com.google.gwt.user.cl...

GWT AbsolutePanel being forced to move when overflow item is clicked

Hey all- I've been having a problem that I just can't figure out. The layout set up is I have a HorizontalSplitPanel with the left panel being an AbsolutePanel. The AbsolutePanel contains a tree. When the split divider is moved over a node which contains a label widget, and overflow occurs showing a horizontal scroll bar, if the labe...

GWT CellTable with ImageResourceCell

Does anyone have an idea on how to implement a GWT CellTable with an ImageResourceCell from GWT 2.1M3? I have the following but can't seem to figure out the correct way to add an ImageResourceCell CellTable<DeviceInfo> ct = new CellTable<DeviceInfo>(); // ct.setSelectionEnabled(true); ct.setSelectionModel(setSelectionModel(ct)); ...

Horizontal scroll bar in combo box in GXT

I am working with GXT to develop a web application. But I am finding difficulty in adding the horizontal scroll bar in combo box. Some of the items of the combo box have large text and I can't see all the text when I see the combo box items. I am not finding a way to set a horizontal scroll bar to the combo box. When I searched in the ne...

GWT List Grid: Improve DOM element cration performance

Hi, I have a List grid where elements are being added dynamically after fetching from server. But to add each element in the grid it takes around 40mili seconds, which is too slow. To add 300 elements it takes around 10/12 seconds in Firefox(3.6) and IE(8), but opera does it faster. Please help me. Thanks, Kisor ...

Creating dynamic view in GWT using MVP Arch.

I am starting new project using GWT but in this project view will be dynamic. I will read all metadata from XML configuration files and create view according to this metadata. I want to use MVP architecture with GWT but I need to know how I can use MVP for dynamic view, because all samples I see have static contents. Do you have any sugg...

install sun web java system 7.0

in ubuntu 10.04 i am using netbeans and trying to implement GWT applications i have installed GWT plugins and also Sun Java System Web Server 7.0 plugin but when i create new project it ask me to indicate installatio director of this server and i can't find it please help ...

Populating a Dictinoary object in GWT with data from server

Hi I'm trying to populate a Dictionary object in GWT with data from the server. The Dictionary takes a javascript as input, but I want to send in a String. (acctually its an hashmap.toString). How do I create an javascript object from my string (in java ) that Dictionary will accept? Thanks ...

Change content of a Label depending on panel size

Hi there, once again I've got a question. Since I am using Google Web Toolkit (GWT) at work (along with Java Servlets), I am currently building some user interface with GWT (in Java). I've got some trouble though. I am using a SplitLayoutPanel which contains a ScrollPanel on the left and another one on the right. In the left ScrollPan...

GWT Widget does not allow long-touch-to-copy selections

We're developing a mobile application using GWT and are facing the following problem: iPhone offer a long touch function to do copy&paste for all kinds of stuff. But when we're using the HTML widget or another widget that has explicit ClickHandlers, those events are not forwarded. This even occurs, when there is no clickhandler defined....

How to switch to a different view and controller in GWT?

I have a widget written in GWT. In the implementation of EntryPoint, I have the widget load a controller and a view that is tied to that controller. I add this view to the RootPanel and it works fine. public class EntryImpl implements EntryPoint { SimplePanel simplePanel; View view; Controller controller; public final void ...

How to prevent one page from displaying if user has not logged in?

Hello! I have created 2 html pages and 2 GWT modules. The first page is a login page. If the login is successful, i open the second page with Window.Location.assign("URL"). I can still open the second webpage without logging in just by typing the correct URL in the browser. How to prevent this second page from displaying if user is not...

Duplicating the <g:tab> element of GWT's TabLayoutPanel

I've found the GWT tab panels clunky for the styling I need to do, so I'm trying to make my own, simple tab panel. Basically an HTML5 <nav> element for tabs and a DeckPanel to display the content. Let the use figure out the rest with CSS3. The GWT TabLayoutPanel has these "special" tags it uses to define the contents of a tab: <g:TabLa...