Disclosure panel open/close events fire before the widget is actually opened or closed

2012-09-19 Thread Rasha ElSayed
Hi all, I am using Disclosure panel in my project and on open/close, I do some layout calculations in which I need the height of the panel. My code is something like this disclosurePanel.addOpenHandler(new OpenHandlerDisclosurePanel() { @Override public void

Re: SuperDevMode and APT

2012-09-19 Thread Ajax
In addition to the aforementioned .rpc file lookup fix, you may also want to put up a servlet filter to catch all requests for files on a given module's base url (easy if your rpc urls don't have . in them;), and simply proxy those file requests to the codeserver (HttpClient / UrlFetch) when

Re: To resize or to not resize a layout

2012-09-19 Thread Thomas Broyer
On Wednesday, September 19, 2012 1:11:31 PM UTC+2, Antoine Lever wrote: I'm using a split layout panel to add a west and north panel. But, I only want the west panel to resize and NOT the north. Any ideas? Use a DockLayoutPanel for the north/center non-resizeable separation and a

Future of GWT survey

2012-09-19 Thread Joonas Lehtinen
What is your opinion on the future of GWT? How should GWT develop? What technologies should it better support? ... We all would like to get answers to these questions, right? To do so, we created survey with help of Ray Cromwell, Artur Signell, Mike Brock, David Chandler, Daniel Kurka and

Re: Disclosure panel open/close events fire before the widget is actually opened or closed

2012-09-19 Thread Patrick Tucker
Looks like fireEvents() should be moved to the animation's onComplete(). Have you checked the issue tracker for a similar report? It might be worth filing one if there is not already an issure for this. No that this is a good solution, but have you tried using a DeferredCommand? On

Re: Future of GWT survey

2012-09-19 Thread Paul Robinson
One question missing from the survey that would have been interesting is the number of people using Maven with GWT. On 19/09/12 14:23, Joonas Lehtinen wrote: What is your opinion on the future of GWT? How should GWT develop? What technologies should it better support? ... We all would like

color Listgrid header

2012-09-19 Thread Jaggernat
hi guys I am using gwt and i have this code public class CustomerGrid{ public void setGridProperties(ListGrid grid){ grid.setAlign(CENTER); I want to set the grid header color to red..any idea how i can do that? I tried grid.setHeaderBackgroundColor(#FF) , but no luck. } } thanks -- You

Re: To resize or to not resize a layout

2012-09-19 Thread Antoine Lever
How do you do that? I was under the impression that you could only add one layoutPanel via RootLayoutPanel.get(). Would you have a code fragment I can look at - thank you very much. On Wednesday, 19 September 2012 13:42:06 UTC+1, Thomas Broyer wrote: On Wednesday, September 19, 2012 1:11:31

Re: To resize or to not resize a layout

2012-09-19 Thread Thomas Broyer
On Wednesday, September 19, 2012 4:55:33 PM UTC+2, Antoine Lever wrote: How do you do that? I was under the impression that you could only add one layoutPanel via RootLayoutPanel.get(). The only constraint is that you add RequiresResize widgets to ProvidesResize widgets. RootLayoutPanel

Re: To resize or to not resize a layout

2012-09-19 Thread Jens
How do you do that? I was under the impression that you could only add one layoutPanel via RootLayoutPanel.get(). Would you have a code fragment I can look at - thank you very much. It's like: RootLayoutPanel -- DockLayoutPanel -- NORTH: header -- CENTER: SplitLayoutPanel

Re: To resize or to not resize a layout

2012-09-19 Thread Antoine Lever
It works perfectly! Thank you! On Wednesday, 19 September 2012 16:16:47 UTC+1, Jens wrote: How do you do that? I was under the impression that you could only add one layoutPanel via RootLayoutPanel.get(). Would you have a code fragment I can look at - thank you very much. It's like:

What happened to composite images for ClientBundles?

2012-09-19 Thread Chris Lercher
According to https://developers.google.com/web-toolkit/doc/latest/DevGuideUiImageBundles, multiple images in the same ClientBundle should usually be merged to a composite image, quote: Multiple ImageResources are declared in a single ClientBundle, which is a composition of many images into a

Re: Future of GWT survey

2012-09-19 Thread Dave Laycock
I wish I could change my responses. I forgot about the single biggest improvement I would like to see on the long term roadmap: support for Java 8 language features On Wednesday, 19 September 2012 07:23:24 UTC-6, Joonas Lehtinen wrote: What is your opinion on the future of GWT? How should

Re: What happened to composite images for ClientBundles?

2012-09-19 Thread KevMo
I believe it still makes composite images for older versions of IE, as those don't support data URIs. On Wednesday, September 19, 2012 8:30:46 AM UTC-7, Chris Lercher wrote: According to https://developers.google.com/web-toolkit/doc/latest/DevGuideUiImageBundles, multiple images in the

Logging in GWT

2012-09-19 Thread BM
I know GWT document says to inherit com.google.gwt.logging.Logging. Does anyone have any suggestion on which is a standards or best practices or trusted third party JARs to use for logging GWT client side code? Any help is much appreciated. -- You received this message because you are

Consumer site using GWT/GAE

2012-09-19 Thread Michael Powers
All, As an example of a consumer-facing GWT deployment, Hotelme.com just went to public beta with a end-to-end GWT/GAE/Java web site. http://hotelme.com It's work-in-progress, but we're pretty happy with architecture and performance so far. We're partnered with USA Today so we expect

Re: Future of GWT survey

2012-09-19 Thread Chris Lercher
Please excuse me for this negative feedback, but in my opinion, the survey is rather suggestive in that it presupposes that GWT should develop into something that better supports other technologies. It asks a series of questions that point in this direction (and it offers some free text

Re: Future of GWT survey

2012-09-19 Thread Mauro
Please excuse me for this stupid question, but the survey was made in aspx, not in GWT It means something? Em quarta-feira, 19 de setembro de 2012 10h23min24s UTC-3, Joonas Lehtinen escreveu: What is your opinion on the future of GWT? How should GWT develop? What technologies should it

Re: Future of GWT survey

2012-09-19 Thread Joonas Lehtinen
Yes it does - we wanted to be practical by not choosing survey tool based on the technology used to implement it :) On Wednesday, September 19, 2012 9:11:13 PM UTC+3, Mauro wrote: Please excuse me for this stupid question, but the survey was made in aspx, not in GWT It means something?

Re: GWT Maps V3 Api, clearing directions

2012-09-19 Thread Deepak Singh
I added jar file APIs_Google_map3.8.0beta.jar to my classpath. Added this to lib also. Included inherits name='com.google.gwt.maps.Apis_Google_Maps' / to my *.gwt.xml When i run the app in local, i get the following exception Unable to find 'com/google/gwt/ajaxloader/AjaxLoader.gwt.xml' on your

Re: Future of GWT survey

2012-09-19 Thread Joonas Lehtinen
Sorry - the intention was to keep the survey as neutral as possible. We definitely did not want to suggest anything with the questions. I fully agree with your point of keeping GWT a lean focused low core framework with no limitations. Other libraries that build on top of that (like Vaadin and

Re: GWT Maps V3 Api, clearing directions

2012-09-19 Thread Deepak Singh
Now, I added gwt-ajaxloader.jar It was able to run in dev mode. Now i run the following code MapOptions mo = MapOptions.newInstance(); LatLng ll = LatLng.newInstance(Double.parseDouble(latitude), Double.parseDouble(longitude)); mo.setCenter(ll); mo.setZoom(4); mo.setMapTypeId(MapTypeId.HYBRID);

Re: GWT Maps V3 Api, clearing directions

2012-09-19 Thread Deepak Singh
Could not resolve the exception mentioned. Then i copied PlaceSearchMapWidget.java and tried to use. But could not create the widget as PlacesService placeService = PlacesService.newInstance(attrContainer, mapWidget); And i could not understand 'attrContainer' parameter. My requirement is

Re: Future of GWT survey

2012-09-19 Thread Daniel Kurka
Hi Chris, I absolutely get your feedback and (at least to me) its a given that we will keep GWT as open and lean as possible. It should not get in your way or impose a special way of developing. It should be a great platform to build on. Thank you for placing your feedback here, I don`t think

GUI Design - Layout Panels

2012-09-19 Thread Marco
Hello, i have planned to design my application with following areas: --- Toolbar Area -- Workspace Header (for some information or filter criteria's) --- Workspace Area

GWT + Facebook integration issue

2012-09-19 Thread Deepak Singh
Hi, Host html page has downloaded the FB sdk. div id=fb-root/div script(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = // connect.facebook.net/en_US/all.js#xfbml=1appId=33427521094;

Re: SuperDevMode stuck on compiling

2012-09-19 Thread Ajax
A note on bad practices leading to frail code... Calling values.hasOwnProperty will likely be fine if the values object only ever comes from generated gwt code, but from experience elsewhere, I always try to do Object.prototype.hasOwnProperty.call(values, prop); Obviously if anyone wrecks

Re: What happened to composite images for ClientBundles?

2012-09-19 Thread Thomas Broyer
On Wednesday, September 19, 2012 5:30:46 PM UTC+2, Chris Lercher wrote: According to https://developers.google.com/web-toolkit/doc/latest/DevGuideUiImageBundles, multiple images in the same ClientBundle should usually be merged to a composite image, quote: Multiple ImageResources are

Re: hard time to get GWTTestCase to work

2012-09-19 Thread Ajax
Anywhere you find yourself re-writing the same code more than three times, you would likely benefit from a generator. Can you give some examples? - GWT.runAsync(); same boilerplate every time, but in order to work, each call must be behind a method of its own. The lightweight dependency

Re: Future of GWT survey

2012-09-19 Thread Andrei
I hope we can also avoid the other extreme: GWT hijacked by developers of commercial libraries, trying to keep GWT as basic as possible, so that their libraries look even more attractive in comparison. I exaggerate to make a point, I know they are good people :) I would love to see a unified

Re: What happened to composite images for ClientBundles?

2012-09-19 Thread Tim
Perhaps you want set some ImageOptions on the resource. Check preventInlining and RepeatStyle On Wednesday, September 19, 2012 8:30:46 AM UTC-7, Chris Lercher wrote: According to https://developers.google.com/web-toolkit/doc/latest/DevGuideUiImageBundles, multiple images in the same

Re: SimpleHtmlSanitizer is too much simple, where can I find a complete one?

2012-09-19 Thread gong min
yes, I know I can added all the tags I need. But how about HTML tag attributes? css? I want to keep as many as HTML's capability, but also keep far away from HTML xss attacks. I am realy a newbie, not only web but also java. I realy don't know how many things shold be considered. Also, if it

Help finding widget that someone posted in this group

2012-09-19 Thread Milan Cvejic
Hello, I am looking for ListBox implementation that someone posted in this group few months ago. I bookmarked it, but lost my bookmarks :( Thanks for help! Best, Milan -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: GUI Design - Layout Panels

2012-09-19 Thread Andrei
LayoutPanel can handle all use cases. For example, for your design you can do something like this (use Ui:Binder). It will keep the height of three layers constant, while one of the layers will take all the available space. Now, when a user clicks on one of the menu options, you call

[gwt-contrib] *.rpc.log files

2012-09-19 Thread Paul Robinson
I went looking for the *.rpc.log files that get generated during the GWT compile yesterday, only to find that they don't get generated by default any more. After a bit of digging in the source code, it seems that you have to turn them on now with an argument of -logLevel DEBUG to the GWT

[gwt-contrib] unable to download IE developer plugin

2012-09-19 Thread Daniel Kurka
I seem to be unable to download and install the GWT developer plugin for IE. I haven`t tried this in a long time for IE though so I might be missing something pretty basic, but maybe not. Here goes: I am running a Win7 IE 9 The missing plugin site suggests this url:

[gwt-contrib] Re: unable to download IE developer plugin

2012-09-19 Thread Daniel Kurka
just found this one from Thomas: http://stackoverflow.com/questions/10799647/cant-find-gwt-devmode-plugin-for-ie9 should we open an issue to track this down and get rid of it? -Daniel 2012/9/19 Daniel Kurka kurka.dan...@gmail.com I seem to be unable to download and install the GWT developer

[gwt-contrib] Re: Fix Chrome plugin compile errors by replacing Value with gwt::Value. (issue1835803)

2012-09-19 Thread acleung
On 2012/09/18 02:40:01, skybrian wrote: LGTM I vaguely remember the exact same problem in xpcom a while ago http://gwt-code-reviews.appspot.com/1835803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Deprecating DeRPC classes

2012-09-19 Thread Daniel Kurka
Is DeRPC actually in use somewhere? Or should I go ahead and propose a patch that deprecates it or even removes it? -Daniel 2012/9/11 Chris Lercher cl_for_mail...@gmx.net https://developers.google.com/web-toolkit/doc/latest/DevGuideServerCommunication#DevGuideDeRPC says about

Re: [gwt-contrib] submit chrome dev mode plugin to chrome web store?

2012-09-19 Thread John A. Tamplin
On Wed, Sep 19, 2012 at 4:48 PM, Daniel Kurka kurka.dan...@gmail.comwrote: I was actually looking for the c / c++ code of the chrome plugin. This got me confused: http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/npapi/README.txt Are we using the npapi for building the

[gwt-contrib] Re: Make the AbstractEditorDriverGenerator create Context classes that work with parameterized parents. (issue1836803)

2012-09-19 Thread skybrian
Could you write a test for this change? http://gwt-code-reviews.appspot.com/1836803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors