ext-gwt

Difference between gwt-ext and ext-gwt

Am I taking crazy pills, or are these two things pretty much identical? ...

How to use EXT-GWT ComboBox

How do I use ComboBox in EXT-GWT with static data. For example I just want to hard code (for demo purposes) list of First Names and display it to the user. I don't want to use any dummy objects that they are using in their samples. Where can I find simple example with Strings? ...

Ext-GWT Advanced Form

I'm attempting to use the advanced forms of Ext-GWT, but the provided example is only shows how to lay out the form, not submit or process data. Are there any end to end examples of how to use these? I'm attempting to make a form that has text and a file upload, but I have no idea how to do anything beyond what is provided out in the exa...

[Ext-GWT] Adding a resize listener to LayoutContainer

I am using Ext-GWT 2.0.1 and GWT 1.6.4 I have a LayoutContainer that uses a RowLayout. The widgets are added to this container with RowData(1,-1), so that when they change in height, the container also changes height accordingly. I want to do something when this LayoutContainer changes size. How can I add a listener that does this? ...

Get Name of selected RadioButton in EXT-GWT RadioGroup

I have following code: final Radio trDelRadio = new Radio(); trDelRadio.setName("TDRADIO"); trDelRadio.setBoxLabel("Training"); final Radio cdcRadio = new Radio(); cdcRadio.setName("CDCRADIO"); cdcRadio.setBoxLabel("Content"); final Radio msRadio = new Radio(); msRadio.setName("MSRADIO"); msRadio.setBoxLabel("Management"); final Radi...

EXT-GWT Portal: How to get all Portlets?

Hi all this is my first Question here! Im just making my first steps with (Ext-) GWT. I´m testing the Ext-GWT libraries and really: These are absolute great! Now my question: Is it possible to make a kind of "clear-Portal" or "hide all portles" for a defined Portal? Or have i always manually clear the portal like in my example code abov...

Ext-GWT TreeGrid indirectly calls a GWT-RPC callback? Why?

I am using GWT-RPC to populate Ext-GWT TreeGrids with data from a server. I am using 4 callbacks to populate 6 TreeGrids. As the callback onSuccess function modifies the TreeGrid by inserting rows, the TreeGridView needs to render the rows. The callback class is called MainPnlSummaryTablesAsyncCallback. For some reason, when it needs...

DateField getting value

I have problem with getting value of com.gwtext.client.widgets.form.DateField component. I would like to parse date on the server side so I'm using method getText() instead of getValue(). Problem is that DateField component has format YYYY-MM-DD but if I print date value I get result "Thu Sep 17 2009 00:00:00 GMT+0200", so the format is ...

Is it possible to use Ext GWT and Smart GWT components in the same project?

I want to use ext-gwt in one of my projects but some components of ext-gwt is not enough for me. Smart-Gwt has much more components and I want to use also smart-gwt components in this project. Is it possible? ...

widget to upload multiple files

Hi I'm developping an application using Gwt and Gxt (Ext GWT). There isn't any widget in Gxt to attach many files in a form before posting it. I'd like something like this widget in extJS: http://www.extjs.com/learn/Extension:UploadForm Does someone know a solution to add such a widget in my gxt project ? Thanks for yours answers. ...

EXT GWT + java EE

Hello. My question is: what is the best way to send my jee annotated entity beans' data to the clientside to use it in a grid for example? Surely I could make the BaseModel-extended client models for each entity manually, but I wonder what could be the best-practice here. I need a step-by-step tutorial if possible. regards ...

gxt + j2ee hosted mode

Hi. I'm trying to develop a jee+gxt application. I have an rpc call which calls a session bean's method. If I compile the project and run it in the browser, it works fine, but when I use hosted mode I get an exception like this: (edited for readability) Exception while dispatching incoming RPC call ... Caused by: java.lang.NullPointe...

Correct handling of OnMouseWheel events in Ext-GWT

I'm trying to figure out which property of BoxComponentEvent will tell me if the generated OnMouseWheel event was a scroll-up or scroll-down event. I have output the values of all the properties BoxComponentEvent exposes; and all of them (with the exception of the coordinates at which the event took place) stay the same regardless. Googl...

Can Ext-GWT animate the window minimize-down event?

Looking at the web desktop sample for Ext-JS I see that when a window is minimized or restored, that there is an animation where a transparent rectangle shrinks down to the task bar or grows up to the window location. When I look at the same demo for Ext-GWT there is no animation: the window just vanishes and reappears. Is there a way...

how to handle refresh mechanism in GXT MVC

HI, How to retain the current state of the application with all the opened tabs and loaded grid when user does browser refresh or f5 in GXT using MVC pattern? Regards, Srini ...

Please explain Ext-GWTs layouting (and resizing) model to me

I cannot seem to get my head around how to do a proper layout in Ext GWT that responds properly to resizes. I assume that I can declaratively specify layouts, put my components in them, and let the library take care of the rest; I just haven't figured out how yet. What I really don't want to be doing is writing resize handlers for my co...

[ ExtGWT / GWT ] Horizontal align problem

hi, i want to place a some buttons in the center of a panel, but doesn't work. Here my code: import com.extjs.gxt.ui.client.widget.HorizontalPanel; import com.extjs.gxt.ui.client.widget.Label; import com.extjs.gxt.ui.client.widget.LayoutContainer; import com.extjs.gxt.ui.client.widget.VerticalPanel; import com.extjs.gxt.ui.client.widge...

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...