gwt

Spring - Security : how are login username and password bound to the authentication-provider?

Hi, I am new to spring and spring security, I have understood how beans are created and referenced in the xml files, I need to provide security using spring into my application. I included a custom applicationContext-security.xml file in my web.xml : contextConfigLocation in this file, I have intercepted url patterns using <intercep...

Go to a new page, but still have GWT variables?

In GWT, I would like to do something like a form submission that takes me to a new page, with new style sheet and new static elements, and when I get there, be able to extract the values of GWT variables still in GWT. In other words, I want to do most of the form processing on the client side instead of sending it to a servlet to be pro...

GWT: Loading contents of a panel from another class

Hi, I am a GWT newbie so please bear with me. I am trying to implement a HorizontalPanel from within a onModuleLoad() where the left side is a simple navigation menu. However, I wish to load the right-hand side of the panel depeneding on what the user selects in the navigation menu. This is simple enough in one HUGE class, but I wish...

Adding Content to a GWT Horizontal Panel from another class

Hi, Warning: Newbie Alert! I am very new to GWT and are trying to populate the right-hand-side of a HorizontalPanel used in an onModuleLoad() method from another class (containing other widgets) so to keep the code seperate. What I am trying to acheive is similar to a PHP include where I can alter the code in another class and it will...

I need a simple custom authentication in spring

I need to have a custom authentication in spring, it should be a simple class that takes the username and password provided by a user and compares it with some values and based on that it should authenticate. We are using a system made in GWT, our login form, on success, opens another page in a new window. This is what i have attempted...

How to integrate Spring Security and GWT?

I'm trying to integrate Spring Security and GWT. I'm also using gwt-incubator-security. I configured everything as it was described on their wiki pages. I managed to get security working by using intercept-url, but I can't get it working using annotations. Any ideas about what the problem is? P.S. I'm using Spring 2.5.6, Spring Security...

Can GWT be made accessible for users with JavaScript disabled?

My question concerns Google Web Toolkit (GWT). I'm about to begin development for a project that will reside on an Intranet where some users may have JavaScript disabled. After seeing what GWT has done for Google Wave I've been very interested in learning and applying it to this new project, but if it isn't accessible to those users then...

Easy to use GWT editable datagrid ?

I need recommendations from people whom have implemented an easy to use GWT editable datagrid. I spent 4 hours with the PagingScrollTable in the gwt-incubator-july-14-2009.jar, and would now like to try other options. What I'm looking for: easy to get started (ex. drop a jar, edit .gwt.xml) advanced features once you have gotten star...

Horizontal Panel: Checking for the existance of widgets

Hi, Newbie question: I have a Horizontal Panel with a navigation menu in the first cell. When a user selects an option in the navigation menu I wish to populate the second cell to the right of the nav menu with a composite widget. What I need to do is: User clicks button in first cell Check to see if cell 2 got a widget added to it?...

GWT hosted mode not working with Spring + Eclipse + GWT Eclipse plugin

I've been trying to get GWT working with Spring for a while now. Is there anyone who is using official Eclipse GWT plugin with Spring, and who has managed to get hosted mode working with that combination? I'm using GWTController to initialize GWT through dispatcher-servlet.xml. Since my WEB-INF is not in war, but in WebContent folder, I...

GWT: context menu in RichTextArea

I'm using a RichTextArea in a GWT app. I want to add a context menu to my RichTextArea: public class MyRichTextArea extends RichTextArea implements HasContextMenuHandlers { public HandlerRegistration addContextMenuHandler(ContextMenuHandler h) { return addDomHandler(h, ContextMenuEvent.getType()); } } (...) myRichText...

How to fix IE font huge size in GWT

Hello there, I am using a standard GWT CSS + my own CSS file with font size set to 80%. It works in all browsers except IE where the font is huge.. HUGE would be more like it. :-) Here is my CSS declaration: body,html { font-family: Arial, sans-serif; font-size: 80%; } How can I achieve this so IE complies? Daniel ...

With which versions of GWT does Seam work?

Hello, I recently tried to combine SEAM and GWT in a project - but failed using GWT 1.7.1 and Seam 2.1.2 CR2 and Seam 2.2.0 GA (if you have any ideas why - here is the post). I was wondering: Do you have any experiences which versions of GWT work with which version of SEAM out of the box? With workarounds? Thx! (PS: For Seam < 2.1.0 an...

Number of GWT RemoteServiceServlets

When designing an application with a large number of remote services, is it better to have one RemoteServiceServlet end point with many methods or a large number of RemoteServiceServlet endpoints with fewer methods? ...

is there any editable combobox in GWT?

I want to add editable combo box in GWT , so please tell me the solution ? ...

How do i know that which menu item is clicked ?

My code is VerticalPanel v1 = new VerticalPanel(); Command comm = new Command() { @Override public void execute() { // How i know that which menu item is cliked } }; MenuBar menu = new MenuBar(); menu.setWidth("500px"); menu.setAnimationEnabled(true); menu.setAutoOpen(true); menu.addSepar...

How can I override the default CSS file (cbg_button.css) supplied with the cobogw library?

Actually I created a button using the cobogw widget library. But the button does not look so good. How can I override the default CSS file (cbg_button.css) supplied with the cobogw library. ...

Using my own model with GWT

I want to use my own existing model in GWT application. From what I've seen, GWT requests that model is placed in the ...gwt.client folder or one of its subfolders. However, my folder is in .jar file in the WebContent/lib folder of my project. I've tried including my project by placing this line in MyModule.gwt.xml: <source path="my.cl...

How to begin working with GwtQuery?

Hi, I've dived into the GWT world a couple of months ago and find it quite interesting. I'm currently developing a web application which is to be used internally and so we need to resize the browser window, which can only be done by JSNI. After hitting some problems regarding the JSNI I was advised to look into jquery and I found that i...

Why does Safari ignore css table row (tr) height attributes after re-draw?

I'm struggling to apply css-styling to a GWT (Google Web Toolkit) generated html table in Safari. Specifically, I cannot get Safari to respect the height attribute of a table row after I trigger any kind of re-draw of the table. The following basic example illustrates the problem: <html> <head> <style type="text/css"> tr...