Re: Blank Screen in IE8 but Normal in FF3.5

2009-12-30 Thread jd
I am having exactly the same problem with 2.0. Yes I am in standards IE8 standards mode and the problem is fixed by changing to IE7 standards mode with the tag meta http-equiv=X-UA-Compatible content=IE=7/ However, I have tested a simple DockLayoutPanel including a map (which I thought could be

Possible bug with ImageResource

2009-12-30 Thread Daniel
Hi, It seems that GWT has problems loading certain png's into a ClientBundle. I will happily pass the image along to any other dev who wants to test it. The error in full: Compiling module org.codingventures.uiwithtest.UiWithTest [ERROR] Errors in

Re: Blank Screen in IE8 but Normal in FF3.5

2009-12-30 Thread jd
and to clarify... you mean they appear in FF and not IE right? On Dec 26, 3:32 pm, Nomis nomis...@gmail.com wrote: Dear all, Just figured it out the problem was caused by using RootLayoutPanel. When I put all my content into RootLayoutPanel.get(), they appear only in IE but not Firefox. If

Re: AppController or PlaceManager

2009-12-30 Thread Abdullah Shaikh
Hey Thanks Prashant for the explanation .. But can you explain a bit more how does this onValueChange method gets called .. as I am new to GWT I understood the article but I am confused regarding AppController, if only they have provided the code it would have been more good. Also any idea if

Re: XML to POJO library, any ideas?

2009-12-30 Thread philippe
You can used this tutorial : http://xstream.codehaus.org/annotations-tutorial.html or http://xstream.codehaus.org/converter-tutorial.html Annotation or converter are good practices to your case. On 30 déc, 01:52, Dalla dalla_man...@hotmail.com wrote: philippe, perhaps you could answer a

GWT button

2009-12-30 Thread muhannad nasser
Dear all; Does anyone have a good CSS or style for GWT button because i hate the rectangular shape.. and i tried to do the sliding door effect, it worked fine but there was some problems in IE, and the hover effect did not work also in IE... thanks -- ~~~With Regards~~~ Muhannad

Re: Upgade from GWT 1.5.3 to GWT2.0

2009-12-30 Thread Joe Cole
We have just moved to 2.0 and yes you need to move to 1.7/1.6 structure first. There are some redundant things, but I found it's worth getting it going in 1.6 first and then moving directly to 2.0. If you need a hand let me know. On Dec 30, 8:05 pm, Sandeep sandip.pati...@gmail.com wrote: Hi,

Re: Problem managing clickEvent on iPhone

2009-12-30 Thread Joe Cole
We started with open source projects that handle it all for you i.e. jqtouch. It's a good project to get iphone specific ideas that are tested in practice and worked fine when integrating with our project. On Dec 29, 12:01 pm, fvisticot fvisti...@gmail.com wrote: I'm working on an iPhone web

FileUpload widget path name

2009-12-30 Thread Shivi
Hi I am trying to use the FileUpload widget and when I call the getFileName() method it returns me the filename without the path name in firefox. If I try the same in IE the method returns the filename along with the path. e.g: If I browse and select file abc.psr in G: drive . getFileName()

Re: DropZap web demo built using GWT

2009-12-30 Thread abhiram wuntakal
Nice game dude... the features that u have designed are really awesome!!! I was able to finish 3 levels and got a message saying, demo version has only 3 levels!! anyways great work!! ~ Abhiram On Tue, Dec 29, 2009 at 6:05 AM, amich...@gmail.com amich...@gmail.comwrote: Hello, Check it out:

Re: GWT button

2009-12-30 Thread Jim Douglas
Muhannad, If you just want the browser's default button style, you can try this: http://code.google.com/p/google-web-toolkit/issues/detail?id=4400 Button button = new Button(); button.removeStyleName(gwt-Button); On Dec 30, 1:02 am, muhannad nasser muhannadna...@gmail.com wrote: Dear all;

GWT2.0 and GWTx propertychangesupport

2009-12-30 Thread francescoNemesi
Hi All, my (rather huge) GWT application relies heavily on the GWTx implementation of propertyChangeSupport. This doesn't seem to work anymore with GWT 2.0. In development mode, I get this error: 14:40:55.873 [WARN] [kbit] Warnings in 'jar:file:/D:/GWT/gwt-keinavo-

gwt MVP + http session

2009-12-30 Thread mariyan nenchev
Hi, I am using MVP architecture in my project. And now i am adding session management. What exactly does sessionProvider.get() do: getSession() or getSession(false). I do not want to create new session if one does not exist. Here is my simple SessionHandler : public abstract class

Re: String problem

2009-12-30 Thread Toddpi314
Sorry, getBytes is not in the supported client-side subset (ugh). StringBuffer is supported, as well as toCharArray. That should be enough. On Nov 25, 6:14 am, Gosia g.mali...@gmail.com wrote: Hi I''ve got small problem. I've an GWT application in which I would like do something like this

Idea to optimize GWT code spliting (caching of deferred js files)

2009-12-30 Thread Bernhard J . M . Grün
Hello, at the moment the code splitting feature works like this: There is a main html/js code file that has a hashed name like 4F5Dhtml. The deferred code itself is placed in the directory deferredjs/4F5D.../. Inside this directory one sees a lot of files with names like 1.cache.js and so on.

Re: Can't inherit com.google.gwt.dev.util.collect

2009-12-30 Thread forewar
Hi all! I also have the same problem and cant find a solution. As far as I know, there is no such module like HashTable, so it cant be inherited. I suppose, the problem is deeper. Maybe somebody will help us... On Dec 24, 9:40 pm, emeded ernimededo...@gmail.com wrote: Hi Jim, I am encountering

Re: Why doesn't com.google.gwt.user.client.ui.Grid have a style name?

2009-12-30 Thread davek
Here's a way to use Grid in UiBinder: http://www.komacke.com/svn/trunk/gwt/widgets/UiBinderGrid/ It creates a subclass and adds the HasWidgets interface. This implementation requires you to specify the number of columns and then every added widget becomes a new cell, wrapping at the number of

How to make FileUpload widget readonly?

2009-12-30 Thread Lakindu
Hi, Is there a way to make FileUpload widget readonly? i.e. user should not be able to type on the text field of the FileUpload. Thanks in advance, Lakindu -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email

Re: Can't inherit com.google.gwt.dev.util.collect

2009-12-30 Thread forewar
Oh, I`ve just changed my library import. Imported java.util.HashMap instead of com.google.gwt.dev.util.collect.HashMap and I works now. But I still dont understand what`s wrong with gwt`s HashMap. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit

JSNI, gwt and google gadgets

2009-12-30 Thread Ramesh Kumar
Hello everyone I am new to GWT and web application developments. I would like to add google gadgets like Google Calendar into gwt Panel. I got the script code script src=

Add FlexTable support for getting row/cell for a given widget

2009-12-30 Thread se
When handling events on widgets in a FlexTable, sometimes I also need to get the row/cell for that widget. I saw this method at http://code.google.com/p/gwt-dnd/source/browse/trunk/DragDrop/demo/com/allen_sauer/gwt/dragdrop/demo/client/FlexTableRowDragController.java?r=92spec=svn92 private int

Moving From Mac To Windows Error

2009-12-30 Thread Deerman
Hi. I moved my project from my mac to a windows machine. I cleaned the project, rebuilt, and I get the following error when I try to run it. Starting Jetty on port 0 [WARN] Failed startup of context com.google.gwt.dev.shell.jetty.JettyLauncher

DisclosurePanel: retrieving the height of the content

2009-12-30 Thread babarorhum
Hello, I am using the DisclosurePanel as described in the GWT example available from the official site (http://gwt.google.com/samples/ Showcase/Showcase.html#CwDisclosurePanel) and would like to receive a notification when the panel has been opened in order to fetch the new height of the

Re: Unable to find 'stockwatcher.gwt.xml' Error strikes again

2009-12-30 Thread Chris
Hi I get a similar problem. I follow the tutorial word for word then when starting the web app after step 3. I get : java.lang.NullPointerException: null at com.google.gwt.sample.stockwatcher.client.StockWatcher_xxx.onModuleLoad (StockWatcher_xx.java:41) at

Re: Problem of Unable to determine my ip

2009-12-30 Thread Malathi
I am having the same problem on Fedora Linux. Where is the hostname located to change? Thank you advance On Dec 20, 4:51 pm, Ji jimzhang...@gmail.com wrote: I had changed the hostname to localhost, and everything works fine now. Thank you again. By the war,myoriginal hostname is something

Global resources in CSS

2009-12-30 Thread swap_i
Hello! I'm new in GWT development and need some help. I use GWT 2.0 and want define once some constant. For example, I need to define mainColor = #rrggbb and want use it in various places, like CSS, MyWidget, MyWidget.ui.xml, etc. I read about CssResource, read about working with CSS docs, but

UiBinder templates and horizontalAlignment/verticalAlignment

2009-12-30 Thread hal9000
There is some crucial information in the javadoc for CellPanel about using horizontal and vertical alignment in ui.xml. The subclasses of CellPanel (DockPanel, HorizontalPanel, VerticalPanel) should enclose child widgets within g:cell elements. The alignment attributes (e.g.

Re: GWT Upload not working in server

2009-12-30 Thread tomasm
If the folder uploads exists inside a war file I won't be supprised if request.getRealPath(uploads) returns null, and you get a NPE. The javadoc [1] for getRealPath says [...] This method returns null if the servlet container cannot translate the virtual path to a real path for any reason

Re: GWT 2/Eclipse Project References

2009-12-30 Thread Murat Doner
Which plug-in do you use? On Fri, Dec 11, 2009 at 1:49 PM, Graham graham.mor...@gmail.com wrote: I've successfully upgraded to GWT 2.0 using the GWT Eclipse Plugin. All seems well, with one exception. I write all of my servlets in a seperate project, which worked under well under 1.* by

GWT Hosted Mode browser window remains blank

2009-12-30 Thread Hendrik Jan van Randen
When testing a GWT project in GWT Hosted Mode often the browser window remains blank, the status bar saying 'Connecting to site 127.0.0.1' and the address bar containing 'http://localhost:/'. The only workaround I've found so far is terminating the server and run or debug the application

To load js of some particular classes at run time on client side using Code Splitting

2009-12-30 Thread inder sharma
Hi all! I am developing an application in GWT 2.0 and using the code splitting feature of GWT2.0. I want to load js of some particular classes at run time on client side through code splitting(instead of loading complete js at once).These classes implements some interfaces and we uses these

Doubt in Ui-Binder and inheritance

2009-12-30 Thread DiegoSS
Hi guys, We´re undergraduating in Computer Science in UFRJ, Fedeal University of Rio de Janeiro, Brazil. And we have interesting in learn and researching about the technology of Google, GWT. We want to know how we can use inheritance with UiBinder. Let´s pretend We have two documents: super.xml

Doubt in Ui-Binder and inheritance

2009-12-30 Thread Lucas Vargas Freitas Ventura
Hi guys, We´re undergraduating in Computer Science in UFRJ, Fedeal University of Rio de Janeiro, Brazil. And we have interesting in learn and researching about the technology of Google, GWT. We want to know how we can use inheritance with UiBinder. Let´s pretend We have two documents: super.xml

IE 6 specific layout problems for DockLayoutPanel

2009-12-30 Thread ryan
When viewing our GWT application in IE 6, we've noticed some weird behavior for the children of a DockLayoutPanel. The width of the immediate children of the DockLayoutPanel (the ones in north, south, east, west) gets set explicitly by GWT no matter what you do. This only happens in IE6. It's a

List of argument

2009-12-30 Thread Lyr
Hello, I actually try to make a project with gwt 2.0.0 and maven. I make a similary project with this two (a difference is with gwt 1.7) but now i dont succes in this project cause a lot of trouble, particulary for run debug mode under maven target. So i try to run gwt development mode running in

number format

2009-12-30 Thread jon...@gmail.com
Hi there I need to format a value double example: 10.10154564654654 I need to format this value to 10.10 for example How I do it?? Thanks -- 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: GWT Plugin for Eclipse 3.6

2009-12-30 Thread Miguel Méndez
We have started looking at what would be required to support Eclipse 3.6. We will have support for 3.6 once it officially ships. On Tue, Dec 29, 2009 at 8:58 AM, RadhikaSunil sunilradh...@gmail.comwrote: Is there any plans to do it soon ? On Dec 18, 6:34 pm, Rajeev Dayal rda...@google.com

Re: number format

2009-12-30 Thread Arthur Kalmenson
This is probably what you're looking for: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/i18n/client/NumberFormat.html -- Arthur Kalmenson On Wed, Dec 30, 2009 at 7:48 AM, jon...@gmail.com jon...@gmail.com wrote: Hi there I need to format a value double example:

Re: number format

2009-12-30 Thread mariyan nenchev
Hi, may be you should look at the NumberFormat in gwt. But it you may also write a simple native method that do this: Here: public static native String toFixed(double number, int decimalPlaces) /*-{ return number.toFixed(decimalPlaces); }-*/; So if you call: toFixed(10.10154564654654, 2) = 10.10

Re: DropZap web demo built using GWT

2009-12-30 Thread ylmz
He told me that he did not understand how exactly he destroys the blocks. he said that some times blocks are being destroyed in totally unrelated rows and sometimes strange rectangles appear (multiple collisions in different rows looks like rectangles.). but he can still finis the demo :) On Dec

Re: Cannot install GWT Eclipse plug-in

2009-12-30 Thread Jon Vaughan
I had the same problem, on Win 7 64 bit, and adding the galileo update site (http://download.eclipse.org/releases/galileo) fixed it for me too. On Dec 24, 4:59 pm, Nikhil theind...@gmail.com wrote: I was stumped with the same problem. I was able to fix it by

Re: GWT 2/Eclipse Project References

2009-12-30 Thread Matt
Google Plugin for Eclipse 3.5, version 1.2.v200912062003 running Google Web Toolkit SDK 2.0.0.v2000912062003 On Dec 29, 1:11 pm, Murat Doner murat.do...@obss.com.tr wrote:  Which plug-in do you use? On Fri, Dec 11, 2009 at 1:49 PM, Graham graham.mor...@gmail.com wrote: I've successfully

Re: DropZap web demo built using GWT

2009-12-30 Thread amich...@gmail.com
On Dec 30, 10:10 am, ylmz yilmazhuse...@gmail.com wrote: He told me that he did not understand how exactly he destroys the blocks. he said that some times blocks are being destroyed in totally unrelated rows and sometimes strange rectangles appear (multiple collisions in different rows looks

Re: DisclosurePanel: retrieving the height of the content

2009-12-30 Thread mbracken
When handling the OpenEvent, try putting the check for the content's height inside a DeferredCommand. This should give the browser a chance to fully render the content and establish its new height. On Dec 29, 5:09 pm, babarorhum stephane.bo...@gmail.com wrote: Hello, I am using the

Re: Unable to find 'stockwatcher.gwt.xml' Error strikes again

2009-12-30 Thread Chris Ramsdale
Do you have the same issue when you generate a new Web Application project from scratch? On Tue, Dec 29, 2009 at 2:15 AM, Chris collin...@gmail.com wrote: Hi I get a similar problem. I follow the tutorial word for word then when starting the web app after step 3. I get :

Having Trouble Extending MouseEvent...

2009-12-30 Thread DaveC
I'm probably not doing this the right way but, I've been trying to extend MouseEvent to support HTML5 Drag and Drop (drag, dragenter, etc. etc.). I've created a: Has...Handlers interface bunch of Handler classes (DropHandler, DragEnterHandler, etc) and a bunch of Event classes that extend

Re: Possible bug with ImageResource

2009-12-30 Thread Daniel
The image in question was being used in an image hover. I merged the image with the hover image (as recommended in this tutorial here: http://www.kyleschaeffer.com/best-practices/pure-css-image-hover/), and GWT was able to load it into the clientbundle. On Dec 30, 2:16 am, Daniel

Re: Can't load the same module twice???

2009-12-30 Thread Jason Essington
I can't think of a single usecase where it would be appropriate to load a module twice ... It would be effectively the same as loading YUI, or Dojo, or jQuery twice, Once it is there the first time there's no need to load it again, the code is already there. If you are simply trying to place a

Re: Can't inherit com.google.gwt.dev.util.collect

2009-12-30 Thread Chris Ramsdale
com.google.gwt.dev.util.collect is not meant to be used on the client side (hence the lack of a module.gwt.xml file). As you discovered, you should use the standard JRE HashMap, and let GWT provide the associated JS implementation at compile time. - Chris On Mon, Dec 28, 2009 at 2:07 PM, forewar

Re: Can't load the same module twice???

2009-12-30 Thread lineman78
I am considering 2 usecases. The first being an integration with the Liferay Java portal where we would essentially have many portlets all with the same portlet wrapper all using different deferred binding. For instance, I would write one module to wrap all of our portlets and write an ant script

Problem with the datebox : handling to value change events when setting a format

2009-12-30 Thread Youen
Hi, I've just detecting a problem with the datebox widget with GWT 2.0, the widget works well but when I set a format to the datebox two value change events are handled by the datebox. Does anyone 's got a solution or know that is a bug already known by the GWT team ? (Except the solution that

Re: New layouts not playing nicely with Maps

2009-12-30 Thread Dave
Eric, I have the same problem as stated in 1st post above. I have read other post and this problem seem to be persisted for sometime now as shown is this earlier post

Re: Pressing the enter key in the SuggestBox popup fire onKeyUp event! How to disable this?

2009-12-30 Thread Michael W
Forget to attach url: http://www.holidayinn.com/hotels/us/en/home See whether it is what you need. On Dec 23, 11:49 am, Michael W mwang_2...@yahoo.com wrote: Can you check following whether it is what you need? If yes, I will post our solution here. On Dec 22, 6:35 am, ss.require

Re: MVP Article... Source Code?

2009-12-30 Thread Alejandro D. Garin
Hi, The code is almost in the tutorial, anyway I have completed the remaining source code and uploaded to a google code project just for fun. This is unofficial. http://code.google.com/p/gwt-mvp-architecture-sample/ Regards. Alejandro. On Tue, Dec 29, 2009 at 3:00 PM, jpnet

Re: MVP Article... Source Code?

2009-12-30 Thread mbracken
Looks like the official sample project source has now been posted: http://code.google.com/webtoolkit/doc/latest/tutorial/projects/Contacts.zip There's a link near the top of the article. On Dec 30, 2:30 pm, Alejandro D. Garin aga...@gmail.com wrote: Hi, The code is almost in the tutorial,

Re: MVP Article... Source Code?

2009-12-30 Thread Alejandro D. Garin
cool ! thanks. On Wed, Dec 30, 2009 at 4:32 PM, mbracken levi.brac...@gmail.com wrote: Looks like the official sample project source has now been posted: http://code.google.com/webtoolkit/doc/latest/tutorial/projects/Contacts.zip There's a link near the top of the article. On Dec 30, 2:30

Re: Bug in DateTimeFormat GWT

2009-12-30 Thread Chris Ramsdale
What you are describing sounds pretty straight forward, but would you mind replying with a specific code snippet so that we can try reproducing the issue? - Chris On Tue, Dec 29, 2009 at 1:43 PM, Chris christopher.burr...@gmail.comwrote: Clearly no ideas... Can i raise this somewhere? On Dec

DOMImpl for iPhone: How to do ?

2009-12-30 Thread fvisticot
I would like to manage the iPhone touchstart touchmove... events with a clean solution. It seems that i need to create my own DOMImpl for the iPhone and link this new DOMImpl to the iPhone userAgent. Do i need to recompile the GWT sources for that ? It seems that i can not override the

Re: IE 6 specific layout problems for DockLayoutPanel

2009-12-30 Thread ryan
To answer my own question: GWT was taking the right margin of the element and subtracting this from the width of it's container and then setting this as the width in the inline style. This seems to not be specific to DockLayoutPanel but it is specific to IE6. So for example, our uibinder xml

Re: Unable to find 'stockwatcher.gwt.xml' Error strikes again

2009-12-30 Thread Chris
Hi I recreated from Scratch on another computer and that did the trick. Thank you for the help On Dec 30, 8:19 am, Chris Ramsdale cramsd...@google.com wrote: Do you have the same issue when you generate a new Web Application project from scratch? On Tue, Dec 29, 2009 at 2:15 AM, Chris

Re: Having Trouble Extending MouseEvent...

2009-12-30 Thread DaveC
OK, From what I have since found out is that *all* the native browser events are stored in a JSNI method in the DOMImpl class here DOMImpl.eventGetTypeInt(String name)... which is why the exception was being thrown (there is no drop, dragenter, etc events defined). So in order to add the new

Re: DOMImpl for iPhone: How to do ?

2009-12-30 Thread DaveC
It seems I'm trying to do the same thing http://groups.google.com/group/google-web-toolkit/browse_thread/thread/e1c6bd5a5d196ecf... and have come up against the same barriers. If I find the answer I'll let you know. Cheers, Dave On Dec 30, 10:23 pm, fvisticot fvisti...@gmail.com wrote: I would

Re: Global resources in CSS

2009-12-30 Thread Thomas Broyer
On Dec 29, 1:12 pm, swap_i swa...@gmail.com wrote: Hello! I'm new in GWT development and need some help. I use GWT 2.0 and want define once some constant. For example, I need to define mainColor = #rrggbb and want use it in various places, like CSS, MyWidget, MyWidget.ui.xml, etc. I read

Re: Convenience callback method

2009-12-30 Thread bhomass
I am trying out the rpc structure given in the seminar. I get an error 20:42:08.171 [ERROR] [rts] com.jcalc.webclient.client.spreadsheet.rpc.action.GetRecords is not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' or 'java.io.Serializable' nor does it have a custom field serializer

Re: DOMImpl for iPhone: How to do ?

2009-12-30 Thread fvisticot
Hello, I have worked on the pb and i have made some progress !!! 1. I have overloaded the DOMImpl class. The new overloaded class must be in a package named com.google.gwt.user.client.impl 2. I have created dedicated events (extending DomEvent) 3. I have created dedicated handlers (extending

Re: IE 6 specific layout problems for DockLayoutPanel

2009-12-30 Thread Jim Douglas
Does IE6 support standards mode properly? I just used DockLayoutPanel for the first time today; I noticed this warning: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/DockLayoutPanel.html This widget will only work in standards mode, which requires that

Re: Problem during upgrading to GWT 2.0

2009-12-30 Thread tp
I had similar problems upgrading. Did all the right things, new libs, DevMode, cleaned, rebuilt. Finally, I found I had to clear FF's cache as well -- very frustrating. On Dec 10, 4:40 pm, Simal simalhance...@gmail.com wrote: OK.. I guess I found the reason. The directory that gets

Dock Panel

2009-12-30 Thread muhannad nasser
Dear All; i want to add a style on a DockPanel cell, such ass the north area, or the west area only.. can anyone please help me -- ~~~With Regards~~~ Muhannad Dar-Nasser ~~Computer Systems Engineering~~ -- You received this message because you are subscribed to the Google Groups Google

[gwt-contrib] Re: Comment on CssResource in google-web-toolkit

2009-12-30 Thread codesite-noreply
Comment by dusan.maliarik: Thanks all for this wonderful feature, I am wondering why it is not possible to allow runtime reinjection of CssResource, most importantly, allowing @eval to be evaluated again. It is also interesting why it is only possible to use static methods. whole thing

[gwt-contrib] GWT Beans Binding 0.3

2009-12-30 Thread ggeorg
Hi all, GWT Beans Bindings 0.3 has adapters for widgets that implement HasText, HasHTML and HasValue and for ListBox and HTMLTable widgets. Home page: http://code.google.com/p/gwt-beans-binding/ Please have a look at the wiki pages and please let me know what you think about it: -