Re: java.lang.ClassNotFoundException: javax.sql.DataSource when using GWT 2.9.0 + Java 11 combination

2022-06-30 Thread Rob Newton
Yes it seems that you need to run it in a separate servlet container, but 
it doesn't have to be Tomcat.  You can use Jetty so long as it is fairly 
recent (unlike the old version embedded in GWT dev mode).

On Friday, July 1, 2022 at 4:57:50 AM UTC+10 ora...@gmail.com wrote:

> I am not sure if it is the same issue but when  I switched to Java 11 I 
> had the following: 
>
> "Server class 'javax.sql.DataSource' could not be found in the web app, 
> but was found on the system classpath
> [ERROR] Found resouce but unrecognized URL format: '
> jrt:/java.sql/javax/sql/DataSource.class 
> '"
>
> In according to https://github.com/gwtproject/gwt/issues/9582 there is an 
> issue with JettyLauncher. And it is recommended to use "CodeServer and a 
> separate servlet container." Here is a discussion on Jetty in GWT: 
> https://groups.google.com/g/google-web-toolkit-contributors/c/iU9hckIab2o?pli=1
> .
>
> It means that one needs to run the application under Tomcat (a separate 
> servlet container) instead of the embedded Jetty.
>
> On Thursday, June 30, 2022 at 7:48:35 AM UTC-4 m.conr...@gmail.com wrote:
>
>> I didn't think that java.sql.DataSource is emulated by GWT. Looks like 
>> you are pulling in server side only type stuff from somewhere?
>>
>> On Thu, Jun 30, 2022 at 3:30 AM Thomas Broyer  wrote:
>>
>>> Didn't legacy devmode also only work with JDK 8?
>>>
>>> On Wednesday, June 29, 2022 at 10:46:30 PM UTC+2 Jens wrote:
>>>
 Without being able to see the project setup this is tough to answer.

 However regardless of the exception you are seeing: Classic/Legacy 
 DevMode will not work with GWT 2.9.0 correctly, because GWT 2.9.0 already 
 uses JsInterop internally in its Java SDK emulation (e.g. java.util.Date 
 uses it). JsInterop is not supported by classic/legacy DevMode. With GWT 
 2.9.0 you have to use SuperDevMode to have a functional Java SDK emulation 
 during development.

 -- J.

 abhiy...@gmail.com schrieb am Mittwoch, 29. Juni 2022 um 21:58:40 
 UTC+2:

> Hi Team,
>
> I am trying to start classic DEV mode in eclipse through GWT eclipse 
> plugin .
> I am using GWT 2.9.0 + Java 11 combination.
> I am getting below error. Can you help me in resolving the below error:
>
> [b]Caused by: java.lang.ClassNotFoundException: javax.sql.DataSource
> at 
> com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload$WebAppClassLoaderExtension.findClass(JettyLauncher.java:478)
>  
> ~[gwt-dev-2.9.0.jar:?]
> at 
> org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:441)
>  
>
 -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "GWT Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to google-web-tool...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-web-toolkit/6d3569b5-b7f0-4c2e-918c-c342b6803441n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/8905067b-8bae-466f-8754-441beb2c4263n%40googlegroups.com.


Re: Upgrading from 2.8.1 to 2.9.0 yields "...type not found, or there are compile errors..."?!?

2021-12-06 Thread Rob Newton
It looks like the GWT compiler cannot find the source .java file for that 
class, which it will need.  Perhaps it is in a directory that is not 
covered by the  tag in your module.gwt.xml file?

On Tuesday, December 7, 2021 at 3:02:09 AM UTC+11 mmo wrote:

> We are trying to migrate a GWT application that is running fine with GWT 
> 2.8.1 to GWT 2.9.0.
> When we do a gwt:run the usual Jetty dialog comes up and without errors 
> nor exceptions and comes to the point where it offers to copy the URL or 
> launch the default browser.
>
> When we copy/paste the URL to the browser we get a ""Compiling SSt" 
> message and then the browser hangs ("SSt" is the name of the application).
>
> On the console we get the output:
> ...
> GET /recompile/sstweb
>Job ch.zh.ksta.sst.SstWebDevelopment_1_2
>   starting job: ch.zh.ksta.sst.SstWebDevelopment_1_2
>   binding: gxt.device=desktop
>   binding: gxt.user.agent=ie11
>   binding: user.agent=gecko1_8
>   binding: user.agent.os=windows
>   Compiling module ch.zh.ksta.sst.SstWebDevelopment
>  Ignored 20 units with compilation errors in first pass.
> Compile with -strict or with -logLevel set to TRACE or DEBUG to see all 
> errors.
>  Computing all possible rebind results for 
> 'com.gwtplatform.mvp.client.ApplicationController'
> Rebinding com.gwtplatform.mvp.client.ApplicationController
>Invoking generator 
> com.gwtplatform.mvp.rebind.ApplicationControllerGenerator
>   [ERROR] The type 'ch.zh.ksta.sst.client.SstBootstrapper' 
> was not found, either the class name is wrong or there are compile errors 
> in your code.
>   [ERROR] The type 'ch.zh.ksta.sst.client.SstBootstrapper' 
> was not found, either the class name is wrong or there are compile errors 
> in your code.
>   [ERROR] There was a problem generating the 
> ApplicationController, this can be caused by bad GWT module configuration 
> or compile errors in your source code.
>  [WARN] For the following type(s), generated source was never 
> committed (did you forget to call commit()?)
> [WARN] com.gwtplatform.mvp.client.ApplicationControllerImpl
>  Unification traversed 29116 fields and methods and 2736 types. 
> 2699 are considered part of the current module and 2699 had all of their 
> fields and methods traversed.
>  Compiling 1 permutation
> Compiling permutation 0...
> Linking per-type JS with 2678 new/changed types.
> Source Maps Enabled
>  Compile of permutations succeeded
>  Compilation succeeded -- 6,609s
> ...
>
> We don't understand why the client boots trapper class is not found 
> (assuming the message is correct). It *is* contained in both, the classes 
> folder as well as in the generated .war file and the class' name is 
> correct. We also don't see any compile errors in the code (at least 
> IntelliJ doesn't display any...). 
> Any idea or hint, what might be wrong here? Or in which direction we could 
> search?
> Or any info that might be helpful here to pinpoint this issue?
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/833ddb4e-8423-4df2-98c8-ca6a255cba34n%40googlegroups.com.


looking for JsInterop information

2019-11-11 Thread Rob Newton
Hi,

I am looking for info on how to use JsInterop where arrays [], Lists and 
other collections are involved.

Besides this section of the GWTProject.org site:
  http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJsInterop.html 
<http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJsInterop.html>

and this jsinterop-by-example page from google:
  https://github.com/google/j2cl/blob/master/docs/jsinterop-by-example.md

which don't mention arrays or other collections, are there other good 
sources of information around?

If I search this group there are postings where things like JsArray or the 
jsinterop-base utilities are mentioned, but I am hoping there is some 
definitive site with collection examples that I have missed?

Thanks,
Rob

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/b7427fd7-e9b1-48d8-9643-187a43bb9c47%40googlegroups.com.


Re: GWT goodies!

2019-10-17 Thread Rob Newton
Hristo,  Thanks for that.  I had not heard of Tabulator -- it could be 
useful.  Cheers!

On Friday, October 18, 2019 at 4:56:27 AM UTC+11, Hristo Stoyanov wrote:
>
> Hello all,
> I have been maintaining a few GWT projects, mostly JsInterop wrappers 
> around popular and useful JS libs that I think others can find useful. All 
> is Apache 2.0 licensed, at various state of maturity. Contributions welcome!
>
> https://github.com/peruncs/gwt
>
>
>
> GWT goodies
>
> This repository provides GWT/JSInterop/JACL wrappers for useful and 
> popular JS libraries and utility projects. All projects are Apache 2.0 
> licensed, contributions are welcome!
>
>
> JS-Cookie
>
> A wrapper for JS Cookie 
>  JS 
> library for easy handling of cookies. More ... 
> 
>
>
> Tabulator
>
> A wrapper for the Tabulator 
>  JS grid 
> component. More ... 
> 
>
> Stripe
>
> A Stripe API wrapper. More ... 
> 
>
> UIKIT
>
> A wrapper for the very nice UiKit  web site 
> framework. More ... 
> 
>
> reCaptcha
>
> A wrapper for Google reCaptcha. More ... 
> 
>
> JWT
>
> A JWT wrapper for various providers (Auth0 for now, Okta and Keycloak to 
> come ...) More ... 
> 
>
> Utils
>
> Utility code used in some of the other modules More ... 
> 
>
>  
>  
>  
>  
>  
>  
> 
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/b2d7e4ca-186f-49dd-8bc0-dbe81e4f1a20%40googlegroups.com.


Re: [ANN] (Unofficial) Elemental2 2.26 release

2019-10-16 Thread Rob Newton
OK I was wrong.  I thought I was using 2.26, but I am using other maven 
dependencies (elemento) which depend on 1.0.0-RC1, and that is having 
precedence over 2.26.

On Thursday, October 17, 2019 at 12:49:27 PM UTC+11, Rob Newton wrote:
>
> Hristo,
>
> I am using realityforge's elemental2 version 2.26 with GWT 2.8.2 and it is 
> fine.
>
> I understand what you would use jsinterop_base_version for (the 
> jsinterop-base artifact version), but what are you using jsinterop_version 
> for?  1.0.2-p1 looks too recent, and will require GWT 2.9 when it comes out.
>
> -Rob
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/0dbc7ee1-6442-4893-9fa1-39c34ce22fbb%40googlegroups.com.


Re: [ANN] (Unofficial) Elemental2 2.26 release

2019-10-16 Thread Rob Newton

Hristo,

I am using realityforge's elemental2 version 2.26 with GWT 2.8.2 and it is 
fine.

I understand what you would use jsinterop_base_version for (the 
jsinterop-base artifact version), but what are you using jsinterop_version 
for?  1.0.2-p1 looks too recent, and will require GWT 2.9 when it comes out.

-Rob

On Thursday, October 17, 2019 at 12:07:38 PM UTC+11, Hristo Stoyanov wrote:
>
> Peter,
> Getting this error with Elemental 2.26 and GWT 2.8.2:
>
> elemental2_version=2.26
> jsinterop_base_version=1.0.0-b2-e6d791f
> jsinterop_version=1.0.2-p1
>
> ...
>
> Compiling module com.recres.web.MainDev
>Tracing compile failure path for type 'elemental2.core.JsArray'
>   [ERROR] Errors in 
> 'jar:file:/C:/g/caches/modules-2/files-2.1/org.realityforge.com.google.elemental2/elemental2-core/2.26/1c407ef9a7e45ecc39be56283e9fe8d677060257/elemental2-core-2.26.jar!/elemental2/core/JsArray.java'
>  [ERROR] Line 3: The type javaemul.internal.ArrayStamper is not 
> visible
>  [ERROR] Line 258: ArrayStamper cannot be resolved
>[ERROR] Aborting compile due to errors in some input files
>
>
> Downgrading to 2.25 fixes the issue. Any clue?
>
> On Sunday, August 25, 2019 at 5:25:29 PM UTC-7, Peter Donald wrote:
>>
>> Elemental2 provides type-checked access to browser APIs for Java
>> code. This is done by using closure extern files and generating
>> JsTypes, which are part of the new JsInterop specification that
>> is implemented in both GWT and J2CL.
>>
>> https://github.com/google/elemental2
>>
>> This is an unofficial release to Maven Central under a different groupId.
>> Please don't bug the original authors. Versions are released on demand.
>>
>> API Changes relative to Elemental2 version 2.25
>>
>> elemental2-core:
>>   API Differences: 
>> https://jsinterop.github.io/api-diff/?key=elemental2-core&old=2.25&new=2.26
>>   - 1 non breaking changes.
>>   - 3 potentially breaking changes.
>>   - 1 breaking changes.
>> elemental2-dom:
>>   API Differences: 
>> https://jsinterop.github.io/api-diff/?key=elemental2-dom&old=2.25&new=2.26
>>   - 33 non breaking changes.
>>   - 65 potentially breaking changes.
>>   - 30 breaking changes.
>>
>> The complete set of Elemental2 API differences is available at
>>
>>   https://jsinterop.github.io/api-diff/?key=elemental2&old=2.25&new=2.26
>>
>> The Maven dependencies can be added to your pom.xml via
>>
>> 
>>   org.realityforge.com.google.elemental2
>>   ${artifact-id}
>>   2.26
>> 
>>
>> where artifact-id is one of
>>
>> * elemental2-core
>> * elemental2-dom
>> * elemental2-promise
>> * elemental2-indexeddb
>> * elemental2-svg
>> * elemental2-webgl
>> * elemental2-media
>> * elemental2-webstorage
>> * elemental2-webassembly
>>
>> Hope this helps,
>>
>> Peter Donald
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/2ab3805b-18a9-437f-90ed-935187f82514%40googlegroups.com.


Re: A Short GWT JsInterop Article for Beginners

2019-06-03 Thread Rob Newton
Nice!

On Tuesday, June 4, 2019 at 6:21:32 AM UTC+10, Dr. Lofi Dewanto wrote:
>
> Hi All,
>
> I wrote a short article to introduce GWT and JsInterop for beginners, hope 
> to see more people using GWT: http://bit.ly/WebJavaStory
>
> Enjoy, thanks,
> Lofi
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/3d76a880-3646-42d3-8a1e-dfc19ee7bee0%40googlegroups.com.


Re: Is this project active?

2019-05-30 Thread Rob Newton
I can sympathise with some of what Bob is saying.

>From what I can gather there is actually a great flux of activity going on 
behind the scenes by parts of the community.  The main players in moving 
GWT forward appear to be half-a-dozen or so companies who use GWT greatly, 
and some individuals, often doing it on their own personal time.

As Bob says, the gwtproject.org site makes it appear that GWT is in limbo.  
If a newcomer or existing user puts some time into searching posts in this 
group and the contributors one, or the occasional blog post somewhere, they 
start to see a rough roadmap, and some progress is being made towards it by 
the community.  But as he says, there needs to be some defacto site 
explaining the roadmap, and make some recommendations on what parts of 
traditional GWT 2 to keep using or not, and what new stuff is available 
(elemental2, jsinterop, etc), and some basics on how to use the new stuff.

It was only by searching the newsgroups that I learnt about the existance 
of jsinterop-base, and only through more searching that I saw a few 
examples of using it (and also looking at the API).  This is a pretty 
important/useful package.

Further research uncovers that much of the gwt-user package is being split 
out into individual packages, org.gwtproject.* , to not depend on JSNI and 
generators.  Quite a few are done, according to 
https://docs.google.com/spreadsheets/d/1b1D9fEqRh5lZ8cqMJtYoc_25rfTRvsuJkTtS2vjgi3o
 
.  They are scattered all around github it seems, not ready for maven 
central?

A contributor may develop something new or port something, and then 
announce it to the community that it is available for use, but there is no 
central site listing/promoting these wares.

Perhaps things are in too much flux to attract new developers to using 
GWT.  Perhaps the goal should be to retain existing GWT users?  The more 
users there are, the more contributors there will be, and the better GWT 
will be for all of us.  Conversely, the fewer users there are, ... .

(It's easy for me (a non-contributor) to list some shortcomings, but am I 
going to volunteer my personal time to improve things?  Or do I expect 
Google to do everything, and I just use it and give nothing back?)


On Friday, May 31, 2019 at 5:31:38 AM UTC+10, Bob Lacatena wrote:
>
> GWT is suffering from a very serious publicity debacle.  I'm actively 
> doing GWT development, and regretting every moment of it right now.  Years 
> ago I loved GWT.  Today, I'm dreading it.
>
> My biggest problem for the past year has been the fact that unless one 
> hunts for threads like this, GWT does appear to be dead.  I don't know what 
> the developers are doing.  I just know there were occasional hints that 
> something was coming (a year ago), with not a sound since then.
>
> Update gwtproject.org!  Put a few news items on it a month, at least.  
> Let people know you are working.  No matter how good your work is, more and 
> more developers like me are going to abandon it as time drags on.
>
> Or create a GWT 3.0 blog.  Something.  Anything other than the black hole 
> of silence you have now.
>
> I'm also very concerned that with the rewrite, every bit of code I'm 
> working on now will be useless.  GWT before 3.0, from a developer who uses 
> it, was and still is a nightmare if you don't want to use every widget, as 
> it exists, out of the box, because too many of the classes use private 
> members and methods, making them completely impossible to extend (which, I 
> believe, is sort of the point of a lot of OOP concepts).
>
> With GWT getting old, this is becoming painful, because GWT did cool 
> things, like animation and date pickers and rich text editors, by brute 
> force back when that was necessary.  Now, however, HTML5 and other things 
> have evolved to offer better, cleaner solutions, but often it's difficult 
> to impossible to make GWT work with those solutions, because of the private 
> members.
>
> I've even gotten into vicious cycles; copy the source for class X, to be 
> able to fix it, but that requites a copy of private class Y, which requires 
> a copy of private class Z, and on and on until I give up.
>
> Instead, I have to "roll my own", which takes too much effort that could 
> be spend on more productive pursuits.  I'd rather use a framework with 
> working widgets.
>
> I didn't start out intending this to be a rant, but the bottom line is 
> that I like GWT, I like being able to work exclusively in one 
> language/framework instead of four at one time (Java + Angular + TypeScript 
> + JQuery), but as a professional who is paid to make decisions that will 
> have a decade-long impact on my company, I am very hard-pressed not to 
> advise my company to immediately abandon all efforts using GWT.
>
> *Put some effort into communication! * [Which should be tattooed on the 
> backs of every software engineer's hands, because as a species they seem to 
> be oblivious to the concept.]
>
> I am somewhat 

Re: DisclosurePanel

2019-05-21 Thread Rob Newton
When you create the DisclosurePanel you can provide the text for the header:

DisclosurePanel(java.lang.String headerText)




On Wednesday, May 22, 2019 at 3:59:16 PM UTC+10, naaser ahmed wrote:
>
> Hello, 
>
> I am trying to make my website compatible with Accessibility and running 
> into "Links must have discernible text" error. On inspecting, the error is 
> being generated by Links being generated by Disclosure Panel. The link 
> being created is this -- "". Can someone please let me know how I can add 
> title to the link. 
>
> I appreciate all the help. 
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/e921ddc3-d6d8-4e6c-af19-497f62981984%40googlegroups.com.


Re: UnableToCompleteException

2019-04-02 Thread Rob Newton
I wonder if the GWT unit cache is corrupted?  Try removing directories 
named gwt-unitCache and/or /tmp/gwt-cache-* (linux).

On Tuesday, April 2, 2019 at 6:32:10 AM UTC+11, Andrew Buck wrote:
>
> I am getting an exception when trying to use super dev mode that I don't 
> understand. Stack trace is below.
>
>
> Compiling 1 permutation
> Compiling permutation 0...
> [ERROR] Unexpected internal compiler error
> java.lang.NullPointerException
> at com.google.gwt.dev.jjs.ast.HasName$1.compare(HasName.java:33)
> at com.google.gwt.dev.jjs.ast.HasName$1.compare(HasName.java:30)
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-28 Thread Rob
Can confirm that as mentioned in 
https://bugs.chromium.org/p/chromium/issues/detail?id=923585

Chrome Canary 74.0.3685.0 no longer suffers from this issue.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-25 Thread Rob
Managed to get our app building with 2.8.2 and can confirm that this fixes 
the issue.

On Thursday, 24 January 2019 18:34:48 UTC, Rob wrote:
>
> Good to hear that 2.8.2 fixes it. Gives me an excuse to try and get our 
> main app upgraded, unfortunately it's quite a complex app with a lot of 
> inherited libraries so switching to 2.8.2 involves a fair bit more than 
> just changing a version number. 
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-24 Thread Rob
Good to hear that 2.8.2 fixes it. Gives me an excuse to try and get our 
main app upgraded, unfortunately it's quite a complex app with a lot of 
inherited libraries so switching to 2.8.2 involves a fair bit more than 
just changing a version number. 

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-24 Thread Rob
Our apps are built with 2.7 & 2.8.1. Looking at the page Thomas linked to 
it sounds like the problem is fixed in 2.8.2 which also explains why 'esoco 
GmbH's app (mentioned above) works.


On Thursday, 24 January 2019 09:30:01 UTC, Frank wrote:
>
> To be clear : this does not affect GWT apps build with 2.8.2 ?
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-24 Thread Rob
We are serving via HTTPS. I don't see any mixed content errors or warnings 
when running with this fix on either Chrome, Firefox, IE11, Edge or Safari 
12

On Thursday, 24 January 2019 09:27:47 UTC, David Nouls wrote:
>
>
> Watch out with about:blank, if your app is running on SSL you will get 
> mixed content warnings on some browsers... not sure if that is still the 
> case, but that is one of the reasons why gwt was using javascript:””
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-24 Thread Rob


On Thursday, 24 January 2019 06:56:13 UTC, Thomas Broyer wrote:
>
> You may want to first look for "javascript:" in the generated JS (possibly 
> in PRETTY mode), to confirm Chromium engineer's findings.


Thanks Thomas for this prompt :) I looked again at the ticket you mentioned 
and replaced all of the javascript:'' & javascript:"" with about:blank and 
our application now loads in canary.

Using direct injection definitely didn't fix the issue for me, but I can 
now add a post processing step to our build to fix this. I guess it should 
in theory be possible to produce our own custom linker to do this properly?

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-23 Thread Rob
I tried switching our 2.7 code to use the direct injection linker, but still 
saw the same issue. I will have another look at it tomorrow to see if I missed 
something.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-23 Thread Rob
We have 3 applications built with 2.7 & 2.8. None of them work, not sure what 
version of GWT was used in the bits of AWS console that are broken. Looking at 
the (possibly) offending change in Chromium, it appears to be concerned with 
how JavaScript code is loaded in IFRAMES. This ties in with what I've observed.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-23 Thread Rob
It looks like a problem with how the GWT compiled javascript is being 
injected into the page to me, I wonder if the GWT linker being used could 
affect this? We specify the xsiframe linker which according to the docs is 
the default. I can see the 

Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-22 Thread Rob
We're using GWT 2.8, maybe newer GWT code isn't affected?

On Tuesday, 22 January 2019 14:03:21 UTC, esoco GmbH wrote:
>
> It doesn't seem to be a general problem. I just tried this with a deployed 
> GWT application and another locally in development mode and both work as 
> expected with Chrome 73.0.3680.0 (64-Bit) on Windows. I can reproduce the 
> problem with the showcase but maybe that's caused by the site not running 
> with HTTPS? As new browser versions are more and more rejecting unencrypted 
> sites that may affect such old pages.
>
>
> Am Dienstag, 22. Januar 2019 13:39:46 UTC+1 schrieb Rob:
>>
>> We've just tried to use our GWT app with Chrome Canary only to find that 
>> it is terminally broken. The GWT showcase app (
>> http://samples.gwtproject.org/samples/Showcase/Showcase.html) exhibits 
>> the same behaviour and we've also seen it on certain AWS console pages. It 
>> appears to be event related, so hopefully the Chrome devs will fix it.
>>
>> Has anyone else noticed this?
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-22 Thread Rob
The showcase works fine on Chrome & Chrome Beta. Just not Canary. Same for 
our app and AWS console.

I've been debugging the GWT boot strapping code and can see that it appears 
to be failing as for some reason Canary is clearing out the IFRAME that the 
GWT app gets injected into.


On Tuesday, 22 January 2019 14:03:21 UTC, esoco GmbH wrote:
>
> It doesn't seem to be a general problem. I just tried this with a deployed 
> GWT application and another locally in development mode and both work as 
> expected with Chrome 73.0.3680.0 (64-Bit) on Windows. I can reproduce the 
> problem with the showcase but maybe that's caused by the site not running 
> with HTTPS? As new browser versions are more and more rejecting unencrypted 
> sites that may affect such old pages.
>
>
> Am Dienstag, 22. Januar 2019 13:39:46 UTC+1 schrieb Rob:
>>
>> We've just tried to use our GWT app with Chrome Canary only to find that 
>> it is terminally broken. The GWT showcase app (
>> http://samples.gwtproject.org/samples/Showcase/Showcase.html) exhibits 
>> the same behaviour and we've also seen it on certain AWS console pages. It 
>> appears to be event related, so hopefully the Chrome devs will fix it.
>>
>> Has anyone else noticed this?
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Chrome Canary 73.0.3680.0 breaks pretty much ALL GWT apps :(

2019-01-22 Thread Rob
We've just tried to use our GWT app with Chrome Canary only to find that it 
is terminally broken. The GWT showcase app 
(http://samples.gwtproject.org/samples/Showcase/Showcase.html) exhibits the 
same behaviour and we've also seen it on certain AWS console pages. It 
appears to be event related, so hopefully the Chrome devs will fix it.

Has anyone else noticed this?

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: issue with gwt RPC

2018-04-26 Thread Rob Newton
Fred,
It's not a problem during compile time.  It's a runtime issue.  You need to 
configure Tomcat to start with more memory.

For example, in my installation, there is a file /opt/tomcat/bin/setenv.sh, 
with the following line:
CATALINA_OPTS=" -server -Xms128M -Xmx512M"

On Wednesday, January 25, 2012 at 1:13:15 AM UTC+11, fceransky wrote:
>
> But I compile my webapps under netbeans with Xmx512m. It's not enough? 
>
> On 24 jan, 11:56, Daniel Kurka  wrote: 
> > Your server is running out of memory. Give your sever some more RAM at 
> startup. 
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Elemento, maven config to force template implementation class regen

2018-03-28 Thread Rob Newton
Thankyou Thomas, that is good to know.

On Tuesday, March 27, 2018 at 8:36:22 PM UTC+11, Thomas Broyer wrote:
>
>
>
> On Monday, March 26, 2018 at 10:19:26 AM UTC+2, Rob Newton wrote:
>>
>> Hi,
>>
>> When I edit an Elemento template HTML file and do a mvn compile it won't 
>> regenerate the template implementation class source file.   Is there some 
>> maven pom config and/or command I can use to say rerun the elemento 
>> annotation processor without doing a mvn clean or touching the template 
>> abstract class source file ?
>>
>
> I don't use Elemento, but AFAIU the problem lies in how annotation 
> processors work and how Elemento uses them, and how the 
> maven-compiler-plugin works (it would be the same with other build tools 
> though).
> Build tools don't expect that the result of compilation changes based on a 
> resource file (because resources are meant to be bundled with the compiled 
> classes, with side-effects at runtime rather than compile-time), and 
> annotation processors can indicate which Java element triggered the 
> generation of some file, and only Java elements, not resources. 
> Consequently, the maven-compiler-plugin (rightfully) thinks it has nothing 
> to do if Java source files haven't changed.
>
> Annotation processors are *not* a good fit for this kind of work; 
> non-Java templates should be processed by generators to generate Java 
> source that will then be fed to the Java compiler (and possibly trigger 
> annotation processing).
>
> In the mean time, you'll have to "touch" the class responsible for the 
> processing of the template to trigger a recompile.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Elemento, maven config to force template implementation class regen

2018-03-26 Thread Rob Newton
Trying mvn process-sources or mvn generate-sources does not help.  

On Monday, March 26, 2018 at 8:25:18 PM UTC+11, Ahmad Bawaneh wrote:
>
> try *mvn process-sources*
>
> On Monday, March 26, 2018 at 10:19:26 AM UTC+2, Rob Newton wrote:
>>
>> Hi,
>>
>> When I edit an Elemento template HTML file and do a mvn compile it won't 
>> regenerate the template implementation class source file.   Is there some 
>> maven pom config and/or command I can use to say rerun the elemento 
>> annotation processor without doing a mvn clean or touching the template 
>> abstract class source file ?
>>
>> Thanks,
>> Rob
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Elemento, maven config to force template implementation class regen

2018-03-26 Thread Rob Newton
Hi,

When I edit an Elemento template HTML file and do a mvn compile it won't 
regenerate the template implementation class source file.   Is there some 
maven pom config and/or command I can use to say rerun the elemento 
annotation processor without doing a mvn clean or touching the template 
abstract class source file ?

Thanks,
Rob

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: CellList refreshed only after mouse move

2017-04-08 Thread Rob Newton
I have encountered this problem myself.  When the new data arrives, rather 
than updating the CellList/Grid immediately, defer the update until the 
current event loop has completed.  For example:

private static void setRowDataDeferred(
final DataGrid grid, final int start, final List<
Consign> values)
{
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
@Override
public void execute() {
grid.setRowCount(values.size(), true);
grid.setRowData(start, values);
}
});
}




-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Production build takes 25% longer on 2.8 compared to 2.7

2017-03-19 Thread Rob Newton
I have been having a similar experience.  GWT 2.8 production builds take 
roughly 25% longer compared to 2.7.

On Wednesday, March 15, 2017 at 12:02:12 AM UTC+11, shimmeri...@gmail.com 
wrote:
>
> Hi,
>
> I am migrating our GWT projects from 2.7 to 2.8 and noticed that on 
> average production builds now take 25% longer, is this expected ?
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: What's the latest GWT version usable with GWT-Ext?

2015-07-29 Thread Rob
That sounds suspiciously like a project I used to work on! Thankfully I am 
at a different company now and don't have to worry about it anymore, last I 
heard they were throwing it all away and re-writing using PHP/pure JS.

>From memory, GWT-Ext wasn't the best implementation (but you have probably 
found that) and I suspect you aren't going to have much luck moving to a 
more recent GWT :(

On Tuesday, 28 July 2015 17:16:24 UTC+1, walker1c wrote:
>
> I have the unenviable task of resurrecting and modifying a project that 
> was last touched about six years ago.  The project uses GWT 1.5.3 and makes 
> extensive use of the GWT-EXT widget toolkit that ceased active development 
> when 1.5.3 was current.  
>
> There is currently no budget for replacing GWT-EXT with an alternative, so 
> I have to work with what I've got, but I would very much like to update the 
> GWT version, both to take advantage of GWT improvements, and to avoid 
> having to set up a development environment with historic versions of 
> Eclipse, Maven, and associated plugins.
>
> What's the latest GWT version anyone has succeeded is using with GWT-EXT?  
> Any links to crib-sheets for this kind of environment would be most 
> appreciated, as they could save me a lot of time.
>
> Chris
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: .nocache.js generated with same timestamp as .gwt.xml

2015-02-18 Thread Rob Newton
I have just noticed this same issue, and am glad to have found Dop Sun's 
post here.

Thanks Thomas for the link to the proposed path.  I notice on Jan 6 the 
patch was merged, but then reverted later that day, because "*need to 
update some tests before committing this change*".

I hope this hasn't been forgotten and it will make the next release of GWT?

Thanks,
Rob

On Wednesday, December 31, 2014 at 5:47:19 PM UTC+11, Dop Sun wrote:
>
> Thanks Thomas.
>
> On Wednesday, December 31, 2014 2:33:59 AM UTC+8, Thomas Broyer wrote:
>>
>> This is actually a known issue with a proposed patch: 
>> https://gwt-review.googlesource.com/10520
>>
>> On Tuesday, December 30, 2014 5:04:05 PM UTC+1, Dop Sun wrote:
>>>
>>> Hi,
>>>
>>> In previous versions, e.g. 2.6.1, .nocache.js file generated 
>>> with timestamp when the files generated. But in version 2.7.0, the 
>>> .nocache.js file generated with the same timestamp of 
>>> .gwt.xml.
>>>
>>> Is this by design? 
>>>
>>> I'm raising this question because it causes Safari ignores latest 
>>> compiled .nocache.js (which is same timestamp as .gwt.xml), 
>>> and using previously cached file, which is compiled by 2.6.1, and causing 
>>> application not working in Safari.
>>>
>>> And yes, suggestions of this page 
>>> <http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideCompilerOptions>,
>>>  
>>> section [Perfect Cache] can help. Change .htaccess file with suggested 
>>> expiry settings.
>>>
>>> I'm using Mac OS X Yosemite.
>>>
>>> Thanks,
>>> Regards,
>>> Dop
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


What's the long-term recommendation for GWT debugging on a Mac?

2015-01-08 Thread Rob
I'm getting started with GWT, fired up the example webapp, and when I 
browsed to it in Chrome 39.0.2171.95 I was repeatedly prompted to install 
the GWT plugin, even after it was already installed and enabled. Tried 
restarting Chrome, same result--I install the plugin and it still keeps 
prompting me to install it, even after I confirm that it's installed and 
enabled. Then I tried Safari; no dice--the prompt to install GWT 
recommended some other browser I've never heard of.  Finally I tried in 
Firefox, but the prompt said to use Firefox v3.0-v26 (I suspect because my 
version was the latest, and I just saw a post from yesterday that 27 will 
not be supported).  I followed the prompt's recommendation and downgraded 
to v24, and now the GWT plugin seems to be working (at least, I don't get 
the prompt any longer), but this is going to be a pain maintaining a 
separate, old browser just for GWT debugging.

So, getting back to the original question: what's the long-term browser 
recommendation for using the GWT developer plugin on a Mac?  Is it even 
worth using the GWT developer plugin if support for all the common browsers 
is being dropped?  If not, then how do I disable the prompt and what should 
I use instead?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Error compiling a ui binder file with 2.7

2014-10-10 Thread Rob
OK, I've figured out what is going wrong. We use the lib-gwt-svg library 
which replaces UiBinderWriter with its own implementation, this of course 
is not compatible with 2.7 :(


On Thursday, 9 October 2014 16:14:44 UTC+1, Rob wrote:
>
> I've just started looking at how much effort is going to be involved in 
> switching our app over to 2.7, I'm using the latest snapshot and building 
> with maven using the 2.7 gwt maven plugin snapshot.
>
> I'm getting the following error when one of our ui binder files is being 
> compiled:
>
> [INFO] Caused by: java.lang.NoSuchMethodError: 
> com.google.gwt.uibinder.rebind.UiBinderWriter.(Lcom/google/gwt/core/ext/typeinfo/JClassType;Ljava/lang/String;Ljava/lang/String;Lcom/google/gwt/core/ext/typeinfo/TypeOracle;Lcom/google/gwt/uibinder/rebind/MortalLogger;Lcom/google/gwt/uibinder/rebind/FieldManager;Lcom/google/gwt/uibinder/rebind/messages/MessagesWriter;Lcom/google/gwt/uibinder/rebind/DesignTimeUtils;Lcom/google/gwt/uibinder/rebind/UiBinderContext;ZZLjava/lang/String;Lcom/google/gwt/dev/resource/ResourceOracle;)V
>
> I've attached the full stack trace just in case it is of any use.
>
> Rob
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Error compiling a ui binder file with 2.7

2014-10-09 Thread Rob
I've just started looking at how much effort is going to be involved in 
switching our app over to 2.7, I'm using the latest snapshot and building 
with maven using the 2.7 gwt maven plugin snapshot.

I'm getting the following error when one of our ui binder files is being 
compiled:

[INFO] Caused by: java.lang.NoSuchMethodError: 
com.google.gwt.uibinder.rebind.UiBinderWriter.(Lcom/google/gwt/core/ext/typeinfo/JClassType;Ljava/lang/String;Ljava/lang/String;Lcom/google/gwt/core/ext/typeinfo/TypeOracle;Lcom/google/gwt/uibinder/rebind/MortalLogger;Lcom/google/gwt/uibinder/rebind/FieldManager;Lcom/google/gwt/uibinder/rebind/messages/MessagesWriter;Lcom/google/gwt/uibinder/rebind/DesignTimeUtils;Lcom/google/gwt/uibinder/rebind/UiBinderContext;ZZLjava/lang/String;Lcom/google/gwt/dev/resource/ResourceOracle;)V

I've attached the full stack trace just in case it is of any use.

Rob

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
[INFO][ERROR] An internal compiler exception occurred
[INFO] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during
 visit.
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:
121)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:296)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
[INFO]  at com.google.gwt.dev.jjs.ast.JCastOperation.traverse(JCastOperation.jav
a:67)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)

[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:128)
[INFO]  at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclaratio
nStatement.java:49)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor$ListContext.traverse(JModVisit
or.java:95)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemove(JModVis
itor.java:351)
[INFO]  at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)

[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:149)
[INFO]  at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:145)
[INFO]  at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)

[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[INFO]  at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:600)
[INFO]  at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:569)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:381)

[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:293)
[INFO]  at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:285)
[INFO]  at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:1505)
[INFO]  at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:870)
[INFO]  at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJava
Ast(JavaToJavaScriptCompiler.java:1304)
[INFO]  at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.construct
JavaAst(JavaToJavaScriptCompiler.java:1037)
[INFO]  at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompil
e(JavaToJavaScriptCompiler.java:954)
[INFO]  at com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(
MonolithicJavaToJavaScriptCompiler.java:311)
[INFO]  at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompil
er.java:38)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:286)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[INFO]  at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
[INFO]  at com.google.gwt.dev.Compiler.run(Compiler.java:204)
[INFO]  at com.google.gwt.dev.Compiler.run(Compiler.java:156)
[INFO]  at com.google.gwt.dev.Compiler$1.run(Compiler.java:118)
[INFO]  at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)

[INFO]  at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(Compile
TaskRunner.java:50)
[INFO]  at com.google.gwt.dev.Compiler.main(Compi

What does "Module name is invalid" mean?

2014-05-22 Thread Rob Tanner
What does "Module name is invalid" mean?  I get it when trying to export 
the war folder to a warfile using the eclipse plugin.

~ Rob

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: No startup URLs supplied and no plausible ones found -- use -startupUrl -- not true but why does development mode think it is

2014-05-12 Thread Rob Tanner
And, BTW, I do have the -startupUrl set in the run configuration for the 
app in Eclipse.  ??

~ Rob


On Monday, May 12, 2014 3:18:17 PM UTC-7, Rob Tanner wrote:
>
> Hi,
>
> Every time I try to bring up an application in Development mode in Eclipse 
> I get this message and that's as far as it goes:
>
> *[WARN] No startup URLs supplied and no plausible ones found -- use 
> -startupUrl*
>
> My web.xml includes:
>
>   
> FERPASigningRequest.jsp
>   
>
> Isn't that the startup URL.  I'm confused.
>
> ~ Rob
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


No startup URLs supplied and no plausible ones found -- use -startupUrl -- not true but why does development mode think it is

2014-05-12 Thread Rob Tanner
Hi,

Every time I try to bring up an application in Development mode in Eclipse 
I get this message and that's as far as it goes:

*[WARN] No startup URLs supplied and no plausible ones found -- use 
-startupUrl*

My web.xml includes:

  
FERPASigningRequest.jsp
  

Isn't that the startup URL.  I'm confused.

~ Rob

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT Desktop-Notification

2014-03-28 Thread Rob
That looks good, however you might want to look into multi monitor support. 
With my browser open on Screen 2 (Windows 7 PC, Chrome) the notification 
window pops up on Screen 1.

Rob

On Saturday, 8 February 2014 16:23:31 UTC, Marcel K wrote:
>
> Here you are.
>
> http://gwtnotification.appspot.com/
>
>
> Marcel
>
>
> Am Freitag, 7. Februar 2014 14:34:04 UTC+1 schrieb ant...@gmail.com:
>>
>> Marcel that is cool & interesting
>>
>> We'll give it a go once time allows...
>> Why don't you post some screenshots or deploy a sample web app ( on 
>> appspot.com ) so that people can see it in action ?
>>
>> Antonis
>>
>> On Friday, 7 February 2014 08:26:29 UTC, Marcel K wrote:
>>>
>>> Hey,
>>>
>>> after some coding with gwt i want to publish a component that i wrote. 
>>> It's an api for desktop-notification and should work with Chrome, FF and 
>>> Safari (according to 
>>> https://developer.mozilla.org/en-US/docs/Web/API/notification#Browser_compatibility
>>> ).
>>>
>>> I would really appreciate if someone could take a look at it and maybe 
>>> give me some advices ;) or.. maybe even use :)
>>>
>>> https://github.com/MarZl/notification.notification-api
>>>
>>>
>>> Cheers
>>> Marcel
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Google Plus - Fetch user information

2014-03-22 Thread Rob
Hello GWT gurus,

I am following the sample code posted here for my GWT project: google plus 
sample 
demo<https://code.google.com/p/gwt-google-apis/source/browse/trunk/apis/samples/plus/com/google/api/gwt/samples/plus/client/PlusEntryPoint.java>
After implementing it, it pops up a login window (if logged out). And once 
I login, it calls the getMe() method just as intended.
However, the code (within getMe):

plus.people().get("me").to(new Receiver() {
  @Override
  public void onSuccess(Person person) {
println("Hello " + person.getDisplayName());

getMyActivities();
  }
}).fire();

*does not work *at all. 
If this is not the way to fetch/get user information, *is there a way I can 
fetch user email, name and avatar?*

Thanks,

Rob

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT 2.6.0 now available

2014-03-07 Thread Rob Hennessy
Hi All,

It's been a while since I've tried any versions since 2.3.0. I picked up 
2.6.0 and I can not access the generated JS from IE8, IE9, or Chrome. I am 
using the entry point class to add a reference to a couple of converted 
functions.
Safari and FireFox work.

Is there any workaround? I couldn't find anything mentioned on the wiki.

Thanks,
-Rob

On Thursday, January 30, 2014 2:23:45 PM UTC-8, Matthew Dempsky wrote:

> Hi GWT community,
>
> We're excited to announce the GWT 2.6.0 release!  Many of you noticed it 
> was uploaded a few days ago, but if you missed it, you can download 
> it 
> here<https://code.google.com/p/google-web-toolkit/downloads/detail?name=gwt-2.6.0.zip>.
>  
>  This release has also been uploaded to Maven Central with the version 
> string of "2.6.0".
>
> GWT 2.6.0 contains over 100 new bug fixes since GWT 2.5.1, more than 400 
> changes in total, and greater than 20% of all contributions came from the 
> community.  Thanks so much to everyone who reported issues and/or submitted 
> patches!
>
> For a summary of user-visible changes, please see the GWT release 
> notes<http://www.gwtproject.org/release-notes.html>. 
>  And as always, please report any issues using the GWT issue 
> tracker<https://code.google.com/p/google-web-toolkit/issues/list>
> .
>
> Happy hacking!
>
> -Matthew, on behalf of the GWT developers
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Setting special variables for GWT projects using the Eclipe plugin

2013-08-23 Thread Rob Tanner
When I developing a webapp that is going to be updating database servers, 
etc, I use test servers and services.  When I move the webapp into 
production, I have to make sure I correct all the URIs to point to 
production databases and then if I go back to fix a previously undiscovered 
bug, I have to make sure that I change all the URIs back to the test 
databases.  Is there a way that I can simply override the production URIs 
(always expressed in variables, never literals) in development using the 
GWT plugin for Eclipse?

Thanks,
Rob

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Login + CRUD example

2013-04-01 Thread Rob
Hi,

-> http://uptick.com.au/content/gwt-login-security

-> http://uptick.com.au/content/crud-gwt-gwtp-smartgwt-and-jpa

Cheers
Rob

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




Re: GWT 2.5.1 now available

2013-03-12 Thread Rob
Hi,

Many thanks to the GWT team.  

http://blog.websitesframeworks.com/2013/03/web-frameworks-statistics-174/#husage
  

"Best growth in 12 months is presented by GWT in all the tops."

Cheers
Rob

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




Re: I/O 2013 - GWT Sessions?

2013-03-10 Thread Rob
Hi,

I think the obvious compromise location is Sydney.

Cheers
Rob

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




GWT TabPanel in firefox , IE8 & 9

2013-03-06 Thread Rob Green
We have an application developed in IE7 and it works fine, but when we try 
to run it in FF, ie8 & 9 the widgets in tabPanel does not load/show, 
everything works fine thou except only not showing the widgets in the 
tabpanel.

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




How can I modify context-param values (from web.xml) on my development system only

2013-03-05 Thread Rob Tanner
Hi,

I am trying to use Tomcat rather than the built in Jetty server.  I've 
followed these instructions found at 
https://developers.google.com/eclipse/docs/faq#gwt_in_eclipse_for_java_ee:

How do I use the plugin with a GWT Dynamic Web project in Eclipse for Java 
EE? 

It's easy to develop and debug a GWT application in Eclipse for Java 
EE<http://www.eclipse.org/downloads/moreinfo/jee.php>
:

   1. In your project's properties dialog, select *Google > Web Toolkit*and 
check the box 
   *Use Google Web Toolkit*.
   2. Switch to the *Google > Web Application* property page and change *WAR 
   directory* as appropriate (WebContent is the default for Eclipse for 
   Java EE) and uncheck the box *Launch and deploy from this directory*. 
   Click *OK* to close the properties dialog.
   3. If your project uses the *Apache Tomcat* library, ensure that the *GWT 
   SDK* library is above it on your project's classpath (project properties 
   > *Java Build Path > Order and Export*). Otherwise, you may get a 
   java.lang.NoSuchMethodError when launching your application in 
   hosted/development mode.
   4. Start your project's server (Jetty, GlassFish, Tomcat, etc.) using 
   your configured WTP server adapter.
   5. Create a new *Web Application* launch configuration for your project. 
   On the *Server* tab, uncheck *Run built-in server* (since you want to 
   use your configured WTP server adapter instead) and on the *GWT* tab 
   change the *URL* field to point to your server (e.g. 
   http://localhost:8080/WebApp).
   6. Run/Debug your new launch configuration. The first time you do this, 
   you'll have to select the location of the WAR directory that WTP is 
   publishing to (this is configurable, but by default it is 
   
/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/
   ).

GWT development/hosted mode is now running in your own server, and you can 
debug either server or client code. If you make changes, WTP's publishing 
mechanism will automatically copy the modified class files or static 
resources to your runtime WAR directory.
The problem is that I continually get a 404 error.  The URL is: 
http://127.0.0.1:8080/AccountRequest/AccountRequest.jsp?gwt.codesvr=127.0.0.1:9997
 
which differs from the built in server URL only by ports.  When I go 
through the war directory inside the Eclipse project, all the pieces are in 
place.

Any ideas?


Thanks,

Rob Tanner
Linfield College

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




Re: avoid recompile

2013-03-04 Thread Rob Whiteside
You are running in development mode right? Just refresh the browser to pick 
up new changes.

On Monday, March 4, 2013 7:25:39 AM UTC-8, leslie wrote:
>
> I have a view class that creates a panel.  This class is dependent upon a 
> controller class, also on the client side.
> I'd like to add a line of code - Window.alert("Hello World") in the 
> controller without stopping everything and recompiling the app.  How do I 
> do this?  Reloading the server by selecting the yellow reload button in 
> Eclipse doesn't seem to work. 
>
> GWT 2.5, Java 6.
>
> Thanks.
>

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




Re: GWT Dashboard Development

2013-02-24 Thread Rob
Hi,

Take a look at gwt-highcharts:

-> http://www.moxiegroup.com/moxieapps/gwt-highcharts/showcase/#main

Cheers
Rob

Kiahu.com

On Friday, February 22, 2013 5:23:58 AM UTC+11, Abhishek kumar Gupta wrote:
>
>
> Hi All,
>
> I am using GWT 2.4 and still looking for a Dash board widget using GWT. 
> Any help regarding to link or sample code will be very helpful.
>
>
> On Friday, 12 March 2010 16:58:21 UTC+5:30, Tapas Adhikary wrote:
>>
>> Hi All,
>>
>>
>> I have a requirement of developing a Dash board using GWT. The followings 
>> are the Dashboard should have ,
>>
>>
>>- It should accommodate maximum 4 widgets at any point of time .  
>>- Each widget should have a Title bar ( which is uniform across all 
>>the widgets). 
>>- Below title bar , there should be a Widget body. Widget body can 
>>hold different components for different widgets ( say , widget 1 is a 
>> Tree 
>>, widget 2 is a table etc).  
>>- All the widgets shouldn't be placed like a stack . It should be 
>>placed as row-column basis ( Something like i-google).
>>
>>
>> Now My questions are ,
>>
>>- What Panel/Layout I should use for holding all the widgets ? 
>>- How to define the individual widgets to have uniform Title bar and 
>>different widget body ?
>>- What care I should take if I want to enable drag-drop feature on 
>>the dashboard in future ?
>>
>>
>> Any code / experience / idea / talk are welcome. If anybody have 
>> developed i-google kind of dashboard , please share the experience 
>> / guidance / code .
>>
>> Thanks in Advance,
>>
>> Tapas Adhikary
>>
>>

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




Re: GWT Advice

2013-02-13 Thread Rob
Hi,

- GWT (e.g. deferred binding, declarative UI, ...)
- GWTP (MVP, form-factor support), Gin and Guice (dependency injection)
- UI, you have several options: GWT, mgwt (mobile/tablet form-factors), GXT 
(desktop form-factor), smart GWT, ...
- Restlet: it has GWT support (as does RestyGWT)

GWT + mgwt = web application
GWT + mgwt + gwt-phonegap = mobile application 

-> http://gwt-cx.com/mgwt-basic-project/index.html - mgwt Showcase (that 
uses gwt-platform)

If you need to support different UI toolkits (e.g. mgwt for mobile/tablet 
and GXT for desktop) then I would suggest you take a look at this post re 
UiHandlers:
-> http://uptick.com.au/content/working-gwt-platforms-mvp-and-uihandlers

Some interesting posts:
-> http://uptick.com.au/content/gwt-and-smartgwt-best-practices (with lots 
of good links to related posts)
-> http://uptick.com.au/content/getting-started-gwt-maven-and-eclipse

Some good GWT books:
-> http://www.manning.com/tacy/ - GWT in Action - Second Edition
-> 
https://www.packtpub.com/google-app-engine-java-and-gwt-application-development/book
 
- GWT, GAE
-> http://www.manning.com/louvel/ - Restlet in Action

Cheers
Rob

Kiahu.com

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




Re: What is the best way to create multiple versions a GWT application for Desktop / Tablet vs Cell phones?

2013-02-13 Thread Rob
Hi,

Do you intend to use dependency injection (GIN and Guice)?  There is a 
discussion re form-factor support is this post:

-> http://kiahu.com/tutorial/form-factor-support-with-gin-and-guice/

Are you going to use any third party UI toolkits (GXT, Smart GWT, mgwt)? 
 There is a discussion re MVP and UiHandlers in this post:

-> http://uptick.com.au/content/working-gwt-platforms-mvp-and-uihandlers

gwt-platform (GWTP) has a sample application that demonstrates the binding 
of form-factor specific Views to (shared) Presenters.

-> https://github.com/ArcBees/GWTP
-> https://github.com/ArcBees/GWTP-Samples

Cheers
Rob

Kiahu.com

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




Re: GWT & Maven plugin: how to?

2013-02-13 Thread Rob
Hi,

Take a look at the following posts:

-> http://kiahu.com/tutorial/generate-a-skeleton-project-using-gwt-and-maven/
-> http://kiahu.com/tutorial/debugging-with-gwt-maven-and-eclipse/
-> http://kiahu.com/tutorial/working-with-gwt-maven-and-intellij-idea/

-> http://uptick.com.au/content/getting-started-gwt-maven-and-eclipse
-> http://uptick.com.au/content/gwt-cx-maven-multimodule-enterprise-project

And study the POMs from popular open source projects (e.g. gwt-platform).

You can also post questions to the gwt-maven-plugin discussion group:

-> 
https://groups.google.com/forum/?fromgroups#!forum/codehaus-mojo-gwt-maven-plugin-users

Cheers
Rob

Kiahu.com

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




Re: GWT RPC future ?

2013-02-07 Thread Rob
Hi,

Another option is the Restlet edition for GWT:

-> https://github.com/restlet/restlet-framework-java/tree/master/modules

also take a look at piriti (http://code.google.com/p/piriti/wiki/Comparison)

Cheers
Rob

Kiahu.com

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




Re: Why doesn't applying styles to labels work?

2013-01-30 Thread Rob Whiteside
I don't think you can use the dot (.) in the middle like that.  Try setting 
your style to something like ".gwt-Label-Green" or something similar.  

On Wednesday, January 30, 2013 6:00:09 AM UTC-8, thesilv...@gmail.com wrote:
>
> I want to apply styles to labels such as color, boldness, alignment and 
> whatnot.  This doesn't seem to work.  Consider the following code:
> public class StyleTest implements EntryPoint
> {
> private final AbsolutePanel absolutePanel = new AbsolutePanel();
> private final Label lblNormalLabel = new Label("Normal Label");
> private final Label lblGreenLabel = new Label("Green Label");
>
> public void onModuleLoad()
> {
> RootPanel rootPanel = RootPanel.get();
>  rootPanel.add(absolutePanel, 10, 10);
> absolutePanel.setSize("430px", "280px");
>  absolutePanel.add(lblNormalLabel, 30, 24);
> lblGreenLabel.setStyleName("gwt-Label.Green");
>  absolutePanel.add(lblGreenLabel, 30, 82);
> lblGreenLabel.setSize("141px", "36px");
> }
> }
>
> and the CSS entry:
> .gwt-Label.Green {
> color: Green;
> font-size: larger;
> font-weight: bolder;
> vertical-align: middle;
> }
>
> I would expect lblGreenLabel to be green, centered, larger and bolded. 
>  However it is identical to lblNormalLabel in appearance.  What am I doing 
> wrong or how do I get lblGreenLabel to accept the styles I want?
>

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




Re: GWT app does not work in IE 8

2013-01-30 Thread Rob Whiteside
Does it only happen in Dev mode on IE8?  Or is there errors when you run it 
regularly?  I run in IE8 often and haven't seen that one.  Could it be that 
the Bootstrap is doing something funny?  That library makes use of HTML5 
kind of stuff...


On Tuesday, January 29, 2013 2:44:35 PM UTC-8, Sree wrote:
>
> I am working on a GWT application developed using MVP Architecture.
>
> The application works fine on firefox in Development Mode, but throws an 
> AttachDetachException in IE.
>
> Please help me identify what I am doing wrong?
>
> The IDE is Eclipse indigo, GWT version 2.4 and IE version 8.
>
> Caused by: com.google.gwt.user.client.ui.AttachDetachException: One or more 
> exceptions caught, see full set in UmbrellaException#getCauses
> at 
> com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:87)
> at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:170)
> at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)
> at com.google.gwt.user.client.ui.Composite.onAttach(Composite.java:170)
> at com.google.gwt.user.client.ui.Widget.setParent(Widget.java:475)
> at com.google.gwt.user.client.ui.Panel.adopt(Panel.java:127)
> at com.google.gwt.user.client.ui.SimplePanel.setWidget(SimplePanel.java:160)
> at com.google.gwt.user.client.ui.SimplePanel.setWidget(SimplePanel.java:129)
> at 
> com.google.gwt.activity.shared.ActivityManager.showWidget(ActivityManager.java:202)
> at 
> com.google.gwt.activity.shared.ActivityManager.access$2(ActivityManager.java:200)
> at 
> com.google.gwt.activity.shared.ActivityManager$ProtectedDisplay.setWidget(ActivityManager.java:51)
> at 
> com.myapp.mysearch.client.activity.MySearchActivity.start(MySearchActivity.java:89)
> at 
> com.google.gwt.activity.shared.ActivityManager.tryStart(ActivityManager.java:214)
> at 
> com.google.gwt.activity.shared.ActivityManager.onPlaceChange(ActivityManager.java:141)
> at 
> com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:70)
> at 
> com.google.gwt.place.shared.PlaceChangeEvent.dispatch(PlaceChangeEvent.java:1)
> at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:1)
> at 
> com.google.web.bindery.event.shared.EventBus.dispatchEvent(EventBus.java:40)
> at 
> com.google.web.bindery.event.shared.SimpleEventBus.doFire(SimpleEventBus.java:193)
> at 
> com.google.web.bindery.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:88)
> at 
> com.google.gwt.event.shared.SimpleEventBus.fireEvent(SimpleEventBus.java:52)
> at com.google.gwt.place.shared.PlaceController.goTo(PlaceController.java:156)
> at 
> com.google.gwt.place.shared.PlaceHistoryHandler.handleHistoryToken(PlaceHistoryHandler.java:192)
> at 
> com.google.gwt.place.shared.PlaceHistoryHandler.handleCurrentHistory(PlaceHistoryHandler.java:118)
> at com.myapp.mysearch.client.MyEntryPoint.onModuleLoad(MyEntryPoint.java:56)
>
> Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): 
> Object doesn't support this property or method
> at 
> com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:248)
> 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.invokeNativeVoid(ModuleSpace.java:289)
> at 
> com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
> at com.google.gwt.user.client.impl.DOMImpl.setEventListener(DOMImpl.java)
> at com.google.gwt.user.client.DOM.setEventListener(DOM.java:1161)
> at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:339)
> at 
> com.google.gwt.user.client.ui.AttachDetachException$1.execute(AttachDetachException.java:34)
> at 
> com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:74)
> at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:170)
> at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)
> at 
> com.github.gwtbootstrap.client.ui.base.IconAnchor.onAttach(IconAnchor.java:258)
> at 
> com.google.gwt.user.client.ui.AttachDetachException$1.execute(AttachDetachException.java:34)
> at 
> com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:74)
> at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:170)
> at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)
> at 
> com.google.gwt.user.client.ui.AttachDetachException$1.execute(AttachDetachException.java:34)
> at 
> com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:74)
> at com.google.gwt.user.client.ui.Panel.doAttachChildren(Panel.java:170)
> at com.google.gwt.user.client.ui.Widget.onAttach(Widget.java:345)
> at 
> com.google.gwt.user.client.ui.AttachDetachException$1.execute(AttachDetachException.java:34)
> at 
> com.google.gwt.user.client.ui.AttachDetachException.tryCommand(AttachDetachException.java:74)
> at com

Re: Dirty Form Flag in GWT or basically how to identify if in the form if there are any unsaved changes

2013-01-29 Thread Rob Whiteside
The GWT Editor Framework does stuff with isDirty().  But by default it just 
compares your UI fields to the underlying model.  So that won't cover your 
cases 1 and 2.  You'd need to add some custom code to handle those cases. 
 The only way I can think to do that is by listening for events.

WIth UIBinder it wouldn't be too too bad... something like:

@UiHandler(value = {"tbox1", "tbox2", ... "tboxn"})
public void onTextBoxBlur(BlurEvent e) {
  //set dirty flag ...
}

that would listen for your blur event from all those textboxes.

Another thought would be to subclass textbox and handle it in there by 
adding an isDirty() flag

On Tuesday, January 29, 2013 1:26:29 PM UTC-8, BM wrote:
>
> I have a form in GWT and I want to capture an event similar to dirtyform 
> flag in JQuery. Basically I want to understand if any of the form data has 
> been changed. The requirement is pretty simple here. I am NOT looking for 
> if the data has been actually been modified but just to find out if they 
> touched my form data by any way.
>
> So let's say if my form has one GWT Textbox and one ListBox. For me the 
> form data is changed with any of the following condition:
>
> 1) If the user changes the value inside Textbox and revert it back to 
> previous original value. 
> 2) The user changes the default selection of ListBox to new selection but 
> changes back to default selection.
> 3) If the user changes the value inside Textbox to a new value.
> 4) The user changes the default selection of ListBox to new selection.
>
> The form data is not changed if the user just views the form but did not 
> change any of the values in the Widgets at all. 
>
> One way I thought would be to use onChange event and set a local flag 
> hasDataChanged to true. Once the flag hasDataChanged has been set to true 
> then don't reset it as it means the user touched the form. Based on the 
> value of flag hasDataChanged show an alert message when navigating away 
> from the page. 
>
> But my problem is that if there are more GWT user interaction widgets 
> (let's say 15 TextBox, 5 ListBox), the UI will fire onChanged Event every 
> time. Plus I have to add onChange event handler to all of my GWT widgets. 
>
> Perhaps there is a better way to do handle this. May be on view level if 
> there is a single event I can assign which knows if any of GWT widgets been 
> touched by the user? 
>
> Any help would be appreciated!
>

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




Re: Parametrized Css class

2013-01-29 Thread Rob
Hi,

What about using SASS (Syntactically Awesome Stylesheets)?

Take a look at this post:

https://vaadin.com/blog/-/blogs/link-to-the-client-side-from-sass

Cheers
Rob

On Tuesday, January 29, 2013 7:11:42 AM UTC+11, Joseph Lust wrote:
>
> Thanks Goktug! CSS3 and GWT have been the biggest issue for me in the last 
> year. I can't wait! And, as TBroyer pointed out in a post last 
> year,<https://groups.google.com/forum/?fromgroups=#!searchin/google-web-toolkit/Closure$20Stylesheets/google-web-toolkit/jd5y7nHyUdU/m1tOVMJMSRkJ>once
>  this is ready, it should be possible to use as a custom 
> ResourceGenerator, so hopefully some of us could use it before GWT 2.5+1
>
>
> Sincerely,
> Joseph
>

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




Re: [POLL RESULTS] Maven project layout, what to "standardize"?

2013-01-29 Thread Rob
+1 Option 3

On Tuesday, January 29, 2013 4:23:23 AM UTC+11, James Nelson wrote:
>
> Personally, I store all super source and .gwt.xml in src/main/resources, 
> and never have a problem. (Eclipse 4.2; not too painful if you don't use 
> GTK window manager)
>
> No filtering, especially on src/main/java; the contract of maven is source 
> goes into src/main/java, and it will go into the jar as compiled classes, 
> while everything in src/main/resources goes in the jar, no filters needed.
>
> When I want to produce a jar for gwt compiles, rather than include source 
> into the jar of every module, I just make a single uber-module, which pulls 
> in all the modules it needs, then using maven assembly plugin to combine 
> all the dependencies and their sources into a single uber jar.  It works 
> quite well; library code sticks to the specific modules it needs and no 
> more, while the consuming code that gets deployed to the server simply 
> pulls in the uber jar to get all the features bundled together.
>
> This is also very good for code-sharing with the server; I can make the 
> uber-jar provided so it's there for compiles, but rather than deploy a 
> massive jar full of sources and resources to the server, it can just 
> declare runtime dependency only on the submodules it needs, which only 
> contain class files, like a good artifact ought to.  If any other modules 
> needs the source of one of the gwt modules, it's free to use the sources 
> classifier and get the sources jar, or the uber module and uber classifier 
> to get everything bundled up.
>
> On Monday, January 28, 2013 8:22:33 AM UTC-7, olivier.nouguier wrote:
>>
>> IMHO GEP is to blame, please note that is is only the new GWT Launch UI 
>> that suffer from this issue ! If you move the *.gwt.xml file to 
>> "resources" afterward it will work. 
>> I will take a closer look asap.
>>
>>
>>
>> On Mon, Jan 28, 2013 at 3:16 PM, Abraham Lin wrote:
>>
>>> This is typically caused by incorrect project classpath settings (check 
>>> the includes/excludes for the resources folder). It's not clear whether m2e 
>>> or GPE is to blame here.
>>>
>>> -Abraham
>>>
>>>
>>> On Mon, Jan 28, 2013 at 4:02 AM, Olivier NOUGUIER >> > wrote:
>>>
 Hum 
   Sorry to say, that :

  On Fri, Nov 16, 2012 at 2:34 PM, Thomas Broyer wrote:

>
> Poll results: option 3, aka src/main/resources + src/main/super.
>
> Bonus: it apparently works with the latest version of the GPE (wasn't 
> the case before, where it –basically– only looked into src/main/java)
>
> Is not true :(
 In fact, from a fresh project, the *.gwt.xml file are not detected if 
 they lies in src/main/resources ... 
 Once the Launch configuration exists the file can be moved from 
 src/main/java to src/main/resources.
  
>
> On Tuesday, November 13, 2012 1:51:36 PM UTC+1, Thomas Broyer wrote:
>>
>> Hi all,
>>
>> As some of view may already know, I'm porting GWT to use Maven as the 
>> build system (instead of Ant). I'm also about to "reboot" GWT+Maven 
>> integration (more to come by the end of the week, stay tuned).
>>
>> As part of this effort, I'm wondering which project structure to use 
>> as the default, "standard" layout for GWT projects using Maven? I'm 
>> particularly looking for advice/preferences for GWT library projects 
>> (such 
>> as GWT itself, mgwt, Errai, GXT, etc.), not much for GWT applications 
>> (the 
>> one you run the GWT Compiler on).
>>
>>
>> NOTE: this poll is cross-posted to the GWT and gwt-maven-plugin 
>> groups, please answer only once! (wherever you want)
>>
>>
>> The question is about where to put files such as: GWT module 
>> descriptors (*.gwt.xml), GWT "processed resources" (*.ui.xml, etc.), and 
>> super-sources.
>> It comes without saying (for me at least) that Java sources would go 
>> into src/main/java and "public resources" (i.e. the things within 
>> **/public/**, e.g. the CSS and image files from the themes) into 
>> src/main/resources, so the "everything" below only refers to those other 
>> files listed above.
>> Remember I'm only interested in defining the "standard layout" for 
>> GWT *libraries*, and please think about them as *GWT-only* libraries, 
>> not the kind with server-side and client/server-shared code!
>> Note that in any case, src/main/java is also added as a resource 
>> folder (packaged within the JAR)
>>
>> Here are the alternatives I thought about:
>>
>>1. everything in src/main/java
>>super-sources in src/main/resources 
>>2. everything in src/main/resources
>>3. everything in src/main/resources
>>super-sources in src/main/super (or gwt-super, or some other 
>>name, let's discuss that later as I suspect it's a bikeshed)
>>
>> When casting your vote, do not hesitate to explain *wh

Re: Modal Dialog/Non-busy Wait

2012-12-07 Thread Rob


On Monday, September 5, 2011 1:01:29 PM UTC-4, melody wrote:
>
> I wish to embed an asynchronous call to the server inside a method 
> that MUST NOT return until the server has responded. So I am looking 
> for a way to achieve a non-busy wait in GWT. I thought I could use a 
> modal popup dialog to stop the next line from being executed until the 
> dialog is closed  and only after the response from server arrives. 
> Unfortunately the GWT modal dialog does not do what I thought it would 
> do -- which is block everything and wait at the line where the 
> PopupPanel.show() method is called. See method below 
>
>  
> public boolean doPost(String url, String postData) { 
> RequestBuilder builder = new 
> RequestBuilder(RequestBuilder.POST, url); 
> final int STATUS_CODE_OK = 200; 
> final PopupPanel dlg = new PopupPanel(); 
> dlg.setModal(true); 
> dlg.setGlassEnabled(true); 
> try { 
> builder.setHeader("Content-Type", "application/x-www-form- 
> urlencoded"); 
> builder.sendRequest(postData, new RequestCallback() { 
> public void onError(Request request, Throwable 
> exception) { 
>dlg.hide(); 
> } 
>
> public void onResponseReceived(Request request, 
> Response response) { 
> int li_status = response.getStatusCode(); 
> if (li_status == STATUS_CODE_OK) { 
> //bravo 
> } 
> dlg.hide(); 
> } 
> }); 
> builder.setTimeoutMillis(3000); 
> dlg.show(); 
> return true; 
> } catch (RequestException e) { 
> GWT.log(e.getLocalizedMessage()); 
> } 
> return false; 
> } 
>  
>
> I want the line 
>
>  
> return true; 
>  
>
> to be executed only after the dialog is closed just like what would 
> happen if I used Window.confirm to achieve the modality as shown 
> below. 
>
>  
>Window.confirm("yes or no"); 
> return true; 
>  
>
>
> Any ideas on how I can achieve this. 
>
>
> Thanks, 
>
> Melody 
>
>

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



Re: iOS 6 Bug: Safari caches POST requests

2012-11-05 Thread Rob Whiteside
We came across this problem too, I was banging my head against the wall for 
hours.

I see some others solved it with filters, if you use apache you can mess 
with the headers via the Headers Module.  Add the following to the 
httpd.conf:

LoadModule headers_module modules/mod_headers.so

...


Header set Cache-Control no-cache


That will add set the headers for any response at that location.  For us, 
that was the GWT Request Factory endpoint.

On Saturday, September 22, 2012 11:17:10 PM UTC-7, KevMo wrote:
>
> I'm not sure how many people this will affect, but I thought I would send 
> out a heads up. Check out these posts for more information:
>
> http://stackoverflow.com/questions/12506897/is-safari-on-ios-6-caching-ajax-results
> http://www.devthought.com/2012/09/22/understanding-the-ios6-ajax-bugs/
>

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



Re: Could not load GWT DMP Plugin

2012-10-21 Thread Rob Taft
Not to mention Chrome loads an old version of my site that I can't seem to 
clear when I don't use the plugin...kinda left dead in the water here.

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



Re: Could not load GWT DMP Plugin

2012-10-21 Thread Rob Taft
I just started getting the exact same issue...

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



Re: Performance Tip for IE browsers : Java garbage collection is NOT Javascript garbage Collection

2012-10-12 Thread Rob
Hello can someone please help complete this sample. Maybe it is obvious to 
everyone out there but me but
callback c=createCallback();does not seem to work. Exactly how do I 
instantiate my call back.
Do I have to
static AsyncCallback  myCallback=null;
private AsyncCallback  create_myCallback() 
AsyncCallback createCallBack(){

   if (myCallback==null){
 myCallback = new AsyncCallback() {
   // implement onSuccess  
  //  implement onFailure
};
   
} // end iff
   return callback;
}   // end of  constructor

// Implementation
AsyncCallback  c=create_myCallback();
I guess so but then why the create mycallback when you meant 
AsyncCallback ???  Or am I missing something here?
because:
myCallback c=create_myCallback();   // does not work
So I am pretty sure you meant the former:
e.g 
AsyncCallback  c=create_myCallback();  
and not   
callback c = createCallback();


On Monday, September 26, 2011 11:36:55 AM UTC-4, Rokesh Jankie wrote:
>
> No definitely not: This is only with the callback Class (and in 
> combination with a lot of data).
> Somehow the callback is not garbage collected properly in IE.
>
> The GWT team covered this part (of (new ClickHandler)...)
>
> See this link 
> https://groups.google.com/forum/#!searchin/google-web-toolkit/clear$20memory$20IE7/google-web-toolkit/jPOhtj5vZT4/cOnK6MS_EQwJ
>
> And the last post of Joel Webber was definitely worth the read!
>
> So in short: Only the callback ( AsyncCallback()) class we changed to a 
> static class variable and that was it...No other code changes...
>
> Again: java garbage collection is (apparently) NOT the same as Javascript 
> garbage collection.
>
>

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



Re: Are you happy with GWT?

2012-10-11 Thread Rob
Well I have had a differnt story. Given that the books available including 
E-books are scarce and the Javascript generated at times can be agonizingly 
slow when doing calculations and say puting up complex  charts and grids 
with or without a backend RPC servlet. All in  all its ok for what it does 
but there are many gotchas I have seen
For one early on I noted IE 9 did not handle absolute coordinates and well 
and a relative panel approach appears to work  well for positioning widgets.
Also the supply of widgets is a bit scarce as well and Sencha can be 
difficult to use especially given that their samples come with far too much 
overhead and example code. When I want to use a widget sample I want it to 
be plug and chug if you know what I mean. What they prepare is very rigid 
structures.
Also the rpc service calls can be very sluggish? Does anyone know of a a 
way to compress the textual data to/from the servlet??
I should mention that objects exhibit very slow response presumably from 
bulky exchanges of large objects or complex and large objects especially 
ArrayLists

On Friday, October 5, 2012 11:53:17 AM UTC-4, Charlie Youakim wrote:

> I'm deciding on whether to switch my team to GWT.  I think the biggest 
> thing for me as the tech lead for the company is "Are you happy with your 
> choice to use GWT?"
>
> My reasons for thinking to switch:
>
> -Javascript is a fast and free language, sometimes too fast and free for a 
> large team.  Coding standards can vary from developer to developer, and 
> maintaining architectures can be difficult
> -Javascript mistakes are only caught in runtime.  The fact that GWT(Java) 
> would catch 90+% of our simple mistakes makes me more confident that our 
> clients won't.
> -Javascript allows for rapid development, but not so rapid bug fixing.
> -Strict Java coding + a strong architecture at the outset creates a great 
> foundation to build from.  I've even seen this in my firm's Android apps.  
> They are very stable.
>
> But for me, I'd really like to hear from developers active in the 
> community.  Are you happy?  Or do you wish you went a different route?  My 
> goal is to have my dev team work more on new projects rather than fixing 
> old projects.  I am hoping that GWT can help with that.  thoughts?
>
> -Charlie
>

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



Re: what is the function of gwt-unitcache directory (not under target directory)?

2012-10-11 Thread Rob
I just took a look and it does not look like there is much on this subject. 
It does appear to effect memory in a browser and I recently deleted the out 
of sync entries in eclipse within the gwt-cache folders as specified in the 
eclipse error.log
On Tuesday, May 29, 2012 3:32:54 AM UTC-4, Thomas Broyer wrote:
>
>
> On Tuesday, May 29, 2012 8:53:07 AM UTC+2, tong123123 wrote:
>>
>> I try to run mvn:clean install and the content in gwt-unitCache (not the 
>> one in target directory, but the one directly under the project folder) 
>> will not changed, so what is its use? Could I not commit this folder in svn 
>> if it is not important?
>>
>
> AFAICT, gwt-maven-plugin will only create things under target/ (unless 
> told it otherwise). If you have a gwt-unitCache folder sibling to the 
> target/ folder, it has probably been creating when launching the DevMode 
> from within Eclipse (rather than "mvn gwt:run").
>
> Anyway, as its name suggests, it's a "cache", you shouldn't generally 
> commit it to your SCM.
> See 
> https://developers.google.com/web-toolkit/release-notes#Release_Notes_2_4_0
>  and http://code.google.com/p/google-web-toolkit/issues/detail?id=6802
>

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



Re: what is the function of gwt-unitcache directory (not under target directory)?

2012-10-11 Thread Rob
As to the function I can not say but suffice it to say deleting the out of 
sync entries actually seems to have helped fix an out of  memory error I 
have been getting recently!
 

On Tuesday, May 29, 2012 2:53:07 AM UTC-4, tong123123 wrote:

> I try to run mvn:clean install and the content in gwt-unitCache (not the 
> one in target directory, but the one directly under the project folder) 
> will not changed, so what is its use? Could I not commit this folder in svn 
> if it is not important?
>

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



What does it mean when gwt-unitCache-... is out of sync exactly??

2012-10-11 Thread Rob
Hello All,
Can any one tell me in the Eclipse EE environment anyway what does the 
error:
Resource is out of sync with the file system: 
'/MyProject/gwt-unitCache/gwt-unitCache-013A483B3FA8'.
mean exactly?  Does it mean its time for a GWT Compile and isn't it true 
that GWT Compile really only converts portions of Java to Javascript  files 
e.g .js files ??
What do these Cache's get used for and does it effect brower memory usage?
 
Also while I am on that topic How can I measure the browser memory usage 
versus say Virtual Machine vm usage???
 

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



Re: application architecture ideas: Appli

2012-09-17 Thread Rob
Hi,

I would suggest that you include a comparions of your approach with some 
popular MVP implementations (e.g. gwtp, mvp4g).

For example:

-> http://code.google.com/p/mvp4g/wiki/Mvp4g_vs_GWTP

Also, take a look at Thomas's posts:

-> http://tbroyer.posterous.com/tag/gwt

David Chandler's posts:

-> http://turbomanage.wordpress.com/category/google-web-toolkit/

and

Andreas Borglin's posts re gwt-presenter (and gwt-dispatch):

-> http://borglin.net/gwt-project/?page_id=10

Cheers
Rob

Kiahu.com

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



Re: Smart GWT / GWT Ext.... which one is better?

2012-09-16 Thread Rob
Hi,

You have a couple of other UI library choices:

*GWT Bootstrap* demo:
-> http://gwtbootstrap.github.com/

*mgwt* demo:
-> http://gwt-cx.com/mgwt-basic-project/index.html

Some useful links:

Smart GWT tutorials:
-> http://uptick.com.au/blog

Ext GWT demo:
-> http://gwt-cx.com/extgwt-serendipity/Serendipity.html

Cheers
Rob

Kiahu.com

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



Re: GWT & Mobile App in Same WAR File

2012-09-05 Thread Rob
Hi,

Take a look at the MobileWeApp sample in the GWT SDK. In particular, 
FormFactor.gwt.xml and the MobileWeApp.gwt.xml.

-> 
gwt-2.4.0\samples\MobileWebApp\src\main\java\com\google\gwt\sample\mobilewebapp

And this post re form factor support:

http://kiahu.com/tutorial/form-factor-support-with-gin-and-guice/

Cheers
Rob

Kiahu.com

On Thursday, August 30, 2012 9:37:57 AM UTC+10, jduffy wrote:
>
>
> Hi All,
>
> We are developing a GWT application for desktop browsers that is deployed 
> to a Tomcat 7 container as a WAR file.
> We are also developing a companion mobile application that is written in 
> JavaScript and JQuery.
>
> We would now like to embed both applications into the same WAR file so 
> that the appropriate version is served based on the user-agent property of 
> the browser.
>
> For example, if a user hits 'ourapp.com' from a desktop browser, they 
> should be served the GWT application and if they hit it from mobile Safari 
> on an iPhone, they should get the JavaScript/JQuery application.
>
> Can anyone shed some light on how we might be able to accomplish this?
>
> We're fairly new to GWT and web programming so I apologize if the question 
> is a bit vague or non GWT specific.
>
> Jim
>
>
>
>

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



Re: GWT Delevoper Plugin for Chrome must be installed from Web Store

2012-09-03 Thread Rob Taft
I just hit the same issue.  When I went to  chrome://extensions/ it said it 
was installed and enabled.  I just disabled it and reenabled it and it 
started working again.

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



Re: GwtChosen: make your select boxes much more user-friendly

2012-08-30 Thread Rob
+1 looks great

On Wednesday, August 29, 2012 8:59:51 AM UTC+10, Chris Lercher wrote:
>
> Very useful. Great widget.
>
> On Tuesday, August 28, 2012 10:34:09 PM UTC+2, Julien Dramaix wrote:
>>
>> Dear community, 
>>
>> I just released the first version of GwtChosen. GwtChosen is the 
>> entire rewritte in Google Web Toolkit of the Chosen component 
>> (http://harvesthq.github.com/chosen/) making this nice component 
>> available for all GWT developers. 
>>
>> It is available as a +GwtQuery plugin or as a widget. 
>>
>> Check the example and doc : http://jdramaix.github.com/gwtchosen/ 
>>
>> Julien 
>>
>

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



Re: GWT/GXT File-Upload Example

2012-08-16 Thread Rob
Hi,

This post might help:

-> http://uptick.com.au/content/taking-advantage-apache-fileupload-and-opencsv

Cheers
Rob

Kiahu.com

On Thursday, August 16, 2012 10:11:55 PM UTC+10, Jens wrote:
>
>
> Thanks that will help. Do you know where I can get an example with a 
>> servlet? I know not much about servlets.
>
>
> You could use Apache Commons FileUpload to read the form data in your 
> servlet. The library also provides a FileUploadServlet I think. Just google 
> for it.
>
> -- 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/-/4kq26T1KM5EJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Animated Speedometer

2012-08-15 Thread Rob
Hi,

There's a GWT wrapper for HighCharts:

-> http://www.highcharts.com/documentation/compatibility -> states IE6+

-> 
http://www.highcharts.com/component/content/article/2-news/46-gauges-ranges-and-polar-charts-in-beta

-> http://www.moxiegroup.com/moxieapps/gwt-highcharts/

Cheers
Rob

Kiahu.com

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



Re: GWT-Bootstrap 2.0.4.0 was released

2012-08-11 Thread Rob
Hi,

+1 Excellent.

Cheers
Rob

On Saturday, August 11, 2012 4:18:49 PM UTC+10, soundTricker wrote:
>
> Hi Great gwt hackers.
>
> We released gwt-bootstrap 2.0.4.0.
>
> Maybe gwt-bootstrap 2.0.4.0 will be deployed to maven central repositry in 
> few days.
> Download : https://github.com/gwtbootstrap/gwt-bootstrap/downloads
> Showcase : http://gwtbootstrap.github.com
> Project : https://github.com/gwtbootstrap
> Mailing-list : gwt-bo...@googlegroups.com 
>
> Thanks our contributers, our  users ,our commiters and Great GWT hackers.
>
> --
> keisuke a.k.a soundTricker
>

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



Re: GWT Multi-Module Server Classpath Problem

2012-08-10 Thread Rob
Hi,

-> That split isn't perfect yet, but I can't seem to get Eclipse to launch 
the project. If I launch the project through "mvn gwt:run", it launches 
successfully, but if I launch it through Eclipse (Run As > Web Application) 
the server part fails to start up when a filter can't find the SLF4J 
LoggerFactory.

I have experienced this problem when trying to debug a multi-module GWT 
Maven application.

Take a look at this post:

-> http://kiahu.com/tutorial/debugging-with-gwt-maven-and-eclipse/

Cheers
Rob

Kiahu.com

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



Re: Drag and Drop UI using GWT with Connectors

2012-08-10 Thread Rob
Hi,

-> http://code.google.com/p/oryx-editor/
-> http://code.google.com/p/signavio-core-components/

-> http://www.jgraph.com/mxgraph.html
-> http://www.yworks.com/en/products_yfilesajax_about.html
-> http://www.tomsawyer.com/products/home/index.php

Cheers
Rob

Kiahu.com

On Saturday, August 11, 2012 6:29:16 AM UTC+10, Joseph Lust wrote:
>
> Checkout gwt-dnd and lib-gwt-svg.
>
>
> Sincerely,
> Joseph
>

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



Re: how to use several html instead of just one hosted html

2012-08-03 Thread Rob
Hi,

You can use an EntryPoint "dispatcher" if your application has multiple 
host pages.

->

public class EntryPointDispatcher implements EntryPoint {

  public void onModuleLoad() {

Log.debug("EntryPointDispatcher - onModuleLoad()");

try {

  // get the Host Page name
  Dictionary dictionary = Dictionary.getDictionary("Pages");
  String page = dictionary.get("page");

  Log.debug("Page name token: " + page);

  if (page.equals(NameTokens.mainPage)) {
MultiPageEntryPoint entrypoint = (MultiPageEntryPoint) 
GWT.create(MainPageEntryPoint.class);
entrypoint.onModuleLoad();
  }
  else if (page.equals(NameTokens.accountPage)) {
MultiPageEntryPoint entrypoint = (MultiPageEntryPoint) 
GWT.create(AccountPageEntryPoint.class);
entrypoint.onModuleLoad();
  }
  else if (page.equals(NameTokens.contactPage)) {
MultiPageEntryPoint entrypoint = (MultiPageEntryPoint) 
GWT.create(ContactPageEntryPoint.class);
entrypoint.onModuleLoad();
  }
} catch (Exception e) {
  Log.error("e: " + e);
  e.printStackTrace();

  Window.alert(e.getLocalizedMessage());
}
  }
}

->

Cheers
Rob

Kiahu.com


On Friday, August 3, 2012 11:43:38 AM UTC+10, tong123123 wrote:
>
> although this requirement seems strange, but maybe I need to change so.
> Currently, my gwt application has just one hosted html with 
> 
>
> this is perfectly normal.
> But now, I may need  to change it so that there is several html instead of 
> this only one hosted html.
> For example, 
> one html (or jsp) called simpeSearch.html
> another html called advancedSearch.html
>
> is it possible to much such silly change and how to do it?
>
> In fact, I also do not know the exact reason for this change, but it seems 
> related to embedded this search page to portlet (I do not know the detail 
> yet).
>
>

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



Re: GWT OpenLayers new website and showcase

2012-08-03 Thread Rob
Awesome, nice demos.

On Friday, August 3, 2012 4:41:26 AM UTC+10, Frank wrote:
>
> Just a quick note that we put some work in the website, and especially in 
> a new showcase for GWT-Openlayers (a GWT wrapper for the great OpenLayers 
> library) :
>
> New website : http://www.gwt-openlayers.org/
> New showcase : http://demo.gwt-openlayers.org/
>
> Feel free to make use of this library in your projects :-)
>

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



Re: Is there any chart library for GWT?

2012-08-03 Thread Rob
Hi,

+1 for gwt-highcharts

Ext GWT (GXT) demo:

-> http://gwt-cx.com/extgwt-serendipity/Serendipity.html#Dashboards

Smart GWT demo:

-> http://gwt-cx.com/serendipity/Serendipity.html#Dashboards

Cheers
Rob

Kiahu.com

On Friday, August 3, 2012 5:25:06 PM UTC+10, Harald Pehl wrote:
>
> In my current project (https://code.google.com/p/tire-d8/) I'm using GWT 
> Highcharts (http://www.moxiegroup.com/moxieapps/gwt-highcharts/) 
>
> It's easy to use and very flexible in its configuration: 
> https://code.google.com/p/tire-d8/source/browse/trunk/src/main/java/name/pehl/tire/client/activity/view/QuickChartWidget.java
>  
>
> - Harald
>
>>
>>

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



Re: google finance portfolio performance graph

2012-08-01 Thread Rob

->

But there is one major flaw which needs to be rectified

Because your portfolio is tracked on a total value invested basis 
(including transaction costs etc) this means that whenever you invest more 
money into the portfolio you get an immediate performance uplift which is 
misleading.  If you have a set investment pool then this is not a problem 
however if you are constantly investing more money into the market (e.g. 
through your wage or other income sources) then the performance of your 
portfolio is misleading (i.e. it looks much higher than it should)

This is a relatively easy problem to fix.  All google needs to do is fix 
the graph so that any additions to the portfolio do not affect the indexed 
value of the portfolio - however they have not done this yet. Once they get 
this right this will be quite a useful tool for benchmarking performance. 
 Until they get this right however it is absolutely useless as an 
analytical tool.

->

from 
http://90million.blogspot.com.au/2012/07/google-finance-portfolios-relative.html


On Thursday, August 2, 2012 4:58:55 AM UTC+10, Peter Nees wrote:
>
> That's just a chart component. I would like to use the portfolio 
> performance calculation of Google Finance..
>
>
> Op woensdag 1 augustus 2012 00:32:22 UTC+2 schreef Rob het volgende:
>>
>> You might consider -> http://www.amcharts.com/stock/
>>
>> On Tuesday, July 31, 2012 8:33:36 PM UTC+10, Peter Nees wrote:
>>>
>>> I want to integrate the google finance portfolio performance graph into 
>>> my application. I don't care whether I integrate it via HTML or in my GWT 
>>> app. 
>>> I looked at several options:
>>>
>>>- I did not find any HTML for this graph to be able to include it as 
>>>an iframe
>>>- I tried to embed the Flash source, but I can't get this working.
>>>- The Google Finance API seems to be deprecated
>>>
>>> Any ideas?
>>>
>>

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



Re: Working with Dates/Timezones

2012-08-01 Thread Rob Coops
Hi,

Is it not possible when the client requests to print a document to make the
client timezone part of the request? In that case you can server side very
easily convert from the stored TZ to the client TZ before printing...

You should simply be able to ask the client what it's timezone is. In pure
Javascript it would be: var offset = new Date().getTimezoneOffset(); which
will return you the amount of minutes you are offset so a UTC+2 would
return 120 where UTC-10 would result in -600 etc...

You could even allow your client to override their system TZ and print the
document as if it where printed in a TZ of their choice.

Regards,

Rob


On Wed, Aug 1, 2012 at 5:12 PM, Jens  wrote:

> Hi,
>
> how do you work with dates/timezones in your apps? I have the following
> situation:
>
> (Client browser, app server, database server live in Germany and we have
> UTC+1 or UTC+2 when daylight saving time is active)
>
> A user chooses a Date + Time (e.g. from GWT's DateBox) and we send that
> date object to the server and store it in database. On the client side
> everything is visually consistent until we want to print something. The
> report is generated on the server and the date that the user has entered *
> can* be off by 1 hour on the server which results in wrong dates in the
> report compared to the information visible inside the client app. Also if
> you use DateBox and only display the day portion of a date the date will
> still be off by one hour but to the user it is visible as being off by one
> day in the report because the date contains 00:00:00 as time portion which
> will become 23:00:00 for the previous day on the server.
>
> As an example the user may chooses 26.10.1951 12:00:00 via the GWT
> DateBox. Chrome, Safari, IE and Opera think (java.util.Date delegates to
> JsDate class in compiled app) that daylight saving time is active for that
> date (UTC+2 and thus date.getTimezoneOffset() returns -120 minutes).
> Unfortunately we don't have daylight saving time from 1950 to 1979 at all
> in Germany and our app server (= JVM) / database server knows this fact
> which results in a differently rendered date on the server. So if we render
> that date on the server its off by one hour (UTC+2 on client vs. UTC+1 on
> server). Firefox does correctly treat the date as UTC+1. On the other hand
> there are other dates where Firefox fails but other browsers do it
> correctly.
>
> As the GWT DateBox uses a DefaultFormat that uses DateTimeFormat and calls
> dtf.format(date) without a timezone I provided a custom Formatter that
> explicitly uses GWT's europeBerlin timezone. Now the GWT DateBox shows
> 26.10.1951 11:00:00 because GWT's timezone provided to the DateTimeFormat
> detects that no day light saving time is active at this date. Now client
> and server render the date the same although the browser created it
> incorrectly with UTC+2. BUT sadly there are other dates where GWT's
> timezone information also failes and differs from the server timezone
> information.
>
> So short story: Its currently impossible to create a consistent behavior
> between client and server for certain dates. It seems like that GWT's
> timezone info and the browsers native timezone infos have different data
> than the tz database used by Unix / Linux / Java / database server. There
> are also differences between browsers itself.
>
> So how do you guy work with dates in your app? I mean as an example it can
> be as easy as selecting a birthday (without time => 00:00:00) and use that
> birthday on server side in a report. Now you are maybe a day older in the
> report if you live in germany :-)
>
> The only "partial" solution we can think of is to always use 12:00:00 as
> time if you are only interested in the day portion of date (to avoid off by
> one day problem) and to use a fixed non DST day (maybe 01.01.1970) which is
> safe in all browsers if you are only interested in the time portion of date
> (to make sure its rendered the same on client/server). Obviously this also
> means that we can never store day and time in a single date instance.
>
> So whats your experience with timezones and/or do you have other possible
> solutions? Or have you never noticed this discrepancy in your timezone? In
> Dev mode everything works fine, because its Java like on the app server.
>
> -- 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/-/q04nxG_F8BkJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr.

Re: google finance portfolio performance graph

2012-07-31 Thread Rob
You might consider -> http://www.amcharts.com/stock/

On Tuesday, July 31, 2012 8:33:36 PM UTC+10, Peter Nees wrote:
>
> I want to integrate the google finance portfolio performance graph into my 
> application. I don't care whether I integrate it via HTML or in my GWT app. 
> I looked at several options:
>
>- I did not find any HTML for this graph to be able to include it as 
>an iframe
>- I tried to embed the Flash source, but I can't get this working.
>- The Google Finance API seems to be deprecated
>
> Any ideas?
>

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



Re: StackLayoutPanel change default behaveeior for header onclick

2012-07-27 Thread Rob Whiteside
Yup, Probably gotta add a switch.  Or do your validation in your 
beforeSelectionHandler rather than on the button click, then you'd remove 
the button all together.  (Unless of course your button has other purposes)

Good luck,
--Rob

On Friday, July 27, 2012 2:06:34 PM UTC-7, Mark Wengranowski wrote:
>
> OK, if i do that i can call event.cancel() wich stops it from changing.
>
> My button that changes the stackpanel to the next stack uses the 
> showWidget(int) method and when i call that it triggers the same event 
> which is then cancelled. Is there a work around for this? I guess i could 
> just put in a switch or something that would detect if it was a header 
> click vs a button click?
>
>
>
>
> On Friday, July 27, 2012 1:14:22 PM UTC-7, Rob Whiteside wrote:
>>
>> Looks like you can register a "BeforeSelectionHandler" then just call 
>> cancel on the event.  Looks like that's what it's intended for.
>>
>> --Rob
>>
>> On Friday, July 27, 2012 9:13:43 AM UTC-7, Mark Wengranowski wrote:
>>>
>>> Hi Everyone,
>>>
>>> I want my stacklayoutpanel to only change stacks when i click on a 
>>> button i've created and not when someone clicks on the header. i.e. i only 
>>> want the stack to change once my validation has passed.
>>>
>>> The only way I can see to do this is to copy/paste the 
>>> StackLayoutPanel.java code into my own file and remove the handler that 
>>> gets added to the header. Then use my custom SLP for my ui. 
>>>
>>> Does anyone have a better alternative? I'm unable to override the insert 
>>> method for stacklayoutpanel
>>>
>>

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



Re: StackLayoutPanel change default behaveeior for header onclick

2012-07-27 Thread Rob Whiteside
Looks like you can register a "BeforeSelectionHandler" then just call 
cancel on the event.  Looks like that's what it's intended for.

--Rob

On Friday, July 27, 2012 9:13:43 AM UTC-7, Mark Wengranowski wrote:
>
> Hi Everyone,
>
> I want my stacklayoutpanel to only change stacks when i click on a button 
> i've created and not when someone clicks on the header. i.e. i only want 
> the stack to change once my validation has passed.
>
> The only way I can see to do this is to copy/paste the 
> StackLayoutPanel.java code into my own file and remove the handler that 
> gets added to the header. Then use my custom SLP for my ui. 
>
> Does anyone have a better alternative? I'm unable to override the insert 
> method for stacklayoutpanel
>

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



Re: GWT AND SOAP

2012-07-26 Thread Rob
Hi,

If you are new to web services and SOAP.

Then I would recommend Eben Hewitt's book "Java SOA Cookbook" and soapUI:

-> http://www.soapui.org/

Cheers
Rob

Kiahu.com

On Thursday, July 26, 2012 9:03:37 PM UTC+10, Nitheesh Chandran wrote:
>
> Okay thanks for the information. Do you have experience of writing a soap 
> client on the GWT server ? or else can i get any links regarding that ?Or 
> do we have any alternatives that can be used instead of SOAP ? 
>
> On Thursday, July 26, 2012 1:59:28 AM UTC+5:30, Rob Whiteside wrote:
>>
>> You are right that GWT does NOT have built in support for making SOAP 
>> calls.  GWT (like all javascript that runs in the browser) is subject to 
>> Same-Origin-Policy rules.  So you couldn't call any remote soap service 
>> anyway.  You can to do GWT-RPC to get to your server, then write a soap 
>> client on the server that sorta "proxies" the calls to the soap webservice.
>>
>> --Rob
>>
>> On Tuesday, July 24, 2012 10:54:52 PM UTC-7, Nitheesh Chandran wrote:
>>>
>>>  HI, 
>>>
>>>  Can we use GWT and SOAP  ? i read from some documents that GWT does not 
>>> have a built in support for SOAP and  another document says it can be used 
>>> in server side of GWT. it is a little bit confusing. Can anyone give me a 
>>> clarification on this. Also i read SMART GWT has built in support for SOAP 
>>> webservices. But i am looking for GWT AND SOAP. Is that possible ? 
>>>
>>> Thanks 
>>> Nitheesh
>>>
>>

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



Re: GWT future

2012-07-26 Thread Rob
The reports of GWT's death have been greatly exaggerated.

http://answers.google.com/answers/threadview?id=191570

On Monday, July 23, 2012 5:14:49 PM UTC+10, AG wrote:
>
> I'm an Architect and we have been looking to port our legacy HTML w/ Java 
> Script based web app  (with java backend) to a next generation web 
> application. We are a java shop so GWT is very popular with our developers 
> and I have been so called GWT fan-boy all along.
>
> However, lately I'm strongly considering moving away from GWT. Following 
> are my observations that are scaring me to start looking for GWT 
> alternatives:
>
> 1. Larry Page has been killing no-so-happening (or revenue generating) 
> projects from google. I was reading that 30+ projects have already been 
> killed/shelved ever since Larry became CEO.
>   -- I understand the need for this and I also understand that GWT 
> currently enjoys a healthy developer community. 
>
> 2. DART - Looks like its the next big thing within google to develop web 
> applications. As a google outsider, at least this is what it seems like. 
> Google IO 2012 has no sessions for GWT while DART had several and there is 
> even a session to convert GWT apps to DART.
>
> 3. The latest update to Google Developer portal (
> http://developers.google.com) has no direct links to GWT. The web 
> development section goes to chrome. 
>
> I think the GWT team can address some of my concerns but it would be great 
> if Google's management can stand behind GWT as a platform of choice for web 
> development - similar to how Microsoft stands behind theirs development 
> platforms. 
>
> AG
>
>
>

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



Re: GWT AND SOAP

2012-07-25 Thread Rob Whiteside
You are right that GWT does NOT have built in support for making SOAP 
calls.  GWT (like all javascript that runs in the browser) is subject to 
Same-Origin-Policy rules.  So you couldn't call any remote soap service 
anyway.  You can to do GWT-RPC to get to your server, then write a soap 
client on the server that sorta "proxies" the calls to the soap webservice.

--Rob

On Tuesday, July 24, 2012 10:54:52 PM UTC-7, Nitheesh Chandran wrote:
>
>  HI, 
>
>  Can we use GWT and SOAP  ? i read from some documents that GWT does not 
> have a built in support for SOAP and  another document says it can be used 
> in server side of GWT. it is a little bit confusing. Can anyone give me a 
> clarification on this. Also i read SMART GWT has built in support for SOAP 
> webservices. But i am looking for GWT AND SOAP. Is that possible ? 
>
> Thanks 
> Nitheesh
>

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



Re: communication beetween html page and gwt application

2012-07-15 Thread Rob
Hi,

- index.html




  *var* Pages = {
page: "MainPage"
  };


- EntryPoint.java

  // get Host Page name
  Dictionary dictionary = Dictionary.getDictionary("Pages");
  revealCurrentPlace(dictionary.get("page"));

Cheers
Rob

Kiahu.com

On Saturday, July 14, 2012 4:13:32 PM UTC+10, vj wrote:
>
> hello friends,
>   i need 2 pass the value from an external html page  to my 
> gwt application, can we do this..
>If possible please help me..
>
>
> thank u..
>

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



Re: Where to find a simple yet good GWT exemple ?

2012-07-15 Thread Rob
Hi,

Take a look at the series of GWT-related posts (and sample code) here:

-> http://uptick.com.au/blog

then later on:

-> http://kiahu.com/support/tutorials/

Cheers
Rob

Kiahu.com

On Friday, July 13, 2012 7:36:17 PM UTC+10, Francois Marot wrote:
>
> Hi all,
>
> I'm new in the GWT world and I would like to learn the techno.
> Does anyone knows a good opensource project that I can import easily in 
> Eclipse to learn by exemples ? I get the basics but it's quite hard to put 
> everything in place. I'm specifically looking for a great and clear MVC 
> implementation that would show me the "state of the art" of GWT programming.
> I'm specifically looking for working exemples of communication between 
> widgets and controllers, controllers calling services then calling the view 
> etc...
> Ideally, it would not use any external library other than real standards 
> (Guice ? Gin ?)
>
> Any hint ?
>

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



Re: Responsive web design for Web application

2012-07-10 Thread Rob
Hi,

You might also find this post helpful:

-> http://kiahu.com/tutorial/form-factor-support-with-gin-and-guice/

Cheers
Rob

On Wednesday, July 11, 2012 12:28:11 AM UTC+10, Ümit Seren wrote:
>
> You can check out the 
> mobilewebapp<http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/mobilewebapp/>sample
>  in the GWT repository. It switches views based on the device 
> (desktop, phone, desktop). The business code in the presenters remains 
> mostly unchanged. 
>
>
> On Monday, July 9, 2012 10:48:48 AM UTC+2, goluguri v v s n reddy wrote:
>>
>> Hi,
>>
>> I'm going to build a e-commerce website and client want that website 
>> should be for all user Desktop, Tablets and Smartphones. Site is an 
>> e-commerce website lost of categories and products , "add to cart, checkout 
>> functions, credit card and paypal payment etc.
>>
>> Would it be good to make responsive website with mobile first approach or 
>> it will be good to make separate website for mobile?
>>
>> And if I go with separate website approach I cannot leave any feature of 
>> desktop website to make it on mobile because it's e-commerce website so 
>> every product, purchase system , form validation should be on mobile 
>> website too.
>>
>> What would be good for users?
>>
>>
>>

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



Re: A good book to understand GWT 2.4

2012-06-25 Thread Rob
Hi,

The book: Google App Engine Java and GWT Application Development has some 
good coverage of MVP. EventBus, UI Binder, ClientBundle, Authentication and 
GAE.

-> 
http://www.packtpub.com/google-app-engine-java-and-gwt-application-development/book

You should also check out the GWT Dev Guide:

-> https://developers.google.com/web-toolkit/doc/latest/DevGuide

And check out GWT-related blog pots:

-> http://arcbees.wordpress.com/
-> http://turbomanage.wordpress.com/category/google-web-toolkit/
-> http://tbroyer.posterous.com/
-> http://uptick.com.au/blog

Cheers
Rob

Kiahu.com


On Monday, June 25, 2012 11:04:40 PM UTC+10, Qrunk wrote:
>
> Hi ,
>
> Please let me know any good book with all updated features of GWT (i.e. 
> till 2.4) this will make a great help.
>
> 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/d/msg/google-web-toolkit/-/K_94T9dIer0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Using EntityProxyId in a service call

2012-06-25 Thread Rob Whiteside
Just to follow up,

I more or less did what you suggested.  In my situation, I was hoping to 
have my UI Views be oblivious as to whether they were showing "historical" 
data, and needed that revision timestamp, or showing "live" data where that 
timestamp was not needed (and "find" could be called as normal).

I was able to abstract my service calls, and override the EntityProxyChange 
event.  When in "historical" mode, I can cast the EntityProxyChange to my 
historical version, get the ID (long in this case) and make the modified 
"find" call to the service.  This let me plow straight ahead, without 
having to change the views.

Thanks!

--Rob

On Thursday, June 21, 2012 1:07:00 AM UTC-7, Thomas Broyer wrote:
>
>
> On Thursday, June 21, 2012 1:20:28 AM UTC+2, Rob Whiteside wrote:
>>
>> I am using RequestFactory to fetch data from the server and have came 
>> across a situation that I can't find an answer to:
>>
>> On the client I have an EntityProxyId for a proxy that I want to fetch. 
>>  Normally, I'd just do a "find" and off it goes to the server.  Then, my 
>> Locator's "find" gets called, but now this EntityProxyId is actually the ID 
>> that I can use to grab it from the database.
>>
>> But, in this particular case, I'm interested in finding a particular 
>> revision of that entity.  So, I'd like to include a date or timestamp in 
>> that "find" call (at this point, i'd be able to query the db to grab the 
>> correct revision of said entity).  I can't quite figure out how to do 
>> this... Is there a way that I can create a new service call that will still 
>> do that *magic* translation of the EntityProxyID into the actual 
>> database Id?  That way, I can still include that extra timestamp.
>>
>
> If you can, replace EntityProxyId with the ID of the entity (Long or 
> String or whatever), that's the simplest and IMO cleanest way of doing what 
> you want.
>
> The only alternative is to help finish 
> http://code.google.com/p/google-web-toolkit/issues/detail?id=5525 by 
> providing a patch (looks like the only missing part is support in the GWT 
> generator)
>

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



Re: Gwt with Phonegap

2012-06-21 Thread Rob
Hi,

Take a look at:

-> http://code.google.com/p/mgwt/

-> http://code.google.com/p/gwt-phonegap/

Cheers
Rob

Kiahu.com

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



Using EntityProxyId in a service call

2012-06-20 Thread Rob Whiteside
I am using RequestFactory to fetch data from the server and have came 
across a situation that I can't find an answer to:

On the client I have an EntityProxyId for a proxy that I want to fetch. 
 Normally, I'd just do a "find" and off it goes to the server.  Then, my 
Locator's "find" gets called, but now this EntityProxyId is actually the ID 
that I can use to grab it from the database.

But, in this particular case, I'm interested in finding a particular 
revision of that entity.  So, I'd like to include a date or timestamp in 
that "find" call (at this point, i'd be able to query the db to grab the 
correct revision of said entity).  I can't quite figure out how to do 
this... Is there a way that I can create a new service call that will still 
do that *magic* translation of the EntityProxyID into the actual database 
Id?  That way, I can still include that extra timestamp.

Thanks!
--Rob

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



Re: GWT Hibernate integration EROR : Exception while dispatching incoming RPC call

2012-06-20 Thread Rob Whiteside
Looks like a classpath problem.  I don't think you have all your hibernate 
jars in place.  Do you have a slf4j-api in your WEB-INF/lib?

On Wednesday, June 13, 2012 12:17:17 AM UTC-7, Rahul Gamit wrote:
>
>
> Hello i have followed 
> https://developers.google.com/web-toolkit/articles/using_gwt_with_hibernatetutorial
>  to integrate gwt and hibernate.
> I have used DTO approach for integration, but whenever i am running the 
> application i am getting the following error.
>
> *Exception while dispatching incoming RPC call*
>
> Here is the entire stack trace,
>
> [WARN] Server class 'org.hibernate.Session' could not be found in the web 
> app, but was found on the system classpath
>[WARN] Adding classpath entry 
> 'file:/D:/Eclipse%20Workspaces/GwtMvpProject/newlib/hibernate3.jar' to the 
> web app classpath for this session
>For additional info see: 
> file:/D:/Development%20Tools/eclipse-jee-indigo-SR2-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205021203-rel-r37/gwt-2.4.0/doc/helpInfo/webAppClassPath.html
> [WARN] Server class 'org.dom4j.DocumentException' could not be found in 
> the web app, but was found on the system classpath
>[WARN] Adding classpath entry 
> 'file:/D:/Eclipse%20Workspaces/GwtMvpProject/newlib/dom4j-1.6.1.jar' to the 
> web app classpath for this session
>For additional info see: 
> file:/D:/Development%20Tools/eclipse-jee-indigo-SR2-win32-x86_64/eclipse/plugins/com.google.gwt.eclipse.sdkbundle_2.4.0.v201205021203-rel-r37/gwt-2.4.0/doc/helpInfo/webAppClassPath.html
> Initial SessionFactory creation failed.java.lang.NoClassDefFoundError: 
> org/slf4j/LoggerFactory
> Starting Jetty on port 
>[WARN] Exception while dispatching incoming RPC call
> com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public 
> abstract void 
> com.google.employee.client.EmployeeService.addContact(com.google.employee.client.DTO.ContactDTO)'
>  
> threw an unexpected exception: java.lang.ExceptionInInitializerError
> at 
> com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
> at 
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
> at 
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
> at 
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
> at 
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
> 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)
> Caused by: java.lang.ExceptionInInitializerError
> at 
> com.google.employee.util.HibernateUtil.(HibernateUtil.java:17)
> at 
> com.google.employee.server.EmployeeServiceImpl.addContact(EmployeeServiceImpl.java:59)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at 
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
> ... 22 more
> Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
> at org.hibernate.cfg.Configuration.(Configuration.java:151)
> at 
> com.google.employee.util.HibernateUtil.(HibernateUtil.java:13)
> ... 28 more
> Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
> at java.net.URLClassLoader$1.run(Unknown 

Re: Documents on GWT

2012-06-20 Thread Rob
Hi,

This post may help:

-> http://uptick.com.au/content/working-gwt-jpa-hibernate-and-hsqldb

also:

-> http://www.datanucleus.org/products/datanucleus/guides/jpa/tutorial.html

Cheers
Rob

Kiahu.com

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



Re: GWT Hibernate integration EROR : Exception while dispatching incoming RPC call

2012-06-20 Thread Rob
Hi,

This post make help:

http://uptick.com.au/content/working-gwt-jpa-hibernate-and-hsqldb

Cheers
Rob

Kiahu.com

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



Re: GWT, SmartGWT, Google Visualization Help

2012-06-20 Thread Rob
Hi,

Browse the gwt-cx source: http://code.google.com/p/gwt-cx/ it has several 
wrappers and examples.

also:

-> http://uptick.com.au/content/smartgwt-and-fusioncharts

and take a look at gwt-highcharts:

-> http://www.moxiegroup.com/moxieapps/gwt-highcharts/

Cheers
Rob

>
>

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



Re: Problem installign gwt in eclipse

2012-06-20 Thread Rob
Hi,

Draft post:

->

In this post, we're going to take a look at how we can work with GWT and 
Maven when using Eclipse's Integrated Development Environment (IDE).

So we'll need to:

   1. Install the Google Plugin for Eclipse
   2. Install the Maven Integration for Eclipse plugin
   3. Install the Maven Integration for WTP plugin

Prerequisites

You will need a Java 
SDK<http://www.oracle.com/technetwork/java/javase/downloads/index.html>(version 
1.7 or later), the Eclipse 
IDE for Java EE Developers <http://www.eclipse.org/downloads/> (Indigo 
version 3.7.2 or later) and Maven 
<http://maven.apache.org/download.html>(version 3.0.4 or later).

I started with a fresh install of Eclipse and followed these 
recommendations<http://stackoverflow.com/questions/142357/what-are-the-best-jvm-settings-for-eclipse>when
 updating "eclipse.ini".

You should also disable any unnecessary start-up actions (e.g. Windows -> 
Preferences, type “startup”, select “Startup and Shutdown”, and then 
deselect the options you don’t need) and validations (e.g. Windows -> 
Preferences -> Validation, click “Disable All”, and then select only the 
options you need). You might also want to consider setting up a ram 
disk<http://www.beyondlinux.com/2011/06/25/speed-up-your-eclipse-as-a-super-fast-ide/>
.

And don't forget to add the Java SDK, Eclipse, your workspace and any other 
related folders to the white list in your anti-virus software.

*Note: *If you run into any issues when checking for updates or installing 
new software then you might need to disable your anti-virus 
software<http://stackoverflow.com/questions/8367856/eclipse-downloading-content-jar-times-out-while-installing-plugins>(e.g.
 AVG's Link Scanner, Identity Protection and Resident Shield).
1. Install the Google Plugin for Eclipse

The Google Plugin for Eclipse (GPE) makes it easy to import Maven projects 
that use GWT and App Engine. To get started, we first need to install GPE 
and then some additional plugins.

In Eclipse choose "Help -> Install New Software..." and paste the update 
site URL *http://dl.google.com/eclipse/plugin/3.7* into the field named 
"Work with:" then press the Enter key.

Pressing Enter should cause Eclipse to update the list of available plugins:

[image: Google Plugin for Eclipse]

Select the Google Plugin for Eclipse 3.7 (and optionally the Google Web 
Toolkit SDK and the Google App Engine SDK) click Next and then follow the 
prompts. When the download has finished and the installation is complete 
make sure you restart Eclipse.

*Note:* As an alternative to installing from the update site, you can 
install the Google Plugin for Eclipse by downloading and installing an 
archive of the update 
site<https://developers.google.com/eclipse/docs/install-from-zip>
.
2. Install the Maven Integration for Eclipse plugin

In Eclipse choose "Help -> Install New Software..." and paste the update 
site URL *http://download.eclipse.org/technology/m2e/milestones/1.1* into 
the field named "Work with:" then press the Enter key.

Pressing Enter should cause Eclipse to update the list of available plugins:

[image: Maven Integration for Eclipse]

Select the Maven Integration for Eclipse plugin then click Next and follow 
the prompts. When the download has finished and the installation is 
complete make sure you restart Eclipse.

*Note:* If like me you run more than one version of Maven (e.g. Maven 2 and 
Maven 3) then you need to check your environment and make sure you aren't 
referencing more than one 
installation<http://askubuntu.com/questions/41017/maven-exits-after-trying-to-run-it>
.
3. Install the Maven Integration for WTP plugin

In Eclipse choose "Help -> Install New Software..." and paste the update 
site URL *http://download.jboss.org/jbosstools/updates/m2eclipse-wtp* into 
the field named "Work with:" then press the Enter key.

Pressing Enter should cause Eclipse to update the list of available plugins:

[image: Maven Integration for WTP]

Select the Maven Integration for WTP (Web Tools Platform) plugin then click 
Next and follow the prompts. When the download has finished and the 
installation is complete make sure you restart Eclipse.
What's Next

If you have successfully installed the Google Plugin for Eclipse (GPE) and 
the additional plugins then you're ready to generate a skeleton GWT Maven 
project<http://kiahu.com/tutorial/generate-a-skeleton-project-using-gwt-and-maven/>
.
->

Cheers
Rob

kiahu.com

On Friday, June 15, 2012 8:09:05 PM UTC+10, PhiLho wrote:
>
> On 14/06/2012 02:40, Jeff Silverman wrote: 
> > On Friday, June 8, 2012 4:56:20 AM UTC-7, Ed wrote: 
> > 
> > If your using AVG turn off link checker. 
> > 
> > 
> > Ed, 
> > 
> > I am something of a Newbie to Eclipse. What is AVG 

Re: Graph Drawing in GWT

2012-06-10 Thread Rob
Hi,

Perhaps:

-> http://www.jgraph.com/jgraph.html
-> http://www.yworks.com/en/products_yfilesajax_about.html

Cheers
Rob

On Thursday, June 7, 2012 2:32:35 AM UTC+10, Bharath Kumar wrote:
>
> Hi,
>
> I am new to GWT. I need to develop an application which displays some 
> incoming orders as shown in attached figure. I am not actually interested 
> in displaying those numbers but those orders should be displayed as shown 
> in figure. Can someone help in pointing out any APIs which can be used for 
> drawing figures like this?
>
> Regards.
>

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



Re: MVP Framework

2012-06-10 Thread Rob

Hi,

There are are couple of MVP implementations for GWT:

-> gwt_presenter 
(http://code.google.com/p/gwt-platform/wiki/ComparisonWithGwtPresenter)
-> GWT 2.1 MVP (http://tbroyer.posterous.com/gwt-21-places and 
http://code.google.com/p/gwt-platform/wiki/ComparisonWithGwtMVP)
-> GWTP (http://code.google.com/p/gwt-platform/)

Some tutorial style posts:

-> http://uptick.com.au/content/getting-started-gwt-platform

Cheers
Rob

On Thursday, May 31, 2012 8:35:40 PM UTC+10, titowinky wrote:
>
> Is there any example here (other than the Contacts tutorial) about the 
> MVP framework with detailed explanation? The contacts tutorial seem to 
> jump ... not a thoroughly explained article in my opinion. There are 
> parts (class/package)of the structure in the contacts tutorial which 
> was not used by my instructor but still worked. Which is possible to 
> remove and which is not?

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



  1   2   3   >