Saturday, December 31, 2011

Re: does lazy loading OneToMany Relationship fails RequestFactory proxies?

check that, actually i a slightly different error only difference is instead of JobHistory, i get JobHistoryPk can't be sent to the client.

On Sun, Jan 1, 2012 at 7:56 AM, Elhanan Maayan <elh.maayan@gmail.com> wrote:
ok, they really REALLY need to fix that thing, i changed the directory of .apt_generated to .apt_gen and got an exception on the serve side (some stupid bug in eclipse link which doesn't make it compatible with jpa), i dunno if this was the original problem, but after fixing it still get the original error.


On Sun, Jan 1, 2012 at 1:56 AM, Thomas Broyer <t.broyer@gmail.com> wrote:


On Saturday, December 31, 2011 9:08:50 PM UTC+1, Elhanan wrote:
hi..
i'm trying use an entity employee which has JobHistory entities related to it..i should add that although jobHistory is considered an entity, it has an embeddedId which is a dervied from manytoOne relationships. 

anyway i tried using eager loading, but it still doesn't work. i get this:
com.google.web.bindery.requestfactory.server.UnexpectedException: The domain type com.hr.model.impl.JobHistory cannot be sent to the client
at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.die(ServiceLayerDecorator.java:216)
at com.google.web.bindery.requestfactory.server.ResolverServiceLayer.resolveClientType(ResolverServiceLayer.java:91)

Nothing to do with lazy-loading here: RF cannot find a proxy type for the domain class JobHistory (that matches the one declared as the employee proxy getter return type). It can be an issue with the ValidationTool, or with your code (mismatch between ProxyFor and your proxies and domain classes).

--
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/-/1x-CiiWd-TEJ.

To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: does lazy loading OneToMany Relationship fails RequestFactory proxies?

ok, they really REALLY need to fix that thing, i changed the directory of .apt_generated to .apt_gen and got an exception on the serve side (some stupid bug in eclipse link which doesn't make it compatible with jpa), i dunno if this was the original problem, but after fixing it still get the original error.

On Sun, Jan 1, 2012 at 1:56 AM, Thomas Broyer <t.broyer@gmail.com> wrote:


On Saturday, December 31, 2011 9:08:50 PM UTC+1, Elhanan wrote:
hi..
i'm trying use an entity employee which has JobHistory entities related to it..i should add that although jobHistory is considered an entity, it has an embeddedId which is a dervied from manytoOne relationships. 

anyway i tried using eager loading, but it still doesn't work. i get this:
com.google.web.bindery.requestfactory.server.UnexpectedException: The domain type com.hr.model.impl.JobHistory cannot be sent to the client
at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.die(ServiceLayerDecorator.java:216)
at com.google.web.bindery.requestfactory.server.ResolverServiceLayer.resolveClientType(ResolverServiceLayer.java:91)

Nothing to do with lazy-loading here: RF cannot find a proxy type for the domain class JobHistory (that matches the one declared as the employee proxy getter return type). It can be an issue with the ValidationTool, or with your code (mismatch between ProxyFor and your proxies and domain classes).

--
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/-/1x-CiiWd-TEJ.

To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Image border

How are you adding the image? Using the URL property or as background image via CSS property? 

If u load it using URL property it does not show the border. 

~Ashwin

Sent from my iPhone

On Jan 1, 2012, at 8:38 AM, Pavel Byles <pavelbyles@gmail.com> wrote:

Is there a way to remove the default border from a gwt image widget?

in my css I have: 

img {  

border: none;


Yet nothing changes.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Image border

Is there a way to remove the default border from a gwt image widget?

in my css I have: 

img {  

border: none;


Yet nothing changes.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: does lazy loading OneToMany Relationship fails RequestFactory proxies?



On Saturday, December 31, 2011 9:08:50 PM UTC+1, Elhanan wrote:
hi..
i'm trying use an entity employee which has JobHistory entities related to it..i should add that although jobHistory is considered an entity, it has an embeddedId which is a dervied from manytoOne relationships. 

anyway i tried using eager loading, but it still doesn't work. i get this:
com.google.web.bindery.requestfactory.server.UnexpectedException: The domain type com.hr.model.impl.JobHistory cannot be sent to the client
at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.die(ServiceLayerDecorator.java:216)
at com.google.web.bindery.requestfactory.server.ResolverServiceLayer.resolveClientType(ResolverServiceLayer.java:91)

Nothing to do with lazy-loading here: RF cannot find a proxy type for the domain class JobHistory (that matches the one declared as the employee proxy getter return type). It can be an issue with the ValidationTool, or with your code (mismatch between ProxyFor and your proxies and domain classes).

--
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/-/1x-CiiWd-TEJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: GWT application freezes when new version is deployed while using it

runAsync are not expected to do RPC, these are separated concerns.

But you pass a RunAsyncCallback to GWT.runAsync(), and the onFailure of this callback is indeed called when the fragment cannot be loaded.

--
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/-/MoNo9cCwB30J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Something other than a Java object was returned from JSNI method

Hi Thomas, thanks for the welcome back!

It appears that there are two issues for me, not one 
    - the one you kindly gave me the link to (I had actually looked at it, but didn't get any further than the first entry because the version was so old) 
    - and the other is the random history onValueChange with a blank token followed immediately by it firing with the current token (or what was current before the blank one was fired). I really can't see where that one is coming from. I only have one History.newItem call and that has issueEvent set to false, and I have no timers anywhere (apart from a couple of scheduleDeferred in order to redraw the screen or allow the UncaughtExceptionHandler to become active. So what is firing it?

I think I'm going to have to switch to Firefox for development and for general browsing as the lesser of a number of evils. I've used Chrome as my main browser since it came out because it was simple and uncluttered and refreshingly clean, but recent (and not so recent) changes mean it's not as good as it used to be for me. Just one example, I used to have a list of recently closed tabs right there on the new tab page, but now I have to use the 'Recently Closed' menu to get to them. Whose bright idea was that, and how did it get through any kind of sanity check? 'Look lads, I've got this great idea, we'll improve the user experience by hiding the closed tabs and making the user click more times than they used to have to.'

'Great idea, we'll put it in the next release!'

Sigh.

Anyway, Happy New Year to all who read this far :-)

Ian


On 30 December 2011 22:59, Thomas Broyer <t.broyer@gmail.com> wrote:
Hi Ian, welcome back!


--
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/-/cU1-KVNDsfIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: A new-comer nightmare, the learning curve and best-practices

well first off i'm not sure how RequestFactory is related to spring, it is more related to orm frameworks integration into GWT. 
actually GWT has a lot more integration with gin (the client side of guice in gwt)  and guice then spring, (unless i'm wrong, but i saw a lot more frameworks using it then with spring). 
as for the lack of/sparse documentation, yep, it is a problem, sometimes i think gwt acts more like a start-up company then well founded one like google, although the developer guide does cover most of the bits, the nuts and bolts are hidden away, without proper documentation aside from the source code (and there's a lot of it).
as for the too much code problem, yep, that's also a problem which seems to be increasing with each major of gwt. 
this is why i've seen frameworks result in code generation of boilerplate codes the ease up this pain. 

although the MVP articles are good, they are rather confusing as GWT doesn't have a direct implementation of them, this is because the Activity Places framework, doesn't exactly cover that (you should replace the word Activity with presenter)  

for the UI, you should stop thinking in terms of pages, but start thinking like a desktop developer, the html page is just a thin cover host, it does nothing more then serve your app to the browser, from then on GWT takes over. 

--
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/-/lemNGp_G-jwJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

does lazy loading OneToMany Relationship fails RequestFactory proxies?

hi..
i'm trying use an entity employee which has JobHistory entities related to it..i should add that although jobHistory is considered an entity, it has an embeddedId which is a dervied from manytoOne relationships. 

anyway i tried using eager loading, but it still doesn't work. i get this:
com.google.web.bindery.requestfactory.server.UnexpectedException: The domain type com.hr.model.impl.JobHistory cannot be sent to the client
at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.die(ServiceLayerDecorator.java:216)
at com.google.web.bindery.requestfactory.server.ResolverServiceLayer.resolveClientType(ResolverServiceLayer.java:91)
at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveClientType(ServiceLayerDecorator.java:142)
at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveClientType(ServiceLayerDecorator.java:142)
at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator.resolveClientType(ServiceLayerDecorator.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.web.bindery.requestfactory.server.ServiceLayerCache.getOrCache(ServiceLayerCache.java:233)
at com.google.web.bindery.requestfactory.server.ServiceLayerCache.resolveClientType(ServiceLayerCache.java:163)
at com.google.web.bindery.requestfactory.server.Resolver.resolveClientValue(Resolver.java:586)
at com.google.web.bindery.requestfactory.server.Resolver.resolveClientValue(Resolver.java:618)
at com.google.web.bindery.requestfactory.server.Resolver.access$400(Resolver.java:50)
at com.google.web.bindery.requestfactory.server.Resolver$PropertyResolver.visitReferenceProperty(Resolver.java:139)
at com.google.web.bindery.autobean.shared.AutoBeanVisitor.visitCollectionProperty(AutoBeanVisitor.java:229)
at com.google.web.bindery.autobean.vm.impl.ProxyAutoBean.traverseProperties(ProxyAutoBean.java:300)
at com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.traverse(AbstractAutoBean.java:166)
at com.google.web.bindery.autobean.shared.impl.AbstractAutoBean.accept(AbstractAutoBean.java:101)
at com.google.web.bindery.requestfactory.server.Resolver.resolveClientValue(Resolver.java:395)
at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.processInvocationMessages(SimpleRequestProcessor.java:483)
at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:225)
at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:127)
at com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

--
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/-/qa00R1r4QiAJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

GWT i18n - locale set by property provider is not reflected at the client side

I am setting the locale value using the property provider( returns
value dynamically based on certain conditions). This class is called
every time the browser issues a new request. But the UI is not
rendered with the locale returned by the property provider. If the
property provider returns different values on each request, the value
returned for the first time by this class is used by GWT client side
code(onModuleLoad()).

If i use
LocaleInfo.getCurrentLocale().getLocaleName()

at the client code(onModuleLoad()), the first value returned by the
property provider is returned here.

Any help.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Deferred binding failed for ClientFactory

Fixed.

While wrestling with this, I've also been trying and failing to get
the GWT plugin to install (see
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/ab1e73188746862c).

On another user's recommendation I installed Eclipse 3.7 for EE
(removing all previous Eclipse folders). After installing the plugin,
my app worked. However this was not without some pain: Eclipse
insisted that "there are no GWT SDKs in your build path" and that two
references to GWT.getModuleName() in a .ui.xml file were invalid
because the method did not exist (absolutely untrue). I deleted these
errors and finally got my current app to run in devmode.

On Dec 30, 7:05 am, Thad <thad.humphr...@gmail.com> wrote:
> My app is running fine on my Linux machine with GWT 2.3. I'm now
> trying to build it on a Windows box with GWT 2.4 (Eclipse 3.6 in both
> cases).
>
> When I run it in devmode from Eclipse, I get this error:
>
> Uncaught exception: java.lang.RuntimeException: Deferred binding
> failed for 'com.optix.cold.client.ClientFactory' (did you forget to
> inherit a required module?)
>     at
> com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
>     at com.google.gwt.core.client.GWT.create(GWT.java:97)
>     at com.optix.cold.client.Cold.onModuleLoad2(Cold.java:187)
> ...
>
> The line in question (#187) is:
>
>     ClientFactory clientFactory = GWT.create(ClientFactory.class);
>
> My gwt.xml file includes:
>
>   <replace-with class="com.optix.cold.client.ClientFactoryImpl">
>     <when-type-is class="com.optix.cold.client.ClientFactory"/>
>   </replace-with>
>
> That's all lifted right out of the Activities and Places example
> (http://code.google.com/webtoolkit/doc/latest/
> DevGuideMvpActivitiesAndPlaces.html).
>
> As I said, this all runs on GWT 2.3. I copied the files over in a zip
> file, only changing the war/WEB-INF/lib/gwt-servlet.jar and gwt-
> servlet-deps.jar to match 2.4.
>
> I've also tried changing "new PlaceController(EventBus)" from the
> deprecated (in 2.4) com.google.gwt.event.shared.EventBus to
> com.google.web.bindery.event.shared.EventBus
>
> What could be going wrong?
>
> My other apps are running fine, but I don't attempt deferred binding
> in those.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Cannot install Eclipse GWT (and other Google)-plug-ins

AT LAST!

And getting the GWT stuff installed in Eclipse seems to have fixed the
problem I linked to in my last message. However this was not without
some pain: Eclipse insisted that "there are no GWT SDKs in your build
path" and that two references to GWT.getModuleName() in a .ui.xml file
were invalid because the method did not exist (absolutely untrue). I
deleted these errors and finally got my current app to run in devmode.

On Dec 31, 10:17 am, Thad <thad.humphr...@gmail.com> wrote:
> "Eclipse IDE for Java Developers", which is all I've ever used on
> Linux. I've tried both 3.6 and 3.7. I've been trying with the 64-bit
> version which matches my JDK.
>
> I've removed all Eclipse folders and downloads from this Windows box
> and will try again (at least I hope I've gotten them all, even
> the .eclipse folder in my home folder). I'll try the EE version this
> time.
>
> I'm wondering if this problem with GWT is what's causing my other
> current Windows difficulty:http://groups.google.com/group/google-web-toolkit/browse_thread/threa...
>
> I'm very close to blowing away Windows 7 on this laptop and going with
> Linux. But given all the unique problems caused by IE, I want to have
> a Window test machine for that as well even if the OS is horribly slow
> and obtuse.
>
> On Dec 31, 6:33 am, Ian Bambury <ianbamb...@gmail.com> wrote:
>
>
>
>
>
>
>
> > What version of Eclipse are you using? As I said, the only one that would
> > work for me was the Java EE.
>
> > On 31 December 2011 14:27, Thad <thad.humphr...@gmail.com> wrote:
>
> > > I have Oracle's JDK 1.6.0_29 installed on Windows 7. I've installed
> > > Eclipse 3.7.
>
> > > The ONLY portion from the link below that installs is GWT Designer for
> > > GPE.  For ALL other components I'm told they can't be found. For
> > > example:
>
> > > Cannot complete the install because one or more required items could
> > > not be found.
> > >  Software being installed: Google Plugin for Eclipse 3.7
> > > 2.5.0.v201112160242-rel-r37
> > > (com.google.gdt.eclipse.suite.e37.feature.feature.group
> > > 2.5.0.v201112160242-rel-r37)
>
> > > (In a related note, it's stuff like this that dissuades me from using
> > > Maven. I've never ran a Maven build of any size for which all the
> > > required components could be found.)
>
> > > On Dec 30, 9:00 pm, Alan <alan.q.y...@gmail.com> wrote:
> > > > install oracle jdk, no open jdk
>
> > > > ...
>
> > > >http://dl.google.com/eclipse/plugin/3.7
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscribe@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Cannot install Eclipse GWT (and other Google)-plug-ins

"Eclipse IDE for Java Developers", which is all I've ever used on
Linux. I've tried both 3.6 and 3.7. I've been trying with the 64-bit
version which matches my JDK.

I've removed all Eclipse folders and downloads from this Windows box
and will try again (at least I hope I've gotten them all, even
the .eclipse folder in my home folder). I'll try the EE version this
time.

I'm wondering if this problem with GWT is what's causing my other
current Windows difficulty:
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b708fcc6232a06df

I'm very close to blowing away Windows 7 on this laptop and going with
Linux. But given all the unique problems caused by IE, I want to have
a Window test machine for that as well even if the OS is horribly slow
and obtuse.

On Dec 31, 6:33 am, Ian Bambury <ianbamb...@gmail.com> wrote:
> What version of Eclipse are you using? As I said, the only one that would
> work for me was the Java EE.
>
> On 31 December 2011 14:27, Thad <thad.humphr...@gmail.com> wrote:
>
>
>
>
>
>
>
> > I have Oracle's JDK 1.6.0_29 installed on Windows 7. I've installed
> > Eclipse 3.7.
>
> > The ONLY portion from the link below that installs is GWT Designer for
> > GPE.  For ALL other components I'm told they can't be found. For
> > example:
>
> > Cannot complete the install because one or more required items could
> > not be found.
> >  Software being installed: Google Plugin for Eclipse 3.7
> > 2.5.0.v201112160242-rel-r37
> > (com.google.gdt.eclipse.suite.e37.feature.feature.group
> > 2.5.0.v201112160242-rel-r37)
>
> > (In a related note, it's stuff like this that dissuades me from using
> > Maven. I've never ran a Maven build of any size for which all the
> > required components could be found.)
>
> > On Dec 30, 9:00 pm, Alan <alan.q.y...@gmail.com> wrote:
> > > install oracle jdk, no open jdk
>
> > > ...
>
> > >http://dl.google.com/eclipse/plugin/3.7
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: GWT application freezes when new version is deployed while using it

Thomas,
 
In the case of code-splitting, it sometimes doesn't make RPC calls when the user navigates around. Rather, it tries to load the .cache.js files required for the "page" the user is navigating to. In the case where a new version is deployed and the user hasn't refreshed, these files of course won't exist. How do you handle this gracefully?

We're using AppEngine so new versions don't have the old .cache.js files by default.

--
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/-/tKa_PyIVuFUJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Cannot install Eclipse GWT (and other Google)-plug-ins

What version of Eclipse are you using? As I said, the only one that would work for me was the Java EE.


On 31 December 2011 14:27, Thad <thad.humphries@gmail.com> wrote:
I have Oracle's JDK 1.6.0_29 installed on Windows 7. I've installed
Eclipse 3.7.

The ONLY portion from the link below that installs is GWT Designer for
GPE.  For ALL other components I'm told they can't be found. For
example:

Cannot complete the install because one or more required items could
not be found.
 Software being installed: Google Plugin for Eclipse 3.7
2.5.0.v201112160242-rel-r37
(com.google.gdt.eclipse.suite.e37.feature.feature.group
2.5.0.v201112160242-rel-r37)


(In a related note, it's stuff like this that dissuades me from using
Maven. I've never ran a Maven build of any size for which all the
required components could be found.)


On Dec 30, 9:00 pm, Alan <alan.q.y...@gmail.com> wrote:
> install oracle jdk, no open jdk
>
> ...
>
> http://dl.google.com/eclipse/plugin/3.7
>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Cannot install Eclipse GWT (and other Google)-plug-ins

I have Oracle's JDK 1.6.0_29 installed on Windows 7. I've installed
Eclipse 3.7.

The ONLY portion from the link below that installs is GWT Designer for
GPE. For ALL other components I'm told they can't be found. For
example:

Cannot complete the install because one or more required items could
not be found.
Software being installed: Google Plugin for Eclipse 3.7
2.5.0.v201112160242-rel-r37
(com.google.gdt.eclipse.suite.e37.feature.feature.group
2.5.0.v201112160242-rel-r37)


(In a related note, it's stuff like this that dissuades me from using
Maven. I've never ran a Maven build of any size for which all the
required components could be found.)


On Dec 30, 9:00 pm, Alan <alan.q.y...@gmail.com> wrote:
> install oracle jdk, no open jdk
>
> ...
>
> http://dl.google.com/eclipse/plugin/3.7
>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Abridged summary of google-web-toolkit@googlegroups.com - 25 Messages in 15 Topics

NOUVEAU - BORE@L INFORMATIQUE INTEGRE JPA CONSULTANTS
Afin de mieux vous servir, nos deux sociétés ont décidé de réunir leurs compétences et
leur professionnalisme sous le nom de JPA CONSULTANTS SA .

Par ce partenariat, nous nous améliorerons sur les points suivants :
• Logiciel : SAGE, CEGID, CIEL, EBP...
• Matériels : Serveurs, connexions, Internet
• Proximité, écoute et disponibilité

Merci d'adresser vos messages à l'adresse suivante : xivanez@jpaconsultants.com


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: gwt

Only one element can have focus, so setting focus on another will automatically blur the  other.

On Sat, Dec 31, 2011 at 9:35 AM, Ian Bambury <ianbambury@gmail.com> wrote:
Can you be a bit more specific - what exactly are you trying to do?

setFocus will move the focus to whatever you choose.

Ian

On 31 December 2011 05:50, Amrutha Thomas <amrutha.thomas@gmail.com> wrote:
but how can I change focus from one text box to another using this



On Fri, Dec 30, 2011 at 4:09 AM, Ian Bambury <ianbambury@gmail.com> wrote:
textbox.setFocus(true);



On 30 December 2011 09:49, Ed Bras <post2edbras@gmail.com> wrote:
For any widget element:
/**
* Sets the focus state of the element.
* @param focused the new focus state
*/
public native void setFocus(Element elem, boolean focused) /*-{
try {
if (focused)
elem.focus();
else
elem.blur();
catch(err) {
}
}-*/;


On Fri, Dec 30, 2011 at 10:31 AM, Amrutha Thomas <amrutha.thomas@gmail.com> wrote:
Hiii,
 
 
 Can anyone tell me how to change focus from one textbox to another textbox using gwt?
 
 
 


--
with best regards,

Amrutha

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
with best regards,

Amrutha

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: DataGrid vs CellTable

DataGrid and CellTable both display data in similar ways; but DataGrid has fixed column headers with scrollable content (have a look at the Showcase: http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable vs. http://gwt.google.com/samples/Showcase/Showcase.html#!CwDataGrid )
Note that DataGrid comes with a few constraints: it's a RequiresResize so it must be put inside a ProvidesResize widget or be explicitly sized, and it has fixed-width columns.

--
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/-/CcBk6Rvpm-sJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

does gwt support web socket?

does gwt support web socket?
have some APIs?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: gwt

Can you be a bit more specific - what exactly are you trying to do?

setFocus will move the focus to whatever you choose.

Ian

On 31 December 2011 05:50, Amrutha Thomas <amrutha.thomas@gmail.com> wrote:
but how can I change focus from one text box to another using this



On Fri, Dec 30, 2011 at 4:09 AM, Ian Bambury <ianbambury@gmail.com> wrote:
textbox.setFocus(true);



On 30 December 2011 09:49, Ed Bras <post2edbras@gmail.com> wrote:
For any widget element:
/**
* Sets the focus state of the element.
* @param focused the new focus state
*/
public native void setFocus(Element elem, boolean focused) /*-{
try {
if (focused)
elem.focus();
else
elem.blur();
catch(err) {
}
}-*/;


On Fri, Dec 30, 2011 at 10:31 AM, Amrutha Thomas <amrutha.thomas@gmail.com> wrote:
Hiii,
 
 
 Can anyone tell me how to change focus from one textbox to another textbox using gwt?
 
 
 


--
with best regards,

Amrutha

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
with best regards,

Amrutha

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Friday, December 30, 2011

DataGrid vs CellTable

Hello,
Can anyone tell me what is the difference between DataGrid and
CellTable? When should we use which one?
It seems GWT documentations uses CellTable in DataGrid API page as an
example (http://google-web-toolkit.googlecode.com/svn/javadoc/latest/
com/google/gwt/user/cellview/client/DataGrid.html
).
Are they same?
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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: gwt

but how can I change focus from one text box to another using this


On Fri, Dec 30, 2011 at 4:09 AM, Ian Bambury <ianbambury@gmail.com> wrote:
textbox.setFocus(true);



On 30 December 2011 09:49, Ed Bras <post2edbras@gmail.com> wrote:
For any widget element:
/**
* Sets the focus state of the element.
* @param focused the new focus state
*/
public native void setFocus(Element elem, boolean focused) /*-{
try {
if (focused)
elem.focus();
else
elem.blur();
catch(err) {
}
}-*/;


On Fri, Dec 30, 2011 at 10:31 AM, Amrutha Thomas <amrutha.thomas@gmail.com> wrote:
Hiii,
 
 
 Can anyone tell me how to change focus from one textbox to another textbox using gwt?
 
 
 


--
with best regards,

Amrutha

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--
with best regards,

Amrutha

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Cannot install Eclipse GWT (and other Google)-plug-ins

install oracle jdk, no open jdk

在 2011-12-30 下午9:19,"Clundahl" <claes.lundahl@gmail.com>写道:
>
> Hi
>
> I run a VirtualBox on a 64 bit Windows 7, inside this I run a Ubuntu
> 10.11 (32-bit).
>
> The first thing i did when installation completed i ran
>
> sudo apt-get install openjdk-6-jdk
>
> And installed this (I have also tried with openjdk-7-jdk).
>
> Then i installed eclipse (turned out to be the Indigo release) and
> installed also the eclipse-jdts (nothing happened since this module
> was already present and up to date).
>
> Then i tried installing GWT-plugin from http://dl.google.com/eclipse/plugin/3.7
> (and also from .../3.6). I tried installing with a multitude of
> combinations of Google-plug-ins included at the same time. For
> instance "Google plugin for eclipse 3.7" and "Google web toolkit SDK
> 2.4.0" together.
>
> This gave the following repsonse:
>
> Cannot complete the install because one or more required items could
> not be found.
>  Software being installed: Google Plugin for Eclipse 3.7
> 2.5.0.v201112160242-rel-r37
> (com.google.gdt.eclipse.suite.e37.feature.feature.group
> 2.5.0.v201112160242-rel-r37)
>  Missing requirement: Google App Engine Plugin 2.5.0.v201112160242-
> rel-r37 (com.google.appengine.eclipse.core 2.5.0.v201112160242-rel-
> r37) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not
> be found
>  Cannot satisfy dependency:
>    From: Google Plugin for Eclipse 3.7 2.5.0.v201112160242-rel-r37
> (com.google.gdt.eclipse.suite.e37.feature.feature.group
> 2.5.0.v201112160242-rel-r37)
>    To: com.google.appengine.eclipse.core [2.5.0.v201112160242-rel-
> r37]
>
> I then tried to install everything from disc - downloading evertything
> from a manualy downloaded zip-file. This gave the same error.
>
> Do you kind and cunning people have any suggestions?
>
> //Chlundahl
>
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Cannot install Eclipse GWT (and other Google)-plug-ins

Nope, that didn't work either. Nor did trying to install the zip file
downloaded from http://code.google.com/eclipse/docs/install-from-zip.html
and running Eclipse as administrator. Gawd, I hate Windows.

On Dec 30, 7:34 am, Clundahl <claes.lund...@gmail.com> wrote:
> Hi everybody and thank you for your input and help
>
> I think i cracked it just now. I started eclipse with root (or 'sudo
> eclipse' anyway). And then it worked!
>
> Thad - could it be as simple for you? That you just have to start
> eclipse with the admin authority?
>
> Happy new year to you all
>
> //Chlundahl
>
> On 30 Dec, 14:30, Ian Bambury <ianbamb...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Eventually I got it working by installing the 'Indigo Eclipse IDE for Java
> > EE Developers' version. All of the other versions I tried gave me the
> > problem you have, and none of the 'solutions' I found on the web worked
> > (e.g. install something before something else, uninstall something and
> > reinstall)
>
> > Let us know if it works for you.
>
> > Ian
>
> > On 30 December 2011 13:19, Clundahl <claes.lund...@gmail.com> wrote:
>
> > > Hi
>
> > > I run a VirtualBox on a 64 bit Windows 7, inside this I run a Ubuntu
> > > 10.11 (32-bit).
>
> > > The first thing i did when installation completed i ran
>
> > > sudo apt-get install openjdk-6-jdk
>
> > > And installed this (I have also tried with openjdk-7-jdk).
>
> > > Then i installed eclipse (turned out to be the Indigo release) and
> > > installed also the eclipse-jdts (nothing happened since this module
> > > was already present and up to date).
>
> > > Then i tried installing GWT-plugin from
> > >http://dl.google.com/eclipse/plugin/3.7
> > > (and also from .../3.6). I tried installing with a multitude of
> > > combinations of Google-plug-ins included at the same time. For
> > > instance "Google plugin for eclipse 3.7" and "Google web toolkit SDK
> > > 2.4.0" together.
>
> > > This gave the following repsonse:
>
> > > Cannot complete the install because one or more required items could
> > > not be found.
> > >  Software being installed: Google Plugin for Eclipse 3.7
> > > 2.5.0.v201112160242-rel-r37
> > > (com.google.gdt.eclipse.suite.e37.feature.feature.group
> > > 2.5.0.v201112160242-rel-r37)
> > >  Missing requirement: Google App Engine Plugin 2.5.0.v201112160242-
> > > rel-r37 (com.google.appengine.eclipse.core 2.5.0.v201112160242-rel-
> > > r37) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not
> > > be found
> > >  Cannot satisfy dependency:
> > >    From: Google Plugin for Eclipse 3.7 2.5.0.v201112160242-rel-r37
> > > (com.google.gdt.eclipse.suite.e37.feature.feature.group
> > > 2.5.0.v201112160242-rel-r37)
> > >    To: com.google.appengine.eclipse.core [2.5.0.v201112160242-rel-
> > > r37]
>
> > > I then tried to install everything from disc - downloading evertything
> > > from a manualy downloaded zip-file. This gave the same error.
>
> > > Do you kind and cunning people have any suggestions?
>
> > > //Chlundahl
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google Web Toolkit" group.
> > > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscribe@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Something other than a Java object was returned from JSNI method

Hi Ian, welcome back!


--
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/-/cU1-KVNDsfIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Something other than a Java object was returned from JSNI method

I keep getting errors like this (assert errors), seemingly at random.

I haven't done a lot of testing, but it seems to be only in Chrome (latest version) when running in OOPHM. There are different versions (e.g. go an int when expecting void etc).

I don't *think* it's me because I can leave the app overnight and get 20-ish of them turn up when all it is doing is sitting there. The line that throws the assertion error is always the same (or sometimes the assertion above - here's the trace

java.lang.IllegalArgumentException: invoke arguments: JS value of type boolean, expected java.lang.String
    at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:178)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:65)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:337)
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:218)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:213)
    at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Unknown Source)

There's a comment there ( com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:178))

    // Just don't know what do to with this.

What appears to kick it off is an onValueChange event which just turns up for no reason with a blank token (when there is one there in the address bar)

I've done a bit of searching but can't find anything helpful or even anyone else reporting the same problem (apart from back when Chrome was back in the days of version 10 (I'm on v16.something).

Doesn't seem to happen live or in IE (haven't tried anything else).

Is this a known problem that I've failed to find references to, or does GWT/Chrome just hate me?

There's nothing very special about my app, it's about three days old and just logs people in or out and has history support and can page.

Any ideas?

Thanks

Ian

(Back again after a bit of a gap :-) )


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Create an Image object from a url that requires authentication

Hello all,

I have some images stored in urls that are password protected, for
example I have the url imageUrl = https://user:pass@mydomain.com. The
problem is that I cannot use this url in the constructor of Image,
because then everyone can view the source and know these credentials.

Is there a way to authenticate to extract the username and password
from the url and establish an authenticated connection with that
server? And then use the plain url?

Thanks for any help.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: RequestFactory - Intermittent "The AutoBean has been frozen" on newly created

That was it.

*facepalm*

Thanks for the help guys.

On Dec 29, 3:56 pm, Thomas Broyer <t.bro...@gmail.com> wrote:
> I confirm the need to always use the same instance on the server side in a given request. I do believe it's a bug though fwiw.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Cannot install Eclipse GWT (and other Google)-plug-ins

Hi everybody and thank you for your input and help

I think i cracked it just now. I started eclipse with root (or 'sudo
eclipse' anyway). And then it worked!

Thad - could it be as simple for you? That you just have to start
eclipse with the admin authority?


Happy new year to you all

//Chlundahl

On 30 Dec, 14:30, Ian Bambury <ianbamb...@gmail.com> wrote:
> Eventually I got it working by installing the 'Indigo Eclipse IDE for Java
> EE Developers' version. All of the other versions I tried gave me the
> problem you have, and none of the 'solutions' I found on the web worked
> (e.g. install something before something else, uninstall something and
> reinstall)
>
> Let us know if it works for you.
>
> Ian
>
> On 30 December 2011 13:19, Clundahl <claes.lund...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi
>
> > I run a VirtualBox on a 64 bit Windows 7, inside this I run a Ubuntu
> > 10.11 (32-bit).
>
> > The first thing i did when installation completed i ran
>
> > sudo apt-get install openjdk-6-jdk
>
> > And installed this (I have also tried with openjdk-7-jdk).
>
> > Then i installed eclipse (turned out to be the Indigo release) and
> > installed also the eclipse-jdts (nothing happened since this module
> > was already present and up to date).
>
> > Then i tried installing GWT-plugin from
> >http://dl.google.com/eclipse/plugin/3.7
> > (and also from .../3.6). I tried installing with a multitude of
> > combinations of Google-plug-ins included at the same time. For
> > instance "Google plugin for eclipse 3.7" and "Google web toolkit SDK
> > 2.4.0" together.
>
> > This gave the following repsonse:
>
> > Cannot complete the install because one or more required items could
> > not be found.
> >  Software being installed: Google Plugin for Eclipse 3.7
> > 2.5.0.v201112160242-rel-r37
> > (com.google.gdt.eclipse.suite.e37.feature.feature.group
> > 2.5.0.v201112160242-rel-r37)
> >  Missing requirement: Google App Engine Plugin 2.5.0.v201112160242-
> > rel-r37 (com.google.appengine.eclipse.core 2.5.0.v201112160242-rel-
> > r37) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not
> > be found
> >  Cannot satisfy dependency:
> >    From: Google Plugin for Eclipse 3.7 2.5.0.v201112160242-rel-r37
> > (com.google.gdt.eclipse.suite.e37.feature.feature.group
> > 2.5.0.v201112160242-rel-r37)
> >    To: com.google.appengine.eclipse.core [2.5.0.v201112160242-rel-
> > r37]
>
> > I then tried to install everything from disc - downloading evertything
> > from a manualy downloaded zip-file. This gave the same error.
>
> > Do you kind and cunning people have any suggestions?
>
> > //Chlundahl
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Deferred binding failed for ClientFactory

My app is running fine on my Linux machine with GWT 2.3. I'm now
trying to build it on a Windows box with GWT 2.4 (Eclipse 3.6 in both
cases).

When I run it in devmode from Eclipse, I get this error:

Uncaught exception: java.lang.RuntimeException: Deferred binding
failed for 'com.optix.cold.client.ClientFactory' (did you forget to
inherit a required module?)
at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.client.GWT.create(GWT.java:97)
at com.optix.cold.client.Cold.onModuleLoad2(Cold.java:187)
...

The line in question (#187) is:

ClientFactory clientFactory = GWT.create(ClientFactory.class);

My gwt.xml file includes:

<replace-with class="com.optix.cold.client.ClientFactoryImpl">
<when-type-is class="com.optix.cold.client.ClientFactory"/>
</replace-with>

That's all lifted right out of the Activities and Places example
(http://code.google.com/webtoolkit/doc/latest/
DevGuideMvpActivitiesAndPlaces.html
).

As I said, this all runs on GWT 2.3. I copied the files over in a zip
file, only changing the war/WEB-INF/lib/gwt-servlet.jar and gwt-
servlet-deps.jar to match 2.4.

I've also tried changing "new PlaceController(EventBus)" from the
deprecated (in 2.4) com.google.gwt.event.shared.EventBus to
com.google.web.bindery.event.shared.EventBus

What could be going wrong?

My other apps are running fine, but I don't attempt deferred binding
in those.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Serializing and Deserializing EntityProxy with created EntityProxy inside makes root EntityProxy have created EntityProxy's stableId

That appears to be the problem. Hopefully they put in a fix for it
since I could reproduce it 100% of the time and it's not an easy bug
to track down where it's happening. Thank you for the fix though.

On Dec 29, 6:13 pm, "Aidan O'Kelly" <aida...@gmail.com> wrote:
> There's an issue with DefaultProxyStore that it doesn't always return
> sequential Ids from its nextId() method, which can result in some odd
> behaviour when serializing lists of ValueProxies, (all proxies point to the
> same object).
>
> Not sure if that's the issue here, but its worth giving a try as the fix is
> very simple, just make a copy of DefaultProxyStore and ensure it always
> returns a sequential Id, rather than the count of objects it contains.
>
> Here's my patched version:http://pastebin.com/f7aKkMS1-

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: Cannot install Eclipse GWT (and other Google)-plug-ins

Nope. I'm having the same problem trying to set up a Windows machine.
(My Linux box, set up months ago, works fine.)

> And installed this (I have also tried with openjdk-7-jdk).
>
> Then i installed eclipse (turned out to be the Indigo release) and
> installed also the eclipse-jdts (nothing happened since this module
> was already present and up to date).
>
> Then i tried installing GWT-plugin fromhttp://dl.google.com/eclipse/plugin/3.7
> (and also from .../3.6). I tried installing with a multitude of
> combinations of Google-plug-ins included at the same time. For
> instance "Google plugin for eclipse 3.7" and "Google web toolkit SDK
> 2.4.0" together.
>
> This gave the following repsonse:
>
> Cannot complete the install because one or more required items could
> not be found.
>   Software being installed: Google Plugin for Eclipse 3.7
> 2.5.0.v201112160242-rel-r37
> (com.google.gdt.eclipse.suite.e37.feature.feature.group
> 2.5.0.v201112160242-rel-r37)
>   Missing requirement: Google App Engine Plugin 2.5.0.v201112160242-
> rel-r37 (com.google.appengine.eclipse.core 2.5.0.v201112160242-rel-
> r37) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not
> be found
>   Cannot satisfy dependency:
>     From: Google Plugin for Eclipse 3.7 2.5.0.v201112160242-rel-r37
> (com.google.gdt.eclipse.suite.e37.feature.feature.group
> 2.5.0.v201112160242-rel-r37)
>     To: com.google.appengine.eclipse.core [2.5.0.v201112160242-rel-
> r37]
>
> I then tried to install everything from disc - downloading evertything
> from a manualy downloaded zip-file. This gave the same error.
>
> Do you kind and cunning people have any suggestions?
>
> //Chlundahl

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Re: GWT application freezes when new version is deployed while using it

Hi Thomas! Thanks for the reply.

"Freeze" means the whole app becomes unresponsive (buttons are not
clickable, etc)
You can also observe in the developers tool that no further requests
are made to the server from
that point.

"Full refresh" means F5 as you guessed.

I am thinking the problem is #3 . We are using code splitting and this
freeze occurs only
when the code changes (meaning a new cache.js file is created meaning
old once are not effective any more)


On Dec 30, 6:14 am, Thomas Broyer <t.bro...@gmail.com> wrote:
> What do you mean by a "freeze"? and a "full refresh"?
>
>    1. users won't have the new version unless they refresh (F5) the page.
>    For this though, you have to ensure the *.nocache.js is effectively not
>    cached by browsers or proxies (or at a minimum cached with a
>    "must-revalidate" condition)
>    2. any change to a GWT-RPC class (particularly objects that are
>    transfered through RPC) will break older versions that are still in use,
>    with an IncompatibleRemoteServiceException, because client and server must
>    use the same serialization policies; you can track this to tell users to
>    refresh the page (I guess this is what the GWT-based Google Groups UI does)
>    3. if you use code splitting (runAsync) and you remove the old *.cache.*
>    files, users won't be able to download the fragments while they're using
>    the old version of the app. You can, again, catch this in the onFailure of
>    the RunAsyncCallback to tell users to refresh the page.
>    4. Every compilation should produce differently named *.cache.* files,
>    so you can safely set long cache times for these files:
>    http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebu...

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.