Re: JSONParser can't parse some unescaped unicode characters

2010-06-08 Thread Boris Granveaud
@gmail.com wrote: On Jun 7, 11:00 am, Boris Granveaud bgran...@gmail.com wrote: Hi, It seems that JSONParser doesn't like some unicode characters if they are not escaped with \u: public class Test implements EntryPoint {   public void onModuleLoad() {     for (char c = 0x2000; c

How to add Anchors to an GWT application

2010-06-08 Thread Florian Rhomberg
Hello! That´s more or less my question: How can I add an anchor for example to a tab pane, that I can directly get this tab by adding the anchor to the url? I did not find an example, but google uses this at the gwt showcase. I hope someone can help me! Thanks, Florian -- You received this

Re: How to add Anchors to an GWT application

2010-06-08 Thread Thomas Broyer
On Jun 8, 11:08 am, Florian Rhomberg florian.rhomb...@nettania.at wrote: Hello! That´s more or less my question: How can I add an anchor for example to a tab pane, that I can directly get this tab by adding the anchor to the url? I did not find an example, but google uses this at the gwt

Unable to access dir on network from GWt app

2010-06-08 Thread SC
I am running a GWT application on a tomcat container on a linux server. In one part of the code on the server side, I am trying to search for some files within a directory structure which is on the network . This works on windows hosted mode (hence I think my code is okay) but not when I deploy

Re: Unable to access dir on network from GWt app

2010-06-08 Thread Lothar Kimmeringer
SC schrieb: I am running a GWT application on a tomcat container on a linux server. In one part of the code on the server side, I am trying to search for some files within a directory structure which is on the network . [...] I don't get any errors or exceptions from the File class object

Managing of connection to JMS server, listening to JMS Topic

2010-06-08 Thread vkrejcirik
Hi, I'm developing web based application with GWT toolkit. I have client and server part. On server part, I have class for managing of connection to JMS server for listening to JMS topic. I don't find better way than periodically send request from client to server. On server I have saved last

Re: Unable to access dir on network from GWt app

2010-06-08 Thread SC
Okay thanks . On Jun 8, 11:33 am, Lothar Kimmeringer j...@kimmeringer.de wrote: SC schrieb: I am  running a GWT application on a tomcat container on a linux server. In one part of the code on the server side, I am trying to search for some files within a directory structure  which is on

Re: How to configure jetty in hosted mode

2010-06-08 Thread Antonio R. de Oliveira
You can put jetty-web.xml in WEB-INF directory. This file is the same as jetty.xml config file. On 7 jun, 15:22, Paul Stockley pstockl...@gmail.com wrote: I need to set up my project to use basic authentication to simulate the way our firewall works. I can do this through web.xml. However I

Re: Managing of connection to JMS server, listening to JMS Topic

2010-06-08 Thread Paul Grenyer
Hi On Tue, Jun 8, 2010 at 12:38 PM, vkrejcirik vkrejci...@gmail.com wrote: Hi, I'm developing web based application with GWT toolkit. I have client and server part. On server part, I have class for managing of connection to JMS server for listening to JMS topic. I don't find better way than

Re: Unable to access dir on network from GWt app

2010-06-08 Thread fmod
It may help to try to deploy in a fresh install of Tomcat (downloaded from apache, the bin distribution) executed with root. Most Tomcat distributions (specially the one from Debian) are configured for production mode. It may be really secure, but it's a nightmare for programmers. Once you have

Re: Inheriting a class within a package

2010-06-08 Thread Patrick Tucker
After a little bit more time beating my head on the table, I noticed I had a typo. For others, I went with this format: source path=package include name=Class1.java/ include name=Class2.java/ /source Thanks for your response, Pat On Jun 7, 5:45 pm, Thomas Broyer

Re: Managing of connection to JMS server, listening to JMS Topic

2010-06-08 Thread vkrejcirik
Hi Paul, I thought about using Spring for server side, but now I have 99% complete application and I don't have time to redesign it for using Spring. Or could I use Spring only for management connection to JMS ? I have only little experience with Spring.. DO you know, if it exists another way?

Re: Managing of connection to JMS server, listening to JMS Topic

2010-06-08 Thread Chris Lercher
Are you looking for this: http://forums.sun.com/thread.jspa?threadID=5397323 Probably, an even cleaner alternative would be to inject a JMS ConnectionFactory using Annotations: http://java.sun.com/javaee/5/docs/tutorial/doc/bnceh.html - I assume, it would clean up itself when undeploying, but

Re: Extracting the year from a Date() object

2010-06-08 Thread Eric
On Jun 7, 7:58 pm, Rob Tanner caspersg...@gmail.com wrote: I have a Date() object that holds a date of birth and I want to extract the year and make sure no one's trying to tell me they're 150 years old, etc.  The getYear method of the Date() class is deprecated and you normally use a

Re: seamless rpc during upgrades

2010-06-08 Thread Sripathi Krishnan
*IMHO, once you have deployed new code, you want to tell the users to refresh the browsers as soon as possible. Trying to get old clients working with new code can work at times; but since there is no guarantee I prefer to fail-fast.* * * *re. Old Client, New Server* I prefer to take a different

Safari 5.0 with GWT 1.7.x?

2010-06-08 Thread Geoffrey Wiseman
Anyone tried Safari 5.0 with GWT 1.7.x to see if it solves the crash issue? (http://code.google.com/p/google-web-toolkit/issues/detail?id=4220) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: problem with RequestBuilder

2010-06-08 Thread Tristan
take a look here http://www.google.com/url?sa=Dq=http://code.google.com/webtoolkit/doc/latest/tutorial/Xsite.html On Jun 8, 12:06 am, Alex monsterno...@gmail.com wrote: what should i use to make such a request? i have tried com.google.gwt.xhr.client.XMLHttpRequest, but the status code i get

Seeing RangeError: Maximum call stack size exceeded. with Safari 5 and our GWT 2.0.3 app

2010-06-08 Thread matthew jones
Anyone else having this issue? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to

Re: Extracting the year from a Date() object

2010-06-08 Thread Erik Uzureau
I am curious as to why folks wouldn't just use date.getYear() + 1900; There was a post[1] not to long ago that I replied to (inadvertently 3 times) essentially suggesting the above, but nobody followed up so I'm wondering if I'm not on the right track. In a nutshell: 1) The GWT date

Using jqPlot library (javascript chart) with the MVP pattern

2010-06-08 Thread Rizen
Hello, I'm creating a chart thanks to the jqplot plugin, which depends of the JQuery library. From the jqPlot website I try to implement the simple following example : public native void createChart() /*-{ line1 = [1,4,9, 16]; line2 = [25, 12.5, 6.25,

Hook before History changes

2010-06-08 Thread fmod
Hi, I think that question has been posted before but don't find any answer for it. I want to have a behavior like this forum, Whenever the user press back or forward buttons being able to alert the user that he is going to loose the changes. The problem come while navigating inside my page. If I

GWT and Spring - with Spring Web MVC or without it?

2010-06-08 Thread ezamur
Hi all... I am new to GWT - had some contact with it earlier but not enough to say I am confident with it. My task is to investigate this technology and pair it with Spring framework. There are a lot of tutorials explaining how this can be done, but what is bothering me is I can't decide which

1 layout - 3 browsers - 3 results?

2010-06-08 Thread Magnus
Hello, after struggeling with the positioning of layout panels without a real solution (thread layout problems with positioning or aligning content) I found out that things are even worse: There are totally different results with different browsers: - Linux + Firefox 3.6.3 - Windows + Firefox

Re: layout problems with positioning or aligning content

2010-06-08 Thread Magnus
Sorry, I did not realize the fmod's posting at the time of mine. However, today I found that things are even worse: The result looks totally different on different browsers (see thread: 1 layout - 3 browsers - 3 results? ) If this is true (and I didn't make another mistake) then GWT is not

Re: layout problems with positioning or aligning content

2010-06-08 Thread Magnus
Hi fmod, I am thinking about your advice using UIbinder, but I think I cannot use it, because my layout is dynamically generated. I think that the declarative way using UIbinder is for fixed panels like forms, isn't it? Magnus -- You received this message because you are subscribed to the

Re: layout problems with positioning or aligning content

2010-06-08 Thread Tristan Slominski
What do you mean by dynamically generated? Are you setting styles and widths programmatically? What's the use case? On Tue, Jun 8, 2010 at 10:45, Magnus alpineblas...@googlemail.com wrote: Hi fmod, I am thinking about your advice using UIbinder, but I think I cannot use it, because my layout

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread kozura
Not sure how many times this has been stated, but if you use the Layout panels as it seems you are, you must use standards mode by adding !DOCTYPE HTML to the top of your html file. Else your results are gonna be very problematic. On Jun 8, 9:33 am, Magnus alpineblas...@googlemail.com wrote:

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread Magnus
This is the case for TestLayout.html: !doctype html Magnus On Jun 8, 6:08 pm, kozura koz...@gmail.com wrote: Not sure how many times this has been stated, but if you use the Layout panels as it seems you are, you must use standards mode by adding !DOCTYPE HTML to the top of your html file.

Re: Managing of connection to JMS server, listening to JMS Topic

2010-06-08 Thread Stefan Bachert
On 8 Jun., 13:38, vkrejcirik vkrejci...@gmail.com wrote: Hi, I'm developing web based application with GWT toolkit. I have client and server part. On server part, I have class for managing of connection to JMS server for listening to JMS topic. I don't find better way than periodically send

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread Ian Bambury
I think your best bet is to use the onResize and just calculate it. CSS doesn't support centring vertically and I don't think GWT has any magic bullet either. Ian -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

No source code is available error when using resources

2010-06-08 Thread AkiRoss
Hello, I'm trying to use ClientBundle for icons and Constants for text in my application, but I get these errors: [ERROR] Line 133: No source code is available for type resources.images.IconsBundle; did you forget to inherit a required module? [ERROR] Line 134: No source code is available for

Get all markers added by GeoXmlOverlay.load()

2010-06-08 Thread Jesse Fulton
I'm planning on loading a bunch of markers using the GeoXmlOverlay.load() method, but I also need to be able to programmatically access the generated markers after the fact. Is there any sort of map.getAllMarkers() method that I can call to retrieve the markers? I haven't been able to find

GWT, servlet, JSP and datastore

2010-06-08 Thread laurentleb
To the GWT community, I am pretty new to GWT but familiar with n-tiers application development. I find GWT fascinating to develop rich web applications and went through the tutorial. This is amazingly simple to achieve. On the other side, I tested also Google app Engine to develop and deploy a

MenuItem

2010-06-08 Thread Siraj
hi, I am integrating gwt with jsp. fatched the gwt menu component on jsp but how to sent perticuler jsp page as link on it. Thanks in Advance Siraj -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Using GWT in an existing Java Project

2010-06-08 Thread Mike
Hi- I am trying to create a GWT application that will be stored in a much larger project (it is the project that contains all the code my company has developed, so its pretty big). However, eclipse will not allow me to create a Web Application Project within the existing project, and all my

Re: Delivery Status Notification (Failure)

2010-06-08 Thread Kuldeep Poonia
Hi all Sorry for this simple question because I am New in GWT. I get problem in UIBnder with ListBox. I hava a Class *Base *and I defined variable *name* in it. I hava a list for this name and I want to choose one of It. So I use @UiField ListBox name; and in ui.xml file I use

GWT-Roo Issue : ClassNotFound Exception while trying mvn gwt:run

2010-06-08 Thread Kaniska
Hi All, I am a newbie in Roo and GWT. Using following software (downloaded along with STS) STS Version : 2.3.3.M1-e3.5.2 Win32 ROO Version : 1.1.0.M1 [rev 3a0b8a3] Maven Version : 2.2.1 I had successfully created the First Project (Roo Standalone) as mentioned in

Problem in ListBox

2010-06-08 Thread Kuldeep Poonia
Hi all, I hava a variable name in Class Base and want to bind this to the listbox. so i use @ListBox name. and in ui.xml i use g:ListBox ui:field='name'/g:ListBox/td but it shows error that list cannot have hasText ot HasValue super interface. Plz Help whar can i do. -- You received this

RootPanel : addKeyPressHandler ?

2010-06-08 Thread Jean-Francois L.
Hello, I need to capture all keys press on the whole window (RootPanel) Is there a way to do this ? I see there no addKeyPressHandler on RootPanel ? Thank you -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Setting cell widthheight, while dynamically changing color

2010-06-08 Thread M.qrius
I'm trying to create a table with square cells, which are always the same size. I'm having some trouble with doing just this. I've created a Grid editG = new Grid(5,5); and I tried to set the width/height of the cells in the css with: td { width:50px; height:50px; } But this

Returning values from RPC-Call

2010-06-08 Thread uwi_u
Hi there, I'm currently writing an application which fetches Data from an DB2 Database. I've got a very basic question opn returning values from RPC Here's the method, which calls the RPC: public int loginUser(String user, String passwd, boolean override){ loginFeedback = -1;

Returning values, next try. Sending was too fast for me

2010-06-08 Thread uwi_u
Hi there, I'm currently writing an Application with GWT, and am Stuck at one position: When I call my RPC, the value which is to be returned, will be passed to an global variable. Unfortunately, the returning of this global variable out of the method happens before the onSuccess comes back.

Re: problem with RequestBuilder

2010-06-08 Thread nino ekambi
I think you could use the xs-linker. But i think even that wont help if the browser from wich u make the request doesnt allows xs-Requeest 2010/6/8 Alex monsterno...@gmail.com what should i use to make such a request? i have tried com.google.gwt.xhr.client.XMLHttpRequest, but the status code

Downloading a document while some RPC call is still running

2010-06-08 Thread Darkman97i
Hi, Well when I execute some Window.open and there's some RPC still live always is firing some error Window.open(http://someweb.com/somedocumentPath, _self, ); I think the problem is that, the browser url is temporary broken by new url, reason why rpc is closed and error is fired meanwhile

HttpSession session = getThreadLocalRequest().getSession() Null Pointer Exception

2010-06-08 Thread KenJi_getpowered
Hello every body, I can't figure out why there is a Null Pointer Exception here. I am trying to share informations through sessions within my application. I have a regular servlet that sets the session and insert a login. then I wanted to retrieve that login into a RemoteServiceServlet with that

Server Side Socket Connection in GWT

2010-06-08 Thread Jay Bruno
Hello All, I'm trying to set up a GWT Web App that will give a User a certain Permission in the Web Application based on their Active Directory Roles. I'm currently trying to connect to an AD server via LDAP. This part works perfectly unless I add it to the GWT application. Then I get a socket

Menu event

2010-06-08 Thread Siraj
hi, I am integrating gwt with jsp. fatched the gwt menu component on jsp but how to sent perticuler jsp page as link on it. Thanks in Advance Siraj -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Safari 5 / GWT / GWT EXT 2.0.6

2010-06-08 Thread eric73
Hi all! today I upgrade my Safari 4.0 to Safari 5.0 on Snow (other browsers are OK) Now my sites build with GWT 2.0.3 / GWT EXT 2.0.6 etc ... sometime don't run. I test its with Safari 4.0 and all worked. A javascript Error appear : RangeError: Maximum call stack size exceeded. I don't known

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread Magnus
Hi Ian, does this mean that I have to do all the layout in absolute coordinates manually? I thought this would GWT do for me. In addition, the layout under IE 7 is totally broken. What is the whole set of layout panels good for, when it does not provide some predictable results? Magnus On Jun

Re: Safari 5 / GWT / GWT EXT 2.0.6

2010-06-08 Thread matthew jones
Same thing here. On Jun 8, 11:43 am, eric73 e...@pentila.com wrote: Hi all! today I upgrade my Safari 4.0 to Safari 5.0 on Snow (other browsers are OK) Now my sites build with GWT 2.0.3 / GWT EXT 2.0.6 etc ... sometime don't run. I test its with Safari 4.0 and all worked. A javascript

Re: Safari 5 / GWT / GWT EXT 2.0.6

2010-06-08 Thread Jeff Chimene
On 06/08/2010 09:46 AM, matthew jones wrote: Same thing here. On Jun 8, 11:43 am, eric73 e...@pentila.com wrote: Hi all! today I upgrade my Safari 4.0 to Safari 5.0 on Snow (other browsers are OK) Now my sites build with GWT 2.0.3 / GWT EXT 2.0.6 etc ... sometime don't run. I test its

Re: Calculation of widget size during onModuleLoad() = move to DeferredCommand?

2010-06-08 Thread Stefan Bachert
Hi Chris, I dont think, that the css is not applied yet, rather the whole uibinder isnt applied, yet. However, you did not show us the full code. I usally put elements in a certain environment to measure its real size (inclunding border, padding, margin). I always get immediate results. Stefan

Re: Get all markers added by GeoXmlOverlay.load()

2010-06-08 Thread Eric Ayers
Try this library: http://code.google.com/p/gwt-maps-utility/ http://code.google.com/p/gwt-maps-utility/ On Mon, Jun 7, 2010 at 5:05 PM, Jesse Fulton jesseful...@gmail.com wrote: I'm planning on loading a bunch of markers using the GeoXmlOverlay.load() method, but I also need to be able to

Re: Compilation NullPointerException

2010-06-08 Thread Stefan Bachert
Hi Daniel, we need much more information. Probably you have a uncommon complex type case. I run into such a problem when I used foreign code which has extensively used inner classes and generics. The solution was, to make some inner classes static which should be done anyway when possible Stefan

Re: Safari 5 / GWT / GWT EXT 2.0.6

2010-06-08 Thread eric73
On 8 juin, 18:54, Jeff Chimene jchim...@gmail.com wrote: On 06/08/2010 09:46 AM, matthew jones wrote: Same thing here. On Jun 8, 11:43 am, eric73 e...@pentila.com wrote: Hi all! today I upgrade my Safari 4.0 to Safari 5.0 on Snow (other browsers are OK) Now my sites build with

Re: layout problems with positioning or aligning content

2010-06-08 Thread Magnus
I would like a menubar, and whenever a menu item is selected, I would like to show a panel. The screen should have a north, west, east and south section, and in the center the current panel should be shown. For example, if the user selects create account, a form should be shown to enter the data

Re: Safari 5 / GWT / GWT EXT 2.0.6

2010-06-08 Thread matthew jones
We're using deferred commands and code splitting. On Jun 8, 12:12 pm, eric73 e...@pentila.com wrote: On 8 juin, 18:54, Jeff Chimene jchim...@gmail.com wrote: On 06/08/2010 09:46 AM, matthew jones wrote: Same thing here. On Jun 8, 11:43 am, eric73 e...@pentila.com wrote: Hi all!

DialogBox is already shown right after gadget is loaded

2010-06-08 Thread Alex
i use uiBinder and have this !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui g:HTMLPanel g:DialogBox ui:field=myDialogBox autoHide=true modal=true

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread Ian Bambury
I'm sure someone will correct me if I'm wrong, but layout panels are more for using the whole of an area of the screen - header, footer, menu on the left, all the rest used for page display, that kind of thing rather than allowing you to float things at various places on the screen. For that, it

Re: Calculation of widget size during onModuleLoad() = move to DeferredCommand?

2010-06-08 Thread Chris Lercher
Hi Stefan, not sure, if it's only the CSS, or the entire UiBinder - but I had assumed, that it's only the CSS, because the div has the same width as the body (which makes sense, if the CSS selector of the div doesn't find its CSS class). Oh, the code I posted is all there is for this little test

Re: DialogBox is already shown right after gadget is loaded

2010-06-08 Thread Alex
i get it to work, my previous post i miss out a /ui:UiBinder at the bottom !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent; ui:UiBinder xmlns:ui=urn:ui:com.google.gwt.uibinder xmlns:g=urn:import:com.google.gwt.user.client.ui g:HTMLPanel g:DialogBox

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread Magnus
Is there a typo? top:50%;margin:top:-300px; Do you mean margin-top? I don't understand it. What's the effect of this? Magnus On Jun 8, 7:25 pm, Ian Bambury ianbamb...@gmail.com wrote: I'm sure someone will correct me if I'm wrong, but layout panels are more for using the whole of an area of

Re: Calculation of widget size during onModuleLoad() = move to DeferredCommand?

2010-06-08 Thread Chris Lercher
[I see, that you replied to the first message in this thread - most of the code is in the second message.] The full thread is here: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/1c632fbbb37f6f66/54b2d8927811fe14 On Jun 8, 7:39 pm, Chris Lercher cl_for_mail...@gmx.net

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread Ian Bambury
Yep, a typo It sets the top to half way down the screen (top:50%) then moves it back up with the negative margin by half the height of the panel. The effect being that it is centred vertically. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread Ian Bambury
I think you might need to use 'position:absolute' and set left and margin-left the same way. It's a long time since I've used it. On 8 June 2010 18:52, Ian Bambury ianbamb...@gmail.com wrote: Yep, a typo It sets the top to half way down the screen (top:50%) then moves it back up with the

Re: HttpSession session = getThreadLocalRequest().getSession() Null Pointer Exception

2010-06-08 Thread olivier nouguier
Hi, the getThreadLocalRequest() as it sound returns the request stored *during* the request/response in a ThreadLocal. So if it return null it's because it is not the same thread ;) On Tue, Jun 8, 2010 at 11:05 AM, KenJi_getpowered mikael.k...@gmail.comwrote: Hello every body, I can't

Can deferred binding do this?

2010-06-08 Thread Kevin Qiu
I'm thinking about using annotation to mark a method that has certain aspects, and then be processed by the deferred binding, adding necessary pieces as needed (kinda like a python's method decorator). Here's a example: class Foo { @Logged public void bar() { // do something } } and

Re: Can deferred binding do this?

2010-06-08 Thread fmod
Check this project. Is on my list of things to try someday. http://code.google.com/p/gwt-ent/wiki/AOP On Jun 8, 8:16 pm, Kevin Qiu kevin.jing@gmail.com wrote: I'm thinking about using annotation to mark a method that has certain aspects, and then be processed by the deferred binding,

Re: Safari 5 / GWT / GWT EXT 2.0.6

2010-06-08 Thread eric73
I am not use deferred commands and code splitting so the problem stay unsolved . Please help On 8 juin, 19:17, matthew jones bigboxe...@gmail.com wrote: We're using deferred commands and code splitting. On Jun 8, 12:12 pm, eric73 e...@pentila.com wrote: On 8 juin, 18:54, Jeff Chimene

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread Magnus
Thanks, but it doesn't work, at least in one of the three environments: Linux + Firefox The inner panel (chess board) is always stretched vertically to fill the total height of the parent (see screenshot). Your CSS style changes something, but it's still stretched. I believe that it works for the

Re: Get all markers added by GeoXmlOverlay.load()

2010-06-08 Thread Jesse Fulton
Well, MarkerManager only works if you add the markers to the map through the MarkerManager class. GeoXmlOverlay.load() adds the markers directly to the map, so if I want to use MarkerManager, then I'll need to write my own KML/GeoRSS parser in order to add the markers using MarkerManager... Is

Re: Returning values, next try. Sending was too fast for me

2010-06-08 Thread Chad
You don't want to block the UI with a while loop. Instead, consider creating an interface with a single method: public interface LoginCallback { void onLogin(int feedback); } Then, alter your loginUser method to return void and take as an addition parameter a LoginCallback: public void

Re: 1 layout - 3 browsers - 3 results?

2010-06-08 Thread Ian Bambury
But what about the differences in the browsers? I thought that GWT manages them? If you add your own CSS, it doesn't go around trying to correct it. It's just what you do in GWT (using the widgets as they are meant to be used - or rather, as Google use them and not just how you want to use

Re: Compilation NullPointerException

2010-06-08 Thread Daniel Simons
Yep changing to static solved the problem...thanks! On Tue, Jun 8, 2010 at 12:06 PM, Stefan Bachert stefanbach...@yahoo.dewrote: Hi Daniel, we need much more information. Probably you have a uncommon complex type case. I run into such a problem when I used foreign code which has

Re: Downloading a document while some RPC call is still running

2010-06-08 Thread André Moraes
If you don't really need to open a new window to start the download, you could make a call to the server and fetch the url to de document. Then simply put this inside a hyperlink on the application or inside a dialogbox. Then the user just need to click on the link to download the file. This

CSS theming

2010-06-08 Thread David Grant
Any suggestions on how to do theming, ie. to allow a new theme to be created in the future as a separate css file that can be switched on/off at runtime. I also don't want just global CSS though, I want CSS scope as local as possible but I want to be able to expose some CSS to be themable. Here's

GWT api for access of calendar data

2010-06-08 Thread Robo
Hi, Is anyone else having problems with the GWT API for accessing Calendar data. I have been getting An error occurred while retrieving the Event feed: response timed out error message and the http://gwt-gdata.appspot.com/samples/v2.2.1/HelloGData.html example is getting the same errors.

Extending a Widget subclass or Composite?

2010-06-08 Thread David Grant
Is it generally bad practice to extend a widget rather than extending from Composite? Dave -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this

Adding event handler to the document

2010-06-08 Thread Raziel
What's the best way to add an event handler (for example for keyboard events) to the entire document? I need something more general than the FocusPanel; specially because I cannot attach a FocusPanel to my application's body. I've seen some solutions sinking events and using

Get today's date, and the first day of this week's date?

2010-06-08 Thread spierce7
Hey guys, I just found out that the Java Calendar class isn't compatible with GWT (Assumed it was since Date was). I'm a Java newb and spent a few hours figuring out how to do what I wanted to do with the Calendar class, and I'm clueless how to do this with GWT, so any help would be appreciated.

Re: Adding event handler to the document

2010-06-08 Thread spierce7
I'd be interested to know this as well. Something like this isn't possible with a click handler, but perhaps with a keypress handler? On Jun 8, 4:54 pm, Raziel raziel...@gmail.com wrote: What's the best way to add an event handler (for example for keyboard events) to the entire document? I

Re: Extending a Widget subclass or Composite?

2010-06-08 Thread Ian Bambury
No. Ask yourself if you want to expose all the top-level widget's methods. If you don't, then use a composite. For example, if you are making a labelled textbox by adding a label and a text box to a VerticalPanel, do you really want the user able to add more things to the VP, to be able to clear

[Development mode] script tag not in top level frame

2010-06-08 Thread Thiago F. G. Albuquerque
Hi, Development mode does not work if the script tag is not in the top level frame: script type=text/javascript language=javascript src=xxx.nocache.js/script This is a problem for me, because I maintain an application that uses a framework (Echo 1) that doesn't allow modifying the top-level

Re: Get today's date, and the first day of this week's date?

2010-06-08 Thread fmod
Hey guys, I just found out that the Java Calendar class isn't compatible with GWT (Assumed it was since Date was). I'm a Java newb and spent a few hours figuring out how to do what I wanted to do with the Calendar class, and I'm clueless how to do this with GWT, so any help would be

Re: Get today's date, and the first day of this week's date?

2010-06-08 Thread Lothar Kimmeringer
spierce7 schrieb: 1. Get today's date. Date today = new Date(); 2. Using the current date, get the date of the first day of the week (Sunday), and I think I might need to know how to get the end date also. So you're not going to create an i8n-aware application? Sunday isn't the first day

Re: Returning values, next try. Sending was too fast for me

2010-06-08 Thread Chad
Oh, BTW, you would need to move your call to logToServer into the onSuccess as well. I didn't notice that one at first. HTH, Chad On Jun 8, 2:28 pm, Chad chad...@gmail.com wrote: You don't want to block the UI with a while loop. Instead, consider creating an interface with a single method:

Re: seamless rpc during upgrades

2010-06-08 Thread Stephen Haberman
Hi Sri, Thanks for the reply. *IMHO, once you have deployed new code, you want to tell the users to refresh the browsers as soon as possible. Trying to get old clients working with new code can work at times; but since there is no guarantee I prefer to fail-fast.* I think it depends. I am

Re: Get today's date, and the first day of this week's date?

2010-06-08 Thread spierce7
Guys, thank you so much for your replies! I've got my program doing what I needed it to :-) Thank you very much! Lothar, your code works (at least for the current date) : DateTimeConstants constants = LocaleInfo.getCurrentLocale().getDateTimeConstants(); int firstDay =

Re: Help to find only clickable panel except focuspanel

2010-06-08 Thread Deepak Bammi
Stefan, Can you please help me to remove tab index from focuspanel ? Regards, Dev On Mon, Jun 7, 2010 at 4:49 PM, stefan bachert stefanbach...@yahoo.dewrote: Hi Deepak, I would prefer to discus in the gwt group. That may help other peoples, too and maybe other peoples have a good input,

Re: Can deferred binding do this?

2010-06-08 Thread opn
I personally hope that GIN will implement this someday, too. But this feature is marked with a (?) on the GIN page. Does this AOP work well with a GIN injected class? Regards opn -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

GWT Service Injection

2010-06-08 Thread gangurg gangurg
I am new to Injection . What I wanted to do was a simple Interface Injection in my GWT IMpl . Can anyone tell me how do a Field Injection or a construction based Injection .Assume Everything in this snippet works fine . Public Interface Payment( public void pay(); } -- You received this message

Re: GWT Service Injection

2010-06-08 Thread gangurg gangurg
Sry it was an incomplete post . Here is my full post . I am new to Injection . What I wanted to do was a simple Interface Injection in my GWT IMpl . Can anyone tell me how do a Field Injection or a construction based Injection .Assume Everything in this snippet works fine . public Interface

[gwt-contrib] Re: Adding TreeItem#insert methods to insert items into a tree. (issue592801)

2010-06-08 Thread jlabanca
committed as r8236 http://gwt-code-reviews.appspot.com/592801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Deleting the stocks sample in favor of the Expenses sample. (issue580801)

2010-06-08 Thread jlabanca
committed as r8234 http://gwt-code-reviews.appspot.com/580801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] which jdk to use for development

2010-06-08 Thread Marko Vuksanovic
Which JDK do you suggest to use with gwt - open jdk or sun's one? -- http://groups.google.com/group/Google-Web-Toolkit-Contributors