Re: Module Include Distorting CSS

2011-12-05 Thread Thomas Broyer
Could it be that the GWT app is using a built-in theme? It would then inject the theme's CSS in the host page, and built-in themes define rules for the document's body (at least; and maybe a few other general prupose elements). -- You received this message because you are subscribed to the

Re: User visible urls

2011-12-05 Thread Thomas Broyer
Historyhttp://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.htmlis made for that. If you want to use HTML5's pushState/popstate, that should be possible using deferred-binding (to replace the underlying implementation using onhashchange with one using pushState). If you're

Re: DOM and DOMImpl

2011-12-05 Thread Thomas Broyer
Legacy. Originally, JavaScriptObject were opaque handles, there was no overlay types. So DOM directly called DOMImpl (or DOMImplIE6, DOMImplMozilla, etc. using deferred binding). Then overlay types were introduced, and the com.google.gwt.dom.*, so part of DOMImpl were moved there, and DOM was

Re: DataGrid in TabLayoutPanel is empty/filled depending on the order of the tabs

2011-12-05 Thread koma
Somebody can have a look pls, driving me nuts. Thinking the HTMLPanel might be the bad guy, I replaced this with a layoutpanel as well : ui:style @def coloricons #33; @def hovercolor orange; body,html { padding: 0; border: 0; margin: 0; font-family: 'Droid Sans', sans-serif; color:

Re: GWT in Google Products

2011-12-05 Thread ozgur aydinli
I think orkut is also a gwt application. http://www.orkut.com/ On Dec 4, 7:39 pm, Christian Goudreau goudreau.christ...@gmail.com wrote: Not a google product but still interesting:http://www.ovirt.org/ They admin console is done on top of Gwt and

how to sink a custom defined event class ?

2011-12-05 Thread wahaha
we use the method sinkEvents(Event.ONCLICK) to tell widget that it should capture the mouse-click event on this widget. but if the event is a custom defined event called MyEvent,then what is the property of method sinkEvents(int eventBitsToAdd)? -- You received this message because you are

Blank page on internet explorer 6

2011-12-05 Thread bognekadje
Hi, I am using gwt 2.3 (with UiBinder) and try to launch my application on internet explorer 6. I got a blank page with and error message such as onModuleLoad() fails. Firstly, i want to know if gwt 2.3 can be use on internet explorer 6. If it is possible, what can i do to make my application

Re: how to sink a custom defined event class ?

2011-12-05 Thread Thomas Broyer
sinkEvents is only for DOM events (ones that are dispatched by the browser itself). In modern GWT development you shouldn't have to ever call sinkEvents (use addDomHandler). For custom events, use addHandler. -- You received this message because you are subscribed to the Google Groups Google

Re: Blank page on internet explorer 6

2011-12-05 Thread Thomas Broyer
On Monday, December 5, 2011 11:38:28 AM UTC+1, bognekadje wrote: Hi, I am using gwt 2.3 (with UiBinder) and try to launch my application on internet explorer 6. I got a blank page with and error message such as onModuleLoad() fails. Such an error message probably means you're running in

Re: Blank page on internet explorer 6

2011-12-05 Thread Raphael André Bauer
On Mon, Dec 5, 2011 at 12:55 PM, Thomas Broyer t.bro...@gmail.com wrote: On Monday, December 5, 2011 11:38:28 AM UTC+1, bognekadje wrote: Hi, I am using gwt 2.3 (with UiBinder) and try to launch my application on internet explorer 6. I got a blank page with and error message such as

Re: Blank page on internet explorer 6

2011-12-05 Thread Ashton Thomas
I had a similar problem once and I think I found the reason by using the debug tool built in explorer and then changing the version back. I think the reason had something to do with some string character or something really weird. I never worried about it and eventually made enough other

Re: how to define a widget which have custum defined event?

2011-12-05 Thread Ashton Thomas
1) create a widget 2) create event 3) create event handler 4) have your widget implement the handler 5) register the widget as a handler of the new event with eventBus (probably at the very start of your application) Hope that helps -- You received this message because you are subscribed to

Scroll are not coming while using DockLayoutPanel

2011-12-05 Thread saurabh saurabh
Hi everyone, I got the following lines of code here: DockLayoutPanel doc = new DockLayoutPanel(Unit.PX); //some code goes here to add widgets to doc RootLayoutPanel.get().add(doc); Now the size of docklayoutpanel here exeeds client window height but I am not getting

Re: NoSuchMethodError on gwt 2.4

2011-12-05 Thread The Tran
Yeah, I have experienced same issue with gwtp 0.6 tabsample project. How to workaround this? Thanks On Dec 5, 3:56 am, Christopher Piggott cpigg...@gmail.com wrote: You know what, I think this is a compatibility problem between gwt- platform 0.6 and gwt 2.4 so let me report that over there

How to change the style of an individual cell in a CellTable?

2011-12-05 Thread R4226
Hi, I want to change the style of an individual cell in a CellTable by changing the color of the text in the cell to green if the database updates successfully and red if the cell update is not successful. Is there a way to do this through the DOM without redrawing the table? I don't know of a

FileWriter Server Side

2011-12-05 Thread Arthur
Hi, I'm trying to use FileWriter java class on server side but the google app engine validator tells me that java.lang.NoClassDefFoundError: java.io.FileWriter is a restricted class. I excluded the server package of my application from google App Engine validation but I still have this problem.

FTP file upload in gwt

2011-12-05 Thread Rahul Sharma
Hello, I want to use ftp upload instead of http and store the uploaded file in remote system.I want that my local system file upload to ftp domain usinf ftp upload in gwt .So suggest me how can i upload file . Thanks Rahul -- You received this message because you are subscribed to the Google

Re: Scroll are not coming while using DockLayoutPanel

2011-12-05 Thread Alexandre Ardhuin
Hi, You have to explicitly add ScrollPanel in your DockLayoutPanel to make the area scrollable. Alexandre 2011/12/5 saurabh saurabh saurabh.bl...@gmail.com Hi everyone, I got the following lines of code here: DockLayoutPanel doc = new DockLayoutPanel(Unit.PX); //some

What causes Deferred binding failed for class errors?

2011-12-05 Thread laredotornado
Hi, I'm using GWT 2.4. I'm trying to run some GWTTestCases in an environment and getting Deferred binding failed for class errors. How do I figure out what resource GWT is looking for? For a number of my tests, GWT dies with the following error log ... Rebinding

Re: GWT for mobile.

2011-12-05 Thread Thomas Broyer
Absolutely, and the MobileWebApp sample from the GWT SDK is a good example of how to provide 3 distinct UIs (desktop, tablet and phone) for the same app. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

Places and Tabs

2011-12-05 Thread noob_boy
Hi, Currently I have implemented code to show various tab based on places. Based on clicking Anchor links, I am able to show TAB1 or TAB2 as required. Inside TAB1, I have a tree on the left. I am not able to figure out how to select firstElement or secondElement based on the place. I want to

OffsetWidth not including padding/margins

2011-12-05 Thread decitrig
I have a PopupPanel with a Label inside. I'm trying to center the popup horizontally, so I'm calling setPopupPositionAndShow. In the callback, however, the offsetWidth and offsetHeight arguments don't take into account any margins or padding, whether I set them on the popup or the label: the

Re: how to sink a custom defined event class ?

2011-12-05 Thread Karthik Reddy
* In modern GWT development you shouldn't have to ever call sinkEvents (use addDomHandler).* * * CellTable and other Cell based widgets use the sinkEvents approach. Am I missing something? Is that just an anomaly because of the ultra-high-performance expected off of huge-data-rendering Cell

Canvas, ImageData, and IE9

2011-12-05 Thread Thad
I'm working on a small canvas drawing program with GWT 2.3 and I'm hitting a problem with IE9. After a user draws a rectangle to the canvas, I want to allow dragging or resizing. To catch the mouse down in the rectangle I'm using a technique similar to the one show in this example:

How do I set GWT headless mode for Maven?

2011-12-05 Thread laredotornado
Hi, I'm using Maven 3.0.3, GWT 2.4 and the Bamboo integration suite. How do I set up my GWT tests to run in headless mode using Maven and GWT? I have tried setting both these environment variables ... JAVA_OPTS=-Djava.awt.headless=true MAVEN_OPTS=-Djava.awt.headless=true but to no avail. I

Re: OffsetWidth not including padding/margins

2011-12-05 Thread Paul Stockley
That's the expected behavior, check the DOM reference for OffsetWidth/OffsetHeight. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: OffsetWidth not including padding/margins

2011-12-05 Thread decitrig
It is? UIObject API: getOffsetWidth public int *getOffsetWidth*() Gets the object's offset width in pixels. This is the total width of the object, *including decorations such as border, margin, and padding.* *Returns:*the object's offset width Mozilla DOM

Re: Import ArrayList to Grid

2011-12-05 Thread Harpal Grover
Hi, Please post the code you've written for us to examine. This would help in order to provide you with assistance. Thanks On Wed, Nov 30, 2011 at 10:53 PM, Sameer Doda sameerd...@gmail.com wrote: Hi I am having trouble importing an array list to a grid panel. The issue is that the list

Re: User visible urls

2011-12-05 Thread Phil McDonnell
Looks great! Thanks! On Mon, Dec 5, 2011 at 3:13 AM, Thomas Broyer t.bro...@gmail.com wrote: Historyhttp://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsHistory.htmlis made for that. If you want to use HTML5's pushState/popstate, that should be possible using deferred-binding

Basic MDI (Multiple Document Interface) question

2011-12-05 Thread Zakaluka
Hello all, I have been looking into doing an MDI application with GWT. Is it possible to do such a thing with plain GWT, i.e. without using any additional libraries like SmartGWT, Ext GWT, etc? I have searched in this forum, but the latest posts seem to be from 2009 (most are even older) and

Re: inherit project's CSS to override standard gwt styles

2011-12-05 Thread Craig Mitchell
In my opinion, overriding GWTs CSS is more trouble then it's worth. Just change your .gwt.xml file to use inherits name='com.google.gwt.user.theme.standard.Standard*Resources*'/ so it doesn't import any of the GWT CSS, and then add in your own CSS in your html file. Things will then go much

Re: how to sink a custom defined event class ?

2011-12-05 Thread wahaha
but if i need define a event called onPage(fired by logical,not DOM event) for my widget,how should i register this event and bind handler for it? On Dec 5, 7:53 pm, Thomas Broyer t.bro...@gmail.com wrote: sinkEvents is only for DOM events (ones that are dispatched by the browser itself). In

Unable to read from byte cache

2011-12-05 Thread Bucky
I'm working my way through the GWT tutorial and have reached the JUnit chapter. I downloaded the sample StockWatcher application and imported it into Eclipse Indigo. I updated the appropriate control files according to the tutorial. When I try to launch the app I get the following message:

SubmitCompleteEvent.getResults() is null in devmode

2011-12-05 Thread Benjamin Seber
Hi, I'd like to upload an image and get it's serving URL through GAE ImagesServiceFactory. I've found this tutorial: http://ikaisays.com/2010/09/08/gwt-blobstore-the-new-high-performance-image-serving-api-and-cute-dogs-on-office-chairs/ Deployed on GAE it works perfectly. But running locally in

History tokens and vertical menu panel

2011-12-05 Thread JavaCool4Me
Hi, I am building a new application with a vertical panel menu, which works fine, but within some pages I have links to other pages ( which is a history token), but I need the vertical panel to slide to the correct group. The links in the page work fine now, but the panel does not slide. When I

Re: inherit project's CSS to override standard gwt styles

2011-12-05 Thread Craig Mitchell
Actually, to be completely correct, your CSS should be in a CssResouce http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#CssResource, not in your html file. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Re: inherit project's CSS to override standard gwt styles

2011-12-05 Thread Craig Mitchell
Actually, to be completely correct, your CSS should be in a CssResouce http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#CssResource, not in your html file. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Re: Places and Tabs

2011-12-05 Thread -sowdri-
Inside TAB1, I have a tree on the left. Make the activity that is displaying the tree listen to PlaceChangeEvent. Now you know whenever the place changes, such that you can highlight the required item in the tree based on the place. Thanks, -- You received this message because you are

Re: how to post data from one page to another

2011-12-05 Thread -sowdri-
.i used formpanel but not sure what path should i set in setAction() Do not use form panel, unless you are posting your data to a servlet/jsp that is external to the gwt module. In this case you can also use

GWT for Eclipse on linux

2011-12-05 Thread sachin sreenivasan
Hi ppl, I had GWT working fine on windows. then i decided to try it on linux. I gave the command yum install eclipse-fedorapackager and the eclipse got installed on Linux. But when I gave the GWT link in the Install Software it failed saying some prerequisites were missing. Then I noticed

GWT Compiled Application cannot interact with php backendGWT Compiled Application cannot interact with php backend

2011-12-05 Thread Noor
I was developing a GWT application with a PHP backend. During development, everything was OK. I was developing my GWT app from my webroot and everything was working correctly and was properly interacting with php. However, when I compiled the GWT app and place it the same place where my original

[gwt-contrib] Re: Fix for issue 5952: RequestContext#isChanged. (issue1601806)

2011-12-05 Thread t . broyer
I've applied the same technique to makePayloadOperations to slightly reduce the request payload size (by removing false-positives in property changes), as it's causing issues in our app. It still, IMO, sends too many things in a request (every proxy referenced by another proxy, even if not

[gwt-contrib] Re: Issue 6331: Let AutoBean serialize dates as numbers when possible. (issue1601805)

2011-12-05 Thread rdayal
Brian, can you review this CL? http://gwt-code-reviews.appspot.com/1601805/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Adding jscomp to the classpath for gwt user and dev projects. (issue1606803)

2011-12-05 Thread jlabanca
Reviewers: cromwellian, Description: Adding jscomp to the classpath for gwt user and dev projects. Review by: cromwell...@google.com Please review this at http://gwt-code-reviews.appspot.com/1606803/ Affected files: M eclipse/dev/.classpath M eclipse/user/.classpath Index:

[gwt-contrib] Re: Adding jscomp to the classpath for gwt user and dev projects. (issue1606803)

2011-12-05 Thread t . broyer
LGTM In my working copy I also have a .factory and an entry in .classpath for .apt_generated. See http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation#Eclipse http://gwt-code-reviews.appspot.com/1606803/ --

[gwt-contrib] Re: Adding jscomp to the classpath for gwt user and dev projects. (issue1606803)

2011-12-05 Thread cromwellian
LGTM. Sorry, as an IntelliJ user, Eclipse often escapes my mind. :) http://gwt-code-reviews.appspot.com/1606803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Issue 6331: Let AutoBean serialize dates as numbers when possible. (issue1601805)

2011-12-05 Thread skybrian
http://gwt-code-reviews.appspot.com/1601805/diff/1/user/src/com/google/web/bindery/autobean/shared/ValueCodex.java File user/src/com/google/web/bindery/autobean/shared/ValueCodex.java (right):

[gwt-contrib] Re: Fix for ScrollImplTrident leak (issue1601803)

2011-12-05 Thread stephen . haberman
http://gwt-code-reviews.appspot.com/1601803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Fix for ScrollImplTrident leak (issue1601803)

2011-12-05 Thread stephen . haberman
On 2011/12/06 06:11:56, stephenh wrote: This patch uses Thomas's suggestion of static methods with srcElement to avoid holding on to a scrollableElem that comes from outside the event handler's closure. http://gwt-code-reviews.appspot.com/1601803/ --