Re: Very strange deserialization problem only in dev mode

2013-07-10 Thread Craig Mitchell
I'm also getting this problem. Only in dev mode, and only when the page is returning from an external page. On our situation, we are doing OAuth. So we redirect to an external site to login, then when the external site returns, the first RPC call throws a IncompatibleRemoteServiceException.

Re: Problems with overriding .gwt-TabBarItem-selected CSS when using own CSS style instead of .gwt-TabBarItem

2013-07-10 Thread Goosie
Hi Jens! :) I've tried to used addStyleName() to create a secondary style class for the lower tab bar but with my usual luck it isn't working... ofc ;) All the labels use .gwt-TabBarItem as their stylesheet :( *This are the following labels in the java file:* * Label upLabel = new Label(

Re: Problems with overriding .gwt-TabBarItem-selected CSS when using own CSS style instead of .gwt-TabBarItem

2013-07-10 Thread Goosie
Hi Patrick! I tried ur suggestion as well but couldn't find out how to get the two different tab bars to use their style. I tried giving one of them the default style but even then it would not change its color :( On Monday, July 8, 2013 4:38:28 PM UTC+2, Patrick Tucker wrote: > > Did you try g

how to call the gwt method from html

2013-07-10 Thread Prabhu
I have writen one program using gwt-visulization to gwt table. In that table it is allow html code.In that code to how to call the gwt method see the following program: package com.sample.client; import com.google.gwt.core.client. EntryPoint; import com.google.gwt.i18n.client.NumberFormat; impor

Re: how to call the gwt method from html

2013-07-10 Thread Thomas Broyer
On Wednesday, July 10, 2013 6:55:18 AM UTC+2, Prabhu wrote: > > public static native void exportMyFunction(Gwtgooglechartsexample x) > /*-{ >$wnd.callPopup > =$entry(x.@com.sample.client.Gwtgooglechartsexample::callPopup()()); > }-*/; > This code is not doing what you thing it

Re: Correct methodology to update browser url with MVP

2013-07-10 Thread Thomas Broyer
On Tuesday, July 9, 2013 8:17:41 PM UTC+2, Joel wrote: > > If its a re-focus effect, what would be the cure? > Track its provenance and avoid it (if possible; hard to say without knowing why the CellList is re-focused) > > > On Tue, Jul 9, 2013 at 10:31 AM, Thomas Broyer > > wrote: > >> >>

Re: layout panel problem, invisible panels

2013-07-10 Thread Thomas Broyer
On Wednesday, July 10, 2013 5:54:19 AM UTC+2, Zak Linder wrote: > > I do not use UiBinder, but I have come across this problem as well, and > have found a solution that works for me. > > The problem is that HeaderPanel only sets the size of the > contentContainer, it does nothing with the conte

Trying to add an image of a looking glass to a searchBox

2013-07-10 Thread Goosie
Hi everyone! I am trying to add an image of a little looking glass to a search box but I don't know how. The search box is created by using SearchBox and the text inside is added with .setValue(). Is it even possible? Thanks in advance :) -- You received this message because you are subscr

Re: GWT.create conference - call for presentations

2013-07-10 Thread Ashton Thomas
+1 for the showcase session. Many people build internal or private applications with GWT and this may be a good opportunity to showcase and spark conversation within the context of live apps. I would also love to showcase Acrinta's application (public app - due for release before the event).

Re: GWT.create conference - call for presentations

2013-07-10 Thread Ashton Thomas
Also, it may make sense to do a poster room/showcase on the second day after people (especially newcomers) have different types of GWT topics on their minds and can discuss their use in the wild. On Wednesday, July 10, 2013 7:03:33 AM UTC-4, Ashton Thomas wrote: > > +1 for the showcase session.

Re: Trying to add an image of a looking glass to a searchBox

2013-07-10 Thread Thomas Broyer
On Wednesday, July 10, 2013 11:26:32 AM UTC+2, Goosie wrote: > > Hi everyone! > > I am trying to add an image of a little looking glass to a search box but > I don't know how. > The search box is created by using SearchBox and the text inside is added > with .setValue(). > There's no SearchB

Re: layout panel problem, invisible panels

2013-07-10 Thread Patrick Tucker
What's the harm in making it implement ProvidesResize and correctly notify all children? I've seen this topic so many times and have had to work around it on many projects myself. On Wednesday, July 10, 2013 5:19:23 AM UTC-4, Thomas Broyer wrote: > > > The reason HeaderPanel doesn't implement

Re: Problems with overriding .gwt-TabBarItem-selected CSS when using own CSS style instead of .gwt-TabBarItem

2013-07-10 Thread Patrick Tucker
TabBar.addStyleDependentName("upper") or TabPanel.getTabBar().addStyleDependentName("upper") or TabBar.getElement().setId("upper") or TabPanel.getTabBar().getElement().setId("upper") Maybe if you provide code you will get better help? You are making us guess... On Wednesday, July 10, 2013 4:03

Re: Problems with overriding .gwt-TabBarItem-selected CSS when using own CSS style instead of .gwt-TabBarItem

2013-07-10 Thread Patrick Tucker
You are adding the dependent name to the Label itself, this is not really what Jens was describing. Your dependent style will look something like gwt-Label-lowerTabBarItem. This is not how your style is written. You should be able to see that the style name is not as you expected with someth

Re: layout panel problem, invisible panels

2013-07-10 Thread Thomas Broyer
The goal of HeaderPanel is to let the header and footer use their "intrinsic size", so they shouldn't be RequiresResize widgets. Note that I don't disagree making HeaderPanel implement ProvidesResize. Patches welcome ;-) On Wednesday, July 10, 2013 4:00:24 PM UTC+2, Patrick Tucker wrote: > > Wha

Re: how to defer a method call until the return of an async server call?

2013-07-10 Thread Ümit Seren
I think this solution is the right one. In general these kind of scenarios would be a good fit for Futures/Promises especially if you depend on multiple asynchronous calls. https://code.google.com/p/gwt-async-future/ https://code.google.com/p/gwtquery/wiki/Promises On Tuesday, July 9, 2013

Re: Correct methodology to update browser url with MVP

2013-07-10 Thread Joel Trunick
That is the odd thing, we don't have any code that focuses explicitly, or even manipulates that part of the screen (as checked through the debugger). Even more strange is that our custom place controller has an effect on the behavior of the list. If we do a security check in "OurPlaceController",

Re: layout panel problem, invisible panels

2013-07-10 Thread Patrick Tucker
That is what is so nice about it. But generally we end up wanting to know about the resize to modify elements that are inside of the child widget either to reposition or resize them. It is actually an easy fix, unfortunately the new review system isn't me friendly. If anyone wants to take it

Re: how to defer a method call until the return of an async server call?

2013-07-10 Thread Jens
> In general these kind of scenarios would be a good fit for > Futures/Promises especially if you depend on multiple asynchronous calls. > https://code.google.com/p/gwt-async-future/ IMHO Futures don't buy you anything in GWT. In Java Future.get() blocks until the result is available, in GWT

Re: layout panel problem, invisible panels

2013-07-10 Thread Jens
> But generally we end up wanting to know about the resize to > modify elements that are inside of the child widget either to reposition or > resize them. > Hmm, just a guess, but if you have this desire then you probably use the wrong widget or your CSS can be done better in header and foote

Re: layout panel problem, invisible panels

2013-07-10 Thread Patrick Tucker
We use them a lot for things that aren't page headers and footers. But yes if I was displaying a title and a logout link or something like that in the header and needed to modify them on resize that would be a bad plan. On Wednesday, July 10, 2013 12:39:22 PM UTC-4, Jens wrote: > > But general

Garbage collection in javascript (GWT)

2013-07-10 Thread Bhumika Thaker
I want to know that how java script object is collected by GC? so I goggled but could not find any satisfied answers. The question is related to GWT code, as we know that gwt compile java code into javascript. so how it will use GC mechanism in it? Just example : There is four screen on my appl

Re: Garbage collection in javascript (GWT)

2013-07-10 Thread Jens
Take a read: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management GWT also has two articles about memory leaks: https://code.google.com/p/google-web-toolkit/wiki/UnderstandingMemoryLeaks http://www.gwtproject.org/articles/dom_events_memory_leaks_and_you.html In short: If

Re: how to defer a method call until the return of an async server call?

2013-07-10 Thread Ümit Seren
I think the big advantage of Promises/Futures is that you can pass a Future/Promise around. It also makes handling multiple asynchronous easier than with callbacks (chaining vs nested callbacks). Of course they have to be non-blocking. Java8 and it's lambda constructs would make things much less v

Re: Garbage collection in javascript (GWT)

2013-07-10 Thread Bhumika Thaker
Thank you... On Wed, Jul 10, 2013 at 11:26 PM, Jens wrote: > Take a read: > > https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management > > > GWT also has two articles about memory leaks: > > https://code.google.com/p/google-web-toolkit/wiki/UnderstandingMemoryLeaks > http://ww

Re: New GWT Tutorial

2013-07-10 Thread Maithilish
I have submitted the change for review - https://gwt-review.googlesource.com/#/c/3701/ Please review and verify. On Tuesday, July 9, 2013 8:00:05 PM UTC+5:30, Thomas Broyer wrote: > > If you want something in gwtproject.org, help yourself and send a patch > for review: http://www.gwtproject

Re: Trying to add an image of a looking glass to a searchBox

2013-07-10 Thread Goosie
What a great idea! I put the glass as a background image and it works perfectly, thank you so much! :) On Wednesday, July 10, 2013 2:36:41 PM UTC+2, Thomas Broyer wrote: > > > > On Wednesday, July 10, 2013 11:26:32 AM UTC+2, Goosie wrote: >> >> Hi everyone! >> >> I am trying to add an image of a