gxt

GXT HtmlEditor - How to retrieve the text?

Looking for an example of the ext-GWT / GXT HTMLEditor, especially the part where you retrieve the user's entry. Thanks C ...

Missing dependencies

i get suddenly an error message, that 3 dependencies are missing: gwt-user.jar, gwt-dev.jar and gxt.jar. All jars are in my local repo: dage [~/.m2/repository] $ ls -l com/google/gwt/gwt-user insgesamt 12 drwxr-xr-x 2 dage Domain Users 4096 2010-01-13 14:55 1.5.3 drwxr-xr-x 2 dage Domain Users 4096 2010-01-13 11:10 1.6.4 drwxr-xr-x 2 da...

How can I embed a webpage in a GWT/GXT webapp?

I am working to recreate (conceptually) a prototype I've written in Cappuccino in GWT/GXT. Cappuccino made it trivial to display an external webpage as part of the application by using a WebView. However, I cannot find any way to do this with GWT/GXT. There is a HtmlContainer widget, but this seems to be intended for something else. An...

adding the same object twice

i have an label and two panels. i want to add the label into each panel, but after rendering is shown only one label. i can create second label, but i think, it must be possible to add the same label twice. Here my code: // Create labels Label sectorLabel = new Label("Bereich"); // Create panels/rows HorizontalPanel row1 = new Horizont...

Session variables not sticking with GXT

I'm encountering a strange problem with the session using GXT 2.1 and a Grails 1.2 backend. I'm creating two FormPanels, panelA and panelB, which submit to action1 and action2 in Grails respectively. In action1 I set a hardcoded session variable and retrieve it in action2, but it is always returning null! If I manually go to action1 then...

How to deal with slow widgets rendering in Ext GWT (GXT)?

I have window with few widgets inside. When it is rendered, it shows in top left corner for a second and then is centered. Is there any chance to lazy rendering? I mean that window is centered first and then child widgets are rendered. Or maybe I can hide window content behind mask during it is rendered? ...

linking gwt combobox with database

I created a gwt app with a gxt combobox. I have it where it pulls data (a list of names apprx 5000) from the database places it in an array which in turns places it in a store. That is then placed in the combobox using set store, so when a user starts typing in the combo it searches through the store for the name. My question: is this t...

How can I capture a component's render event in Google Web Toolkit?

I'm building an application using EXT for GWT (i.e. GXT). In GXT, every component that can be added to a page has an associated Render event that can be captured and handled. Due to some limitations I need to step down to pure GWT for a small portion of my application. Specifically, I want to modify the RichTextArea widget by adding s...

GXT LayoutContainer with scrollbar reports a client height value which includes the area below the scrollbar

I have this code which sets up a "main" container into which other modules of the application will go. LayoutContainer c = new LayoutContainer(); c.setScrollMode(Scroll.ALWAYS); parentContainer.add(c, <...>); Then later on, I have the following as an event handler pContainer = c; // pContainer is actually a parameter,...

Saving State of Objects in GXT

Is there a way to store the state of objects in GXT? That is, having a dynamically configurable GUI built in GXT, you can add your own widgets 'on-the-fly' in any order you like - with your own custom everything. Is there a way to save the state of all the objects, so one can load the profile back at a later date? EDIT: Or is there an...

How do I create a non-editable GXT ComboBox?

I'm using GWT/GXT and trying to create a "normal" ComboBox - one that you cannot type in, but you can type a single character and it will automatically go to the first item in the list that starts with that letter. So, I don't want it READONLY, I want it so that you cannot replace the text in it with your own text (can't type characters ...

Unknown runtime error number: -2146827687

I have an error in my GXT code on Internet Explorer (both Development Mode and not) when i try to attach a label to a panel. The error is "Unknown runtime error number: -2146827687" but this error in a GWT module is throws always, in other gwt modules with a label attached to the panel the error there isn't. The layout of panel is a Gri...

GXT: How to bring the login page when session expires

I am developing a web application using GXT, Hibernate, mysql etc. There is a login page for the application. Actually I am getting problem to set the login page when the session expires. We can set the timeout in the web.xml file but in that case we can't redirect to login page.Can you tell me how to achieve that. ...

File Upload in GXT discriminates against certain file types

We are using GXT (EXT + GWT) and Apache commons file upload servlet utility. We have file uploads working but certain types are not uploaded, e.g., text files. Even if the text files have their extension changed they are still not uploaded. In the FileUploadBase.parseRequest method this is the code that seems to be found to skip the...

How to superpose two GwtCanvas ?

Hi, I'm trying to superpose two GwtCanvas (which use an Html5 canvas). I am able to get this effect by using an absolute panel. But by doing this, I can't get my object to fill my panel. I would like to this so I can do a whiteboard in GWT. So far, I'm pretty advance but I would like to have multiple canvas overlay to support undo or pre...

Ext-GWT / GXT (Not So) Simple Layout Issue?

Hi all, I have posted this question on the Ext-GWT forums, I am just hoping that someone here might have an answer for me! I am struggling to do something I initially thought was simple but am beginning to believe is impossible... I have got a "layout template" of sorts - simply consisting of a few GWT DockLayoutPanel's within each ot...

Howto retain checkbox selections in pageable gridpanel

I have a use case that requires a data table that is pageable, has a checkbox selection per row, and needs to maintain the checkbox selections when paging. The best solution I could find so far is: http://blog.mersoft.com/2008/12/30/gwt-ext-retain-checkbox-selections-in-page-able-gridpanel/ Does anyone know a simpler solution? ...

GXT Performance Issues

Hi All, We are working on a rather complex system using GXT. While everything works great on FF, IE (especially IE6) is a different story (looking at more than 10 seconds until the browser renders the page). I understand that one of the main reasons is DOM manipulation which is a disaster under IE6 (See http://www.quirksmode.org/dom/in...

Connecting LDAP server from java application

I am building an application based on GXT (J2EE). Now the problem is that I have to connect the application to a LDAP server. Can you tell me how to connect a LDAP server from our java application and what Library or API I will have to use for that? ...

What is the best approach for unit testing/integration testing GXT code?

I have been tasked to setup a continuous integration environment for a GXT 2.1.1 and GWT 2.0.1 environment. Unfortunately I am new to AJAX and Web Services and have little idea how to setup unit tests in the browser environment. Unit tests for the server backend I already have done, since I am a pro at that. GXT is not quite pure GWT ...