GXT Deferred Binding for Changing views

2011-11-14 Thread shrekjo
Hello All, I am using Gxt 2.2.5 and Gwt 2.3.0 to create an application for mobile and desktop browsers. I want to use deferred binding concept as mentioned in http://www.google.com/events/io/2011/sessions/using-gwt-and-eclipse-to-build-great-mobile-web-apps.html. But I am unable to replicate th

Re: EntityProxy & equals

2011-11-14 Thread -sowdri-
I use this class for copying proxies across contexts. May be helpful in your case too: /** * Convenience method to copy an entity proxy to another request context. * * @author sowdri * */ public class RequestFactoryUtils { public static T copy(Class clazz, T proxy, RequestContext context

Re: Is there a way to include arbitrary .java files into my gwt module?

2011-11-14 Thread Hilco Wijbenga
On 14 November 2011 17:50, Stephen Buergler wrote: > I want to use java files in the libraries that I am using with my gwt > module. Is there a way to include them without copying them into an emul > directory and using ? How does gwt-user.jar get included? I am > using Eclipse. I have not needed

Is there a way to include arbitrary .java files into my gwt module?

2011-11-14 Thread Stephen Buergler
I want to use java files in the libraries that I am using with my gwt module. Is there a way to include them without copying them into an emul directory and using ? How does gwt-user.jar get included? I am using Eclipse. -- You received this message because you are subscribed to the Google Gro

Re: Sessions and Activities and Places

2011-11-14 Thread Mike Dee
I think I've found a good way to handle this. It really is pretty easy. I subclassed PlaceController and override it goTo() method. It looks like this: public void goTo( Place newPlace ) { if( isLoggedIn ) super.goTo( newPlace );

Re: EntityProxy & equals

2011-11-14 Thread Hilco Wijbenga
On 14 November 2011 12:49, Robert Quinn wrote: > I also have collections of EntityProxys, but I make the lifetime of > the collection the same as the lifetime of the RequestContext. > > So after I do a CRUD operation, I refresh my collections in the new > RequestContext, and therefore don't have a

HTML page into GWT tabpanel

2011-11-14 Thread Claudio Pomo
Hi! I've developed my GWT application and I need to integrate an html page in a tabpanel of my page designed with the gwt designer. I use this code @UiField Frame report; @UiField TabPanel details; publicClass(){ initWidget(BINDER.createAndBindUi(this)); fillOne();

Re: GWT HTTP RequestBuilder

2011-11-14 Thread karun
Thanks Thomas and jens for your help i am planning to use CORS for time being. later i will use reverse proxy approach. Regards kumar On Nov 14, 12:24 am, Thomas Broyer wrote: > On Sunday, November 13, 2011 7:59:38 PM UTC+1, karun wrote: > > > Hi Jens > > > Yes i am sure, i got response code a

Re: Display first web page in GWT

2011-11-14 Thread Jonathan Gossage
I have also tried not setting a background image so only the border should be displayed. Since this is not happening I have to assume that: a) The panel is not being rendered. b) The stylesheet entry is being ignored. On Mon, Nov 14, 2011 at 1:53 PM, Jonathan Gossage wrote: > Thanks for your sug

Re: I want to learn GWT,..

2011-11-14 Thread mitel
good bookmark compilation here for gwt: http://www.rushstart.net/google-web-toolkit.html best regards On Nov 2, 1:30 am, Robert Lockwood wrote: > I thank you kindly, sir! > > > > > > > > > > On Tue, Nov 1, 2011 at 12:32 PM, BM wrote: > > This is what I did to learn GWT. > > > 1) Go through th

Re: Does the GWT "magic" ever fail you?

2011-11-14 Thread David Vree
On Nov 12, 12:36 pm, Thomas Broyer wrote: > On Saturday, November 12, 2011 6:17:59 PM UTC+1, David Vree wrote: > > Last year, they reworked the compiler internals to make it possible to > optimize the output even more. That introduced a few bugs, but they were > quickly patched (hey, Google relies

Re: EntityProxy & equals

2011-11-14 Thread Robert Quinn
I also have collections of EntityProxys, but I make the lifetime of the collection the same as the lifetime of the RequestContext. So after I do a CRUD operation, I refresh my collections in the new RequestContext, and therefore don't have any inter-RequestContext problems. On Nov 14, 2:01 pm, H

GWT Designer 2.4 for Eclipse 3.4 based IDE

2011-11-14 Thread Sebastjan
I'm using IBM RAD 7.5 which is Eclipse 3.4 based and I would like to update GWT Designer to the last release. I couldn't find repository intended for Eclipse 3.4 only for 3.5+. Is there any way to perform upgrade or I have to stuck with GWT Designer 2.2 until IBM upgrade make stable RAD 8.0? -- Y

Re: EntityProxy & equals

2011-11-14 Thread Hilco Wijbenga
On 14 November 2011 08:47, Hilco Wijbenga wrote: > On 14 November 2011 06:33, Robert Quinn wrote: >> Equality works as Thomas mentioned, so one basic question leaps to >> mind: Why are you comparing EntityProxys from different contexts or >> with different stableIds?  Maybe there is a more centra

Re: Display first web page in GWT

2011-11-14 Thread Jonathan Gossage
Thanks for your suggestions. I have tried all your suggestions but still nothing is displayed. I tried stepping through the code after onModuleLoad() but could not find anything suggestive of a problem. 2011/11/14 gerry > Hi, > > You have to put your images and other static files inside the war

GWT RPC

2011-11-14 Thread learning coding
Hi i am very new to programming, So Plz Help with the code. I have a code which is running fine when i am creating with java project in eclipse.But the same code is not running with gwt web application. void init() { SessionFactory sessionFactory =SessionFactoryImpl.newInstance(); Map parameter =

mgwt: Building iPhone / Android app with GWT

2011-11-14 Thread Daniel Kurka
For those interested mgwt 1.0 was just released. Link to the project homepage: http://www.m-gwt.com Link to the blogpost: http://blog.daniel-kurka.de/2011/11/mgwt-10-released.html - Daniel Kurka -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Detect mouse position when click on DatePicker?

2011-11-14 Thread King_V
All, Ok, I'm sure the question can be applied more generically - however, I figured I'd ask it for my particular problem. I have a DatePicker, and a class that implements ValueChangeHandler What I want to do is figure out the mouse's absolute x and y position on the browser window when this ha

Re: Display first web page in GWT

2011-11-14 Thread gerry
Hi, You have to put your images and other static files inside the war directory. And mind the fullstop (.) before the css rule: .appbackground { background-image: url (images/background.jpg); // provided that you have an the forlder images under war folder width: 80%; height: 80%; border: 10px s

KeyboardSelectionPolicy BOUND_TO_SELECTION vs ENABLED

2011-11-14 Thread Raziel
Hi, could somebody provide a simple but complete explanation, and perhaps a use case, for the usage of KeyboardSelectionPolicy.BOUND_TO_SELECTION and KeyboardSelectionPolicy.ENABLED? I've looked at the code, and see a number of tickets being resolved around this concept, but I'm still not clear of

Re: Sessions and Activities and Places

2011-11-14 Thread Mike Dee
I'm sorry, I don't think I understand this. How would a separate GWT module help? Wouldn't a separate module (with separate URL) produce a separate session? On Nov 13, 9:54 pm, -sowdri- wrote: > Have your tried moving login part to a separate GWT module, with a > different url (consequently a s

Re: Form factor support using GIN

2011-11-14 Thread Jens
Sighthe root of all evil are one letter typos... It works now. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/rvE-gKUQXgQJ. To post

Re: EntityProxy & equals

2011-11-14 Thread Hilco Wijbenga
On 14 November 2011 06:33, Robert Quinn wrote: > Equality works as Thomas mentioned, so one basic question leaps to > mind: Why are you comparing EntityProxys from different contexts or > with different stableIds?  Maybe there is a more centralized way you > could manage those EntityProxys so that

Re: Form factor support using GIN

2011-11-14 Thread Jens
Hi, I have pretty much the same code in my project for a long time but I had disabled everything but the desktop replace-with default rule. Today I have included the rules for tablets and mobiles again and deferred binding doesn't work correctly. GWT always uses the DesktopGinjectorProvider. Ev

Re: GWT compiler doesn't create symbol maps files

2011-11-14 Thread Thomas Käfer
thanks for posting this, I was just having the same problem! On 23 Okt., 16:03, Alexander wrote: > A miracle happened, I found the reason. > > I don't even know how much time I have spent. > > On Oct 23, 6:13 pm, Alexander wrote: > > > > > > > > > Hello. > > > GWT compiler doesn't create direct

Re: Dart and GWT

2011-11-14 Thread Eric Clayberg (Google)
The Dart Editor team is primarily focused on the standalone RCP-based editor as it gives a much better experience (e.g., smaller and much faster) than would an Eclipse plugin running in Eclipse. At the moment, we don't have plans to provide a plugin for Eclipse, but most of the pieces are there

Re: EntityProxy & equals

2011-11-14 Thread Robert Quinn
Equality works as Thomas mentioned, so one basic question leaps to mind: Why are you comparing EntityProxys from different contexts or with different stableIds? Maybe there is a more centralized way you could manage those EntityProxys so that you are not dispersing them in various states/contexts

Re: PopupPanel showRelativeTo Firefox issue

2011-11-14 Thread Dimitrijević Ivan
I have the same problem in firefox 7 and GWT 2.3. Is there submitted ticket for this issue, solution or something? Thanks! -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com

Session Time Out and Authentication problem with gaerequest module

2011-11-14 Thread Cem Ikta
Hello, I try to use *gaerequest* module (mobilwebapp demo in gwt svn) to control session timeout and authentication. Everything works fine but I'll never get in *GaeAuthenticationFailureEvent* dispatch method. What I do is the same in Expenses or MobilwebApp gaerequest gwt module in samples. B

Re: GWT Temp files

2011-11-14 Thread Patrick Tucker
Are you referring to the AppData\Local\Temp folder? http://code.google.com/p/google-web-toolkit/issues/detail?id=5261 On Nov 14, 8:03 am, Sanjay Jain wrote: > Hello All, > This question may be a very easy for many of you, But I am not getting any > answer for it. > I am using GWT for my applica

Text looks blurry on zoom (iPad)

2011-11-14 Thread Brian
Hi I got a question about text in gwt, if I have a normal webpage and I zoom in the text looks sharp and clean. In my gwt application when I zoom, it's like the text is not redrawn, and it really looks blurry and almost hard to read. So is gwt doing some optimizations on the text when on mobile dev

GWT Temp files

2011-11-14 Thread Sanjay Jain
Hello All, This question may be a very easy for many of you, But I am not getting any answer for it. I am using GWT for my application.While I compile and run my application, a lots of files and folder created automatically in temp folder.I am not getting for which means these files are in temp

Re: GWT Developer Plugin for Firefox 8

2011-11-14 Thread Alan Leung
I started a code review already. On Sat, Nov 12, 2011 at 6:51 PM, James Wendel wrote: > Agreed. It would be nice to see this uploaded to SVN. > > On Nov 10, 4:44 pm, bryn ryans wrote: > > Any particular reason why the FF8 plugin has been > uploadedwww.fileswap.com > > > > rather than google-we

Re: Deferred binding with ClientBundle?

2011-11-14 Thread Ed
Thanks Thomas. On Nov 14, 12:31 am, Thomas Broyer wrote: > Yes, GWT doesn't "chain" rules (which can be great, when what you want is > to override). > > To overcome this, you have to code a "provider" or "factory" for the > LoginResources and use your replace-with rule on that factory (see sample

Re: EntityProxy & equals

2011-11-14 Thread Thomas Broyer
EntityProxy#equals() actually compares their request-context and stableId(). See http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/web/bindery/requestfactory/shared/impl/EntityProxyCategory.java#30 -- You received this message because you are subscribed to the

GWT Eclipse Emultaor Chokes on CSS3

2011-11-14 Thread Chris Marshall
I have been using some CSS3 styles like: background-image: -webkit-linear-gradient(top, #CADEFA, #90A6C6); /* Safari 5.1+, Mobile Safari, Chrome 10+ */ background-image: -moz-linear-gradient(top, #CADEFA, #90A6C6); /* Firefox 3.6+ */ for a while with no problem. Without any obvious change