Re: Problem with GWT?

2024-03-30 Thread Colin Alworth
There really isn't enough information here to guess what is happen - what 
else could have changed, like server version or configuration, any errors 
in your browser dev tools console?

On Tuesday, March 26, 2024 at 2:57:37 PM UTC-5 germ...@gmail.com wrote:

> When I access the web page, it remains blank. I tried different browsers, 
> even on different computers, and they all showed the same problem. I am 
> using the gwt-2.8.2 SDK Until a few days ago, was it working correctly? 
> The curious thing is that the website works locally, that is, it is 
> normally displayed in the browser, but when the project is uploaded it is 
> not displayed. 
> Please I need help on what can happen. Thank you so much
>

-- 
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/93114622-43f1-478c-96a2-15208b8c91f6n%40googlegroups.com.


Re: Problem compiling GWT code with Java9

2018-01-04 Thread James Nelson
If you aren't using java 9 modules, the latest release will work.  It does 
this by reading the classpath from System.getProperty("java.class.path"), 
so if you are using standard tools for creating classpath, everything 
should work fine.  If you are doing anything non-standard for assigning 
classpaths, or if you are using java 9 modules (i.e. you supply a 
modulepath instead of classpath), this will very likely not work for you.

Per my previous comments, my colleagues (Colin Alworth and Justin Hickman) 
and I did start a GWT-based services company, vertispan.com.  If you want 
to chat, you can send an email to supp...@vertispan.com or come chat 
in https://gitter.im/gwtproject/gwt  We generally help anyone for free in 
the public chat room, since it helps everyone to learn about fixes, but for 
anything requiring dedicated engineering effort, we prefer to do a support 
contract.

While I cannot say what the team at Google has in store for java 9 in gwt 
2, I do have a prototype fix for java 9 modules on an old branch, so if you 
do run into trouble, feel free to post here, but you'll likely get a much 
faster response in gitter.  I have the jars pushed to a public-facing 
artifactory, and can give out coordinates if you have more exotic needs 
(and are willing to use coarse workarounds while a better solution is 
developed).  My fix resorts to reflection to access new java 9 classloader 
types, needs a bunch of ugly flags to open modules for reading by 
classloaders, and even had to unpack all of gwt-user and gwt-dev to avoid 
overloaded packages (no longer legal to have the same package in more than 
one jar in java 9).

Getting a prototype "this can work" was pretty easy, but getting it fully 
cleaned up with necessary modularization / refactoring is a potentially 
large chunk of work that could affect many files.  

So, I hope the "java.class.path" workaround works for you.  If it doesn't, 
come see us in gitter, or post back here (if you are ok waiting a few days 
for a response).

-- 
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: Problem compiling GWT code with Java9

2018-01-02 Thread Dave Bradlee
FYI. Google released a GWT update in October 
(http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_2) that 
supposed includes fixes to allow it to work with Java9. We'll be trying 
that soon.

On Thursday, September 21, 2017 at 12:21:19 AM UTC-7, Thomas Broyer wrote:
>
> Fwiw, I confirm that HEAD-SNAPSHOT works with Java 9: 
> https://travis-ci.org/tbroyer/gwt-maven-plugin/jobs/277854932
>
> On Wednesday, September 20, 2017 at 10:06:51 AM UTC+2, Thomas Broyer wrote:
>>
>> There have been some changes [1,2] to make it (at least partially) work 
>> with a Java 9 VM; you can try HEAD-SNAPSHOT (from 
>> https://oss.sonatype.org/content/repositories/google-snapshots/) until 
>> we release 2.8.2 with the changes.
>>
>> [1] 
>> https://github.com/gwtproject/gwt/commit/87f27659af55d7d549521405ef10889e8dfe3f3a
>> [2] 
>> https://github.com/gwtproject/gwt/commit/5b7560c4bb6376e997981387e4f2feee1816e1dc
>>
>> On Wednesday, September 20, 2017 at 9:49:20 AM UTC+2, Pratik Parikh wrote:
>>>
>>> does anyone have an update on this sissu?  I am running into the same 
>>> problem, so an update would help.
>>>
>>> On Tuesday, June 13, 2017 at 12:08:29 PM UTC-4, James Nelson wrote:

 Hi.

 I am currently very busy this week, but can try to schedule a push to 
 maven central this weekend (I have other people waiting on it to use 
 various other tools I dabble in as well).

 Please remind me if I don't post links back here by next Monday.

 Worst case scenario, I can just upload jars to github and push a gist 
 of the pom I used, with some instructions on how to set the system 
 properties to make it work.

 I used the IDE to handle vm args, as standard maven plugins are less 
 amenable to hacking / debugging (though I'm sure it must be possible, I 
 did 
 not have enough free time to get that far on it).

 I'll probably update to latest java 9 spec, since the module system has 
 undergone another iteration since I tried these hacks.

 Please keep in mind, however, that my fork has diverged from mainline 
 for quite a while, and does not undergo the same rigorous testing that you 
 might expect.
 In particular, if you start using any of the other features I've added 
 (reflection, arbitrary magic method injection), it can break incremental 
 recompilations.
 It's a known issue I'm avoiding looking at, since most of the 2.X stack 
 is going to go away, and I have to migrate all my magic into 
 apt-generators 
 to run as a pre-gwtc stage.

 While I might be able to help you get something that works as a proof 
 of concept, I would urge you to hold off on using it in production, as I 
 am 
 not (yet) ready to offer fulltime support.
 A couple colleagues and I are playing with the idea of offering 
 fulltime support and maintenance of 2.X around mid-September (barring a 
 funding miracle for our current money-source).

 So, please take this caveats to heart; I can probably get you up and 
 compiling, but this should all be viewed as experimental and 
 not-production 
 ready for a while yet.

>>>

-- 
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: Problem compiling GWT code with Java9

2017-09-21 Thread Thomas Broyer
Fwiw, I confirm that HEAD-SNAPSHOT works with Java 
9: https://travis-ci.org/tbroyer/gwt-maven-plugin/jobs/277854932

On Wednesday, September 20, 2017 at 10:06:51 AM UTC+2, Thomas Broyer wrote:
>
> There have been some changes [1,2] to make it (at least partially) work 
> with a Java 9 VM; you can try HEAD-SNAPSHOT (from 
> https://oss.sonatype.org/content/repositories/google-snapshots/) until we 
> release 2.8.2 with the changes.
>
> [1] 
> https://github.com/gwtproject/gwt/commit/87f27659af55d7d549521405ef10889e8dfe3f3a
> [2] 
> https://github.com/gwtproject/gwt/commit/5b7560c4bb6376e997981387e4f2feee1816e1dc
>
> On Wednesday, September 20, 2017 at 9:49:20 AM UTC+2, Pratik Parikh wrote:
>>
>> does anyone have an update on this sissu?  I am running into the same 
>> problem, so an update would help.
>>
>> On Tuesday, June 13, 2017 at 12:08:29 PM UTC-4, James Nelson wrote:
>>>
>>> Hi.
>>>
>>> I am currently very busy this week, but can try to schedule a push to 
>>> maven central this weekend (I have other people waiting on it to use 
>>> various other tools I dabble in as well).
>>>
>>> Please remind me if I don't post links back here by next Monday.
>>>
>>> Worst case scenario, I can just upload jars to github and push a gist of 
>>> the pom I used, with some instructions on how to set the system properties 
>>> to make it work.
>>>
>>> I used the IDE to handle vm args, as standard maven plugins are less 
>>> amenable to hacking / debugging (though I'm sure it must be possible, I did 
>>> not have enough free time to get that far on it).
>>>
>>> I'll probably update to latest java 9 spec, since the module system has 
>>> undergone another iteration since I tried these hacks.
>>>
>>> Please keep in mind, however, that my fork has diverged from mainline 
>>> for quite a while, and does not undergo the same rigorous testing that you 
>>> might expect.
>>> In particular, if you start using any of the other features I've added 
>>> (reflection, arbitrary magic method injection), it can break incremental 
>>> recompilations.
>>> It's a known issue I'm avoiding looking at, since most of the 2.X stack 
>>> is going to go away, and I have to migrate all my magic into apt-generators 
>>> to run as a pre-gwtc stage.
>>>
>>> While I might be able to help you get something that works as a proof of 
>>> concept, I would urge you to hold off on using it in production, as I am 
>>> not (yet) ready to offer fulltime support.
>>> A couple colleagues and I are playing with the idea of offering fulltime 
>>> support and maintenance of 2.X around mid-September (barring a funding 
>>> miracle for our current money-source).
>>>
>>> So, please take this caveats to heart; I can probably get you up and 
>>> compiling, but this should all be viewed as experimental and not-production 
>>> ready for a while yet.
>>>
>>

-- 
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: Problem compiling GWT code with Java9

2017-09-20 Thread Pratik Parikh
Thank you. 



On Wednesday, September 20, 2017 at 4:06:51 AM UTC-4, Thomas Broyer wrote:
>
> There have been some changes [1,2] to make it (at least partially) work 
> with a Java 9 VM; you can try HEAD-SNAPSHOT (from 
> https://oss.sonatype.org/content/repositories/google-snapshots/) until we 
> release 2.8.2 with the changes.
>
> [1] 
> https://github.com/gwtproject/gwt/commit/87f27659af55d7d549521405ef10889e8dfe3f3a
> [2] 
> https://github.com/gwtproject/gwt/commit/5b7560c4bb6376e997981387e4f2feee1816e1dc
>
> On Wednesday, September 20, 2017 at 9:49:20 AM UTC+2, Pratik Parikh wrote:
>>
>> does anyone have an update on this sissu?  I am running into the same 
>> problem, so an update would help.
>>
>> On Tuesday, June 13, 2017 at 12:08:29 PM UTC-4, James Nelson wrote:
>>>
>>> Hi.
>>>
>>> I am currently very busy this week, but can try to schedule a push to 
>>> maven central this weekend (I have other people waiting on it to use 
>>> various other tools I dabble in as well).
>>>
>>> Please remind me if I don't post links back here by next Monday.
>>>
>>> Worst case scenario, I can just upload jars to github and push a gist of 
>>> the pom I used, with some instructions on how to set the system properties 
>>> to make it work.
>>>
>>> I used the IDE to handle vm args, as standard maven plugins are less 
>>> amenable to hacking / debugging (though I'm sure it must be possible, I did 
>>> not have enough free time to get that far on it).
>>>
>>> I'll probably update to latest java 9 spec, since the module system has 
>>> undergone another iteration since I tried these hacks.
>>>
>>> Please keep in mind, however, that my fork has diverged from mainline 
>>> for quite a while, and does not undergo the same rigorous testing that you 
>>> might expect.
>>> In particular, if you start using any of the other features I've added 
>>> (reflection, arbitrary magic method injection), it can break incremental 
>>> recompilations.
>>> It's a known issue I'm avoiding looking at, since most of the 2.X stack 
>>> is going to go away, and I have to migrate all my magic into apt-generators 
>>> to run as a pre-gwtc stage.
>>>
>>> While I might be able to help you get something that works as a proof of 
>>> concept, I would urge you to hold off on using it in production, as I am 
>>> not (yet) ready to offer fulltime support.
>>> A couple colleagues and I are playing with the idea of offering fulltime 
>>> support and maintenance of 2.X around mid-September (barring a funding 
>>> miracle for our current money-source).
>>>
>>> So, please take this caveats to heart; I can probably get you up and 
>>> compiling, but this should all be viewed as experimental and not-production 
>>> ready for a while yet.
>>>
>>

-- 
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: Problem compiling GWT code with Java9

2017-09-20 Thread Thomas Broyer
There have been some changes [1,2] to make it (at least partially) work 
with a Java 9 VM; you can try HEAD-SNAPSHOT 
(from https://oss.sonatype.org/content/repositories/google-snapshots/) 
until we release 2.8.2 with the changes.

[1] 
https://github.com/gwtproject/gwt/commit/87f27659af55d7d549521405ef10889e8dfe3f3a
[2] 
https://github.com/gwtproject/gwt/commit/5b7560c4bb6376e997981387e4f2feee1816e1dc

On Wednesday, September 20, 2017 at 9:49:20 AM UTC+2, Pratik Parikh wrote:
>
> does anyone have an update on this sissu?  I am running into the same 
> problem, so an update would help.
>
> On Tuesday, June 13, 2017 at 12:08:29 PM UTC-4, James Nelson wrote:
>>
>> Hi.
>>
>> I am currently very busy this week, but can try to schedule a push to 
>> maven central this weekend (I have other people waiting on it to use 
>> various other tools I dabble in as well).
>>
>> Please remind me if I don't post links back here by next Monday.
>>
>> Worst case scenario, I can just upload jars to github and push a gist of 
>> the pom I used, with some instructions on how to set the system properties 
>> to make it work.
>>
>> I used the IDE to handle vm args, as standard maven plugins are less 
>> amenable to hacking / debugging (though I'm sure it must be possible, I did 
>> not have enough free time to get that far on it).
>>
>> I'll probably update to latest java 9 spec, since the module system has 
>> undergone another iteration since I tried these hacks.
>>
>> Please keep in mind, however, that my fork has diverged from mainline for 
>> quite a while, and does not undergo the same rigorous testing that you 
>> might expect.
>> In particular, if you start using any of the other features I've added 
>> (reflection, arbitrary magic method injection), it can break incremental 
>> recompilations.
>> It's a known issue I'm avoiding looking at, since most of the 2.X stack 
>> is going to go away, and I have to migrate all my magic into apt-generators 
>> to run as a pre-gwtc stage.
>>
>> While I might be able to help you get something that works as a proof of 
>> concept, I would urge you to hold off on using it in production, as I am 
>> not (yet) ready to offer fulltime support.
>> A couple colleagues and I are playing with the idea of offering fulltime 
>> support and maintenance of 2.X around mid-September (barring a funding 
>> miracle for our current money-source).
>>
>> So, please take this caveats to heart; I can probably get you up and 
>> compiling, but this should all be viewed as experimental and not-production 
>> ready for a while yet.
>>
>

-- 
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: Problem compiling GWT code with Java9

2017-09-20 Thread Pratik Parikh
does anyone have an update on this sissu?  I am running into the same 
problem, so an update would help.

On Tuesday, June 13, 2017 at 12:08:29 PM UTC-4, James Nelson wrote:
>
> Hi.
>
> I am currently very busy this week, but can try to schedule a push to 
> maven central this weekend (I have other people waiting on it to use 
> various other tools I dabble in as well).
>
> Please remind me if I don't post links back here by next Monday.
>
> Worst case scenario, I can just upload jars to github and push a gist of 
> the pom I used, with some instructions on how to set the system properties 
> to make it work.
>
> I used the IDE to handle vm args, as standard maven plugins are less 
> amenable to hacking / debugging (though I'm sure it must be possible, I did 
> not have enough free time to get that far on it).
>
> I'll probably update to latest java 9 spec, since the module system has 
> undergone another iteration since I tried these hacks.
>
> Please keep in mind, however, that my fork has diverged from mainline for 
> quite a while, and does not undergo the same rigorous testing that you 
> might expect.
> In particular, if you start using any of the other features I've added 
> (reflection, arbitrary magic method injection), it can break incremental 
> recompilations.
> It's a known issue I'm avoiding looking at, since most of the 2.X stack is 
> going to go away, and I have to migrate all my magic into apt-generators to 
> run as a pre-gwtc stage.
>
> While I might be able to help you get something that works as a proof of 
> concept, I would urge you to hold off on using it in production, as I am 
> not (yet) ready to offer fulltime support.
> A couple colleagues and I are playing with the idea of offering fulltime 
> support and maintenance of 2.X around mid-September (barring a funding 
> miracle for our current money-source).
>
> So, please take this caveats to heart; I can probably get you up and 
> compiling, but this should all be viewed as experimental and not-production 
> ready for a while yet.
>

-- 
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: Problem compiling GWT code with Java9

2017-06-13 Thread James Nelson
Hi.

I am currently very busy this week, but can try to schedule a push to maven 
central this weekend (I have other people waiting on it to use various 
other tools I dabble in as well).

Please remind me if I don't post links back here by next Monday.

Worst case scenario, I can just upload jars to github and push a gist of 
the pom I used, with some instructions on how to set the system properties 
to make it work.

I used the IDE to handle vm args, as standard maven plugins are less 
amenable to hacking / debugging (though I'm sure it must be possible, I did 
not have enough free time to get that far on it).

I'll probably update to latest java 9 spec, since the module system has 
undergone another iteration since I tried these hacks.

Please keep in mind, however, that my fork has diverged from mainline for 
quite a while, and does not undergo the same rigorous testing that you 
might expect.
In particular, if you start using any of the other features I've added 
(reflection, arbitrary magic method injection), it can break incremental 
recompilations.
It's a known issue I'm avoiding looking at, since most of the 2.X stack is 
going to go away, and I have to migrate all my magic into apt-generators to 
run as a pre-gwtc stage.

While I might be able to help you get something that works as a proof of 
concept, I would urge you to hold off on using it in production, as I am 
not (yet) ready to offer fulltime support.
A couple colleagues and I are playing with the idea of offering fulltime 
support and maintenance of 2.X around mid-September (barring a funding 
miracle for our current money-source).

So, please take this caveats to heart; I can probably get you up and 
compiling, but this should all be viewed as experimental and not-production 
ready for a while yet.

-- 
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: Problem compiling GWT code with Java9

2017-06-08 Thread shital patil
can you please share your library and i can try with that.

On Thursday, June 8, 2017 at 1:18:56 AM UTC+5:30, James Nelson wrote:
>
> Hi.
>
> Per this thread:
> https://plus.google.com/+JamesNelsonX/posts/gBfpBDnwV9V
>
> I have actually dove into Java 9 support, and cleared all the roadblocks 
> once (before the JCP pushback force the module system to get more last 
> minute changes).
>
> The main issue was not language support (easy upgrade from eclipse jdt), 
> or a tiny change for try-with-resources (allows effectively final variable 
> references, instead of only local variable declarations)...
> The biggest problem was the changes to the classloading system.
>
> Specifically, they no longer use URLClassLoader for system classloaders, 
> meaning that any attempts to "rip out the classpath" will not work any 
> longer.
>
> I managed to hack together a working compile where I check if java 9 
> classloaders are in use, and if so, use reflection (with requires 
> --add-opens for using reflection on the classloader, plus opening the 
> source module so that the gwt code can see external resources), to get 
> access to those URLs.
>
> What I did is only one way to fix; we could also add classpath 
> declarations to gwt (I use an annotation system that can reference maven 
> modules for my own compiles, so I could actually get classpath without 
> looking inside classloader).  There might also be less terrible hacks we 
> can use once the module APIs are cemented in place.
>
>
>
> If you really want to play with this RFN, I can push a build of my gwt 
> fork to maven central for you to try out.  I don't really have a snapshot 
> repo, or time to respond to bugfixes atm (though I am considering opening a 
> gwt support shop this fall, and will "do it right" at that time).  If you 
> are comfortable doing local installs to maven just to assess possibilities 
> (or if you maintain your own nexus repo), I could just send you jars 
> directly (though, that is generally a bit sketchy, imho).
>
> Let me know; I won't have time to do a release this weekend as it is my 
> wife's birthday, but I can fit it in if you'd like (and the comments in the 
> G+ post aren't helpful enough).
>

-- 
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: Problem compiling GWT code with Java9

2017-06-07 Thread James Nelson
Also, the reason gwt.xml files aren't loading sanely has to do with how 
resources are handled in java 9. 

You are going to have to either declare your source modules (with the 
gwt.xml) as `open` (no documentation for this, I found it trolling JCP 
forums),
or you can open your module to your gwt module (I built this with an 
unspeakable hack for exploration purposes) with --add-opens VM args.


If you dig into classloaders, you will discover that they will allow access 
to .class files from non-opened modules, but all other resources are 
effectively hidden unless explicitly opened.

-- 
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: Problem compiling GWT code with Java9

2017-06-07 Thread James Nelson
Hi.

Per this thread:
https://plus.google.com/+JamesNelsonX/posts/gBfpBDnwV9V

I have actually dove into Java 9 support, and cleared all the roadblocks 
once (before the JCP pushback force the module system to get more last 
minute changes).

The main issue was not language support (easy upgrade from eclipse jdt), or 
a tiny change for try-with-resources (allows effectively final variable 
references, instead of only local variable declarations)...
The biggest problem was the changes to the classloading system.

Specifically, they no longer use URLClassLoader for system classloaders, 
meaning that any attempts to "rip out the classpath" will not work any 
longer.

I managed to hack together a working compile where I check if java 9 
classloaders are in use, and if so, use reflection (with requires 
--add-opens for using reflection on the classloader, plus opening the 
source module so that the gwt code can see external resources), to get 
access to those URLs.

What I did is only one way to fix; we could also add classpath declarations 
to gwt (I use an annotation system that can reference maven modules for my 
own compiles, so I could actually get classpath without looking inside 
classloader).  There might also be less terrible hacks we can use once the 
module APIs are cemented in place.



If you really want to play with this RFN, I can push a build of my gwt fork 
to maven central for you to try out.  I don't really have a snapshot repo, 
or time to respond to bugfixes atm (though I am considering opening a gwt 
support shop this fall, and will "do it right" at that time).  If you are 
comfortable doing local installs to maven just to assess possibilities (or 
if you maintain your own nexus repo), I could just send you jars directly 
(though, that is generally a bit sketchy, imho).

Let me know; I won't have time to do a release this weekend as it is my 
wife's birthday, but I can fit it in if you'd like (and the comments in the 
G+ post aren't helpful enough).

-- 
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: Problem compiling GWT code with Java9

2017-06-07 Thread shital patil
Did you find any solution to this. I am facing same issue

I tried to pass vm arg --add-modules=java.se.ee but still it doesnot work.

On Wednesday, February 15, 2017 at 2:47:30 PM UTC+5:30, Dave Bradlee wrote:
>
> At Labkey.com we're trying to compile all of our code, which includes GWT 
> code, with Java9 (due for release in the summer)getting a head start. 
> We have not been able to compile GWT code, which doesn't use any new Java 
> features. We're getting the error
>  [java] Compiling module org.labkey.experiment.property.Designer
>  [java][ERROR] Unable to find type 'java.lang.Object'
>  [java]   [ERROR] Hint: Check that your module inherits 
> 'com.google.gwt.core.Core' either directly or indirectly (most often by 
> inheriting module 'com.google.gwt.user.User')
>
> We've had an older version of GWT but have tried with the latest 2.8 as 
> well and get the same thing. I've added -logLevel=DEBUG to get more info 
> and the log says we're inheriting all of the appropriate packages, 
> including com.google.gwt.core.Core and com.google.gwt.emul.Emulation, which 
> of course is where java.lang.Object lives. It seems like something is going 
> wrong with gwt-unitCache because the log looks like this:
> ..lots of inherits before this..
>  [java]   Module location: 
> file:/Users/davebradlee/trunk/server/internal/gwtsrc/org/labkey/api/gwt/Internal.gwt.xml
>  [java]   Loading inherited module 'com.extjs.gxt.ui.GXT'
>  [java]  Module location: 
> jar:file:/Users/davebradlee/trunk/external/lib/build/gxt.jar!/com/extjs/gxt/ui/GXT.gwt.xml
>  [java]  Loading inherited module 'com.google.gwt.json.JSON'
>  [java] Module location: 
> jar:file:/Users/davebradlee/trunk/external/lib/build/gwt-user.jar!/com/google/gwt/json/JSON.gwt.xml
>  [java]   Loading inherited module 
> 'com.allen_sauer.gwt.dnd.gwt-dnd'
>  [java]  Module location: 
> jar:file:/Users/davebradlee/trunk/external/lib/server/gwt-dnd-3.2.0.jar!/com/allen_sauer/gwt/dnd/gwt-dnd.gwt.xml
>  [java] Public resources found in...
>  [java] Translatable source found in...
>  [java] Persistent unit cache dir set to: 
> /Users/davebradlee/trunk/build/modules/experiment/explodedModule/gwt-unitCache
>  [java] Opening cache file: 
> /Users/davebradlee/trunk/build/modules/experiment/explodedModule/gwt-unitCache/gwt-unitCache-6a094daf5d20bb65adf2d207cc48308bde849f64-015A3E41072B
>  [java] Looking for previously cached Compilation Units in 
> /Users/davebradlee/trunk/build/modules/experiment/explodedModule/gwt-unitCache
>  [java] Compiling module org.labkey.experiment.property.Designer
>  [java]Found 0 cached/archived units.  Used 0 / 0 units from cache.
>  [java]Compiling...
>  [java]   Compilation completed in 0.00 seconds
>  [java]PersistentUnitCache cleanup requested
>  [java]Added 0 units to PersistentUnitCache since last cleanup
>  [java]Skipped PersistentUnitCache because no units were added
>  [java]Removing invalidated units
>  [java]Resolving enclosing classes
>  [java]Tracing compile failure path for type 'java.lang.Object'
>  [java]   Checked 0 dependencies for errors.
>  [java][ERROR] Hint: Check that your module inherits 
> 'com.google.gwt.core.Core' either directly or indirectly (most often by 
> inheriting module 'com.google.gwt.user.User')
>  [java] Closing cache file: 
> /Users/davebradlee/trunk/build/modules/experiment/explodedModule/gwt-unitCache/gwt-unitCache-6a094daf5d20bb65adf2d207cc48308bde849f64-015A3E41072B
>  
> (0 units written)
>  [java] Deleting empty file: 
> /Users/davebradlee/trunk/build/modules/experiment/explodedModule/gwt-unitCache/gwt-unitCache-6a094daf5d20bb65adf2d207cc48308bde849f64-015A3E41072B
>  [java] Shutting down PersistentUnitCache thread
>
> Using Java8 the log looks like this
> ...
>  [java] Persistent unit cache dir set to: 
> /Users/davebradlee/trunk/build/modules/experiment/explodedModule/gwt-unitCache
>  [java] Opening cache file: 
> /Users/davebradlee/trunk/build/modules/experiment/explodedModule/gwt-unitCache/gwt-unitCache-6a094daf5d20bb65adf2d207cc48308bde849f64-015A3E53CB49
>  [java] Looking for previously cached Compilation Units in 
> /Users/davebradlee/trunk/build/modules/experiment/explodedModule/gwt-unitCache
>  [java] Compiling module org.labkey.experiment.property.Designer
>  [java]Found 0 cached/archived units.  Used 0 / 3794 units from 
> cache.
>  [java]Compiling...
>  [java]   60% complete (ETR: 3 seconds)
>  [java]   60% complete (ETR: 3 seconds)
>  [java]   60% complete (ETR: 3 seconds)
>  [java]   60% complete (ETR: 3 seconds)
>  [java]   60% complete (ETR: 3 seconds)
>  [java]   60% complete (ETR: 3 seconds)
>  [java]   60% complete (ETR: 3 seconds)
>  

Re: Problem compiling GWT code with Java9

2017-02-15 Thread Thomas Broyer


On Wednesday, February 15, 2017 at 10:17:30 AM UTC+1, Dave Bradlee wrote:
>
> Anyway, has anyone else tried to compile GWT code with Java9? Or any ideas 
> how we might make the compiler happy?
>
>
I hadn't tried until now, but have the exact same error with 9-ea+152 
(using package oracle-java9-installer from webupd8 on Ubuntu 16.10) on a 
simple hello-world project (that compiles OK with Java 8).

Trying to run GWT's own test suite with Java 9 might possibly help 
understand where the problem comes from.

-- 
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: Problem compiling GWT code with Java9

2017-02-15 Thread Jens
I think it is more a class path / module path issue than a unitCache issue 
(you can always delete the unit cache or don't use it at all by disabling 
it on the command line). I guess GWT Compiler simply does not see 
Core.gwt.xml even though you have inherited it.

-- J.

-- 
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: Problem with GWT 2.8

2016-11-20 Thread Kevin Langille
https://github.com/gwtproject/gwt/issues/9463

-- 
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: Problem with GWT 2.8

2016-11-20 Thread Colin Alworth
At least it is inconsistent with what the JVM would do, and appears to be 
different from what was seen in earlier versions of GWT. Can you file this 
at github.com/gwtproject/gwt/issues?

On Sunday, November 20, 2016 at 5:35:44 PM UTC-6, Kevin Langille wrote:
>
> Thanks for the reply.
>
> Compiling with pretty shows the issue.
>
> if (!(Math.abs(x - y) < 0.0001))
>
> gets turned into
>
> if (Math.abs(x - y) >= 0.0001)
>
> So when Math.abs(x - y) results in NaN the if always results in false.
>
> In my mind this is a mistake because it doesn't accurately represent what 
> is happening in Java. Is it enough to report it here or what should I do 
> now?
>

-- 
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: Problem with GWT 2.8

2016-11-20 Thread Kevin Langille
Thanks for the reply.

Compiling with pretty shows the issue.

if (!(Math.abs(x - y) < 0.0001))

gets turned into

if (Math.abs(x - y) >= 0.0001)

So when Math.abs(x - y) results in NaN the if always results in false.

In my mind this is a mistake because it doesn't accurately represent what 
is happening in Java. Is it enough to report it here or what should I do 
now?

-- 
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: Problem with GWT 2.8

2016-11-20 Thread Jens


> I am testing on Windows 10, Chrome, JDK 1.8.0_111. I also reproduced the 
> issue in Firefox, edge and IE11.
>

Compile your app for production but use -style PRETTY so you can better 
search in the final JS output. Then search the method name containing your 
failing code and compare the generated JS. If it works in SuperDevMode but 
fails at production then it might be an optimization bug in GWT. But that 
is something you can only figure out when looking at the generated JS code.

-- J.

-- 
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: Problem with GWT 2.8

2016-11-19 Thread Kirill Prazdnikov
All cmp operations with NaN returns false.

-- 
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: Problem with GWT 2.8

2016-11-16 Thread Kevin Langille
Additional information

Running superdev mode from Intellij failed to show the error, only once our 
product was compiled is the error visible. I tested using log statements to 
show the values of the expressions.

I am testing on Windows 10, Chrome, JDK 1.8.0_111. I also reproduced the 
issue in Firefox, edge and IE11.

-- 
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: Problem with GWT 2.8

2016-11-16 Thread Kevin Langille
Sorry I should have mentioned. I was unable to see it using superdev mode 
in Intellij. Only once compiled did the error show.

-- 
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: Problem with GWT 2.8

2016-11-16 Thread vitrums
Math.abs(Double.NaN) < 0.0001 = false
!(Math.abs(Double.NaN) < 0.0001) = true
tested with jdk1.8.0_111, IDE Eclipse neon, gwt2.8.0, superdev mode, 
browser Chrome

On Wednesday, November 16, 2016 at 10:13:26 AM UTC+3, Kevin Langille wrote:
>
> Hi everyone,
>
> I have discovered a strange behavior in GWT 2.8. We were experiencing a 
> bug in our code and I have boiled it down to one line in the client side 
> code.
>
> The following line returns false which is expected.
>
> Math.abs(Double.NaN) < 0.0001
>
> But applying not operator to the same line also returns false.
>
> !(Math.abs(Double.NaN) < 0.0001)
>
> We are able to avoid this situation with additional checks but its seems 
> like a bug to me. Is anyone else able to confirm this issue? This was 
> working as expected in 2.7.
>
> Thanks,
> Kevin
>

-- 
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: Problem with GWT 2.8, Ant, and Eclipse

2016-11-02 Thread rjcarr
Seems you can set classloading priority in eclipse so I reordered things 
and now it is fine.  Sorry for the trouble (and the typo on "its"!).

On Wednesday, November 2, 2016 at 11:22:47 AM UTC-7, rjcarr wrote:
>
> I have a really old GWT project that I just tried to compile with gwt 2.8. 
>  The compilation was fine (I use ant), but when I opened up eclipse, and 
> pointed it to the new gwt libraries, I am getting compile errors like this:
>
> org.apache.tools.ant.types.FileSet: Can only iterate over an array or 
> an instance of java.lang.Iterable
>
> Looking at the ant api for the version I have and fileset is definitely 
> iterable.  Then I try removing the and library and I notice it's classes 
> are still available.  It seems gwt-dev.jar is bundling ant, and apparently 
> a really old version where filesets aren't iterable among other old errors.
>
> This is really strange because I never had a problem with gwt 2.7.  Any 
> suggestion on how to fix this other than reverting back to 2.7? 
>

-- 
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: Problem with GWT 2.5.1 + FF 40

2015-10-12 Thread Kearnel Tim
Thanks Andre for your brilliant hack, it mitigate our problems too.

在 2015年10月2日星期五 UTC下午12:46:44,André写道:
>
> Thanks for the quick reply Daniel!
>
> As a short term fix I added
>
> 
>   
>   
> 
>
> to my App.gwt.xml which seems to fix our problems as it doesn't override 
> decodeFragment(). As a long term solution I'll attempt an upgrade to 
> 2.7.0.
>
> Cheers
> André
>
> On Friday, October 2, 2015 at 10:23:08 AM UTC+2, Daniel Kurka wrote:
>>
>> This has been fixed in GWT 2.7.0. We refactored the history 
>> implementation to not special case Firefox in this particular way. Just 
>> updating to GWT 2.7 will fix this issue for you.
>>
>> If that is not possible here is the main patch to make history work:
>> https://gwt-review.googlesource.com/#/c/5356/
>>
>>
>>
>> On Friday, October 2, 2015 at 10:12:10 AM UTC+2, André wrote:
>>>
>>> Hello GWT users!
>>>
>>> We still use GWT 2.5.1 and can't update it quickly.
>>>
>>> Firefox v41 was released last week and came with this seemingly minor 
>>> modification 
>>> 
>>>  
>>> that makes our app unusable. Looks like this isn't compatible with GWT's 
>>> history implementation 
>>> 
>>> .
>>>
>>> Am I on the right track in that this is the root of our problem? Is it 
>>> possible to override the settings in History.gwt.xml 
>>> 
>>>  in 
>>> our own App.gwt.xml (preferrably in a way that it works across all FF 
>>> versions)?
>>>
>>> Thanks a lot in advance!
>>>
>>> André
>>>
>>

-- 
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Problem with GWT 2.5.1 + FF 40

2015-10-02 Thread André
Thanks for the quick reply Daniel!

As a short term fix I added


  
  


to my App.gwt.xml which seems to fix our problems as it doesn't override 
decodeFragment(). As a long term solution I'll attempt an upgrade to 2.7.0.

Cheers
André

On Friday, October 2, 2015 at 10:23:08 AM UTC+2, Daniel Kurka wrote:
>
> This has been fixed in GWT 2.7.0. We refactored the history implementation 
> to not special case Firefox in this particular way. Just updating to GWT 
> 2.7 will fix this issue for you.
>
> If that is not possible here is the main patch to make history work:
> https://gwt-review.googlesource.com/#/c/5356/
>
>
>
> On Friday, October 2, 2015 at 10:12:10 AM UTC+2, André wrote:
>>
>> Hello GWT users!
>>
>> We still use GWT 2.5.1 and can't update it quickly.
>>
>> Firefox v41 was released last week and came with this seemingly minor 
>> modification 
>> 
>>  
>> that makes our app unusable. Looks like this isn't compatible with GWT's 
>> history implementation 
>> 
>> .
>>
>> Am I on the right track in that this is the root of our problem? Is it 
>> possible to override the settings in History.gwt.xml 
>> 
>>  in 
>> our own App.gwt.xml (preferrably in a way that it works across all FF 
>> versions)?
>>
>> Thanks a lot in advance!
>>
>> André
>>
>

-- 
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Problem with GWT 2.5.1 + FF 40

2015-10-02 Thread Daniel Kurka
This has been fixed in GWT 2.7.0. We refactored the history implementation 
to not special case Firefox in this particular way. Just updating to GWT 
2.7 will fix this issue for you.

If that is not possible here is the main patch to make history work:
https://gwt-review.googlesource.com/#/c/5356/



On Friday, October 2, 2015 at 10:12:10 AM UTC+2, André wrote:
>
> Hello GWT users!
>
> We still use GWT 2.5.1 and can't update it quickly.
>
> Firefox v41 was released last week and came with this seemingly minor 
> modification 
> 
>  
> that makes our app unusable. Looks like this isn't compatible with GWT's 
> history implementation 
> 
> .
>
> Am I on the right track in that this is the root of our problem? Is it 
> possible to override the settings in History.gwt.xml 
> 
>  in 
> our own App.gwt.xml (preferrably in a way that it works across all FF 
> versions)?
>
> Thanks a lot in advance!
>
> André
>

-- 
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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


[gwt-contrib] Re: Problem deploying GWT+Maven+Spring War on tomcat 6

2014-02-12 Thread Thomas Broyer
Please use https://groups.google.com/d/forum/google-web-toolkit or 
stackoverflow.com to ask for help.

On Wednesday, February 12, 2014 3:36:11 PM UTC+1, efsiken wrote:

 Hello,

 I developed a GWT+Spring+Maven application on eclipse helios and all works 
 well on eclipse. I clean, compile and install the application without any 
 problem. But when deploy the generated war file on tomcat 6, deployment is 
 successful, but the application doesn't start.

 Here is the error I get on the tomcat application manager:

  ECHEC - L'application pour le chemin de contexte /test1 n'a pas pu être 
 démarrée

 and here is the tomcat6-stderr.log file:


 2014-02-12 11:35:19 Commons Daemon procrun stderr initialized
 12 févr. 2014 11:35:20 org.apache.catalina.core.AprLifecycleListener init
 INFO: Loaded APR based Apache Tomcat Native library 1.1.29 using APR 
 version 1.4.8.
 12 févr. 2014 11:35:20 org.apache.catalina.core.AprLifecycleListener init
 INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters 
 [false], random [true].
 12 févr. 2014 11:35:22 org.apache.catalina.core.AprLifecycleListener 
 initializeSSL
 INFO: OpenSSL successfully initialized with version OpenSSL 1.0.1e 11 Feb 
 2013
 12 févr. 2014 11:35:27 org.apache.coyote.http11.Http11AprProtocol init
 INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
 12 févr. 2014 11:35:27 org.apache.coyote.ajp.AjpAprProtocol init
 INFO: Initializing Coyote AJP/1.3 on ajp-8009
 12 févr. 2014 11:35:27 org.apache.catalina.startup.Catalina load
 INFO: Initialization processed in 7241 ms
 12 févr. 2014 11:35:29 org.apache.catalina.core.StandardService start
 INFO: Démarrage du service Catalina
 12 févr. 2014 11:35:29 org.apache.catalina.core.StandardEngine start
 INFO: Starting Servlet Engine: Apache Tomcat/6.0.39
 12 févr. 2014 11:35:29 org.apache.catalina.startup.HostConfig 
 deployDescriptor
 INFO: Déploiement du descripteur de configuration host-manager.xml
 12 févr. 2014 11:35:31 org.apache.catalina.startup.HostConfig 
 deployDescriptor
 INFO: Déploiement du descripteur de configuration manager.xml
 12 févr. 2014 11:35:31 org.apache.catalina.startup.HostConfig deployWAR
 INFO: Déploiement de l'archive eskul.war de l'application web
 12 févr. 2014 11:35:32 org.apache.catalina.core.StandardContext start
 GRAVE: Error listenerStart
 12 févr. 2014 11:35:32 org.apache.catalina.core.StandardContext start
 GRAVE: Erreur de démarrage du contexte [/eskul] suite aux erreurs 
 précédentes
 12 févr. 2014 11:35:33 org.apache.catalina.startup.HostConfig deployWAR
 INFO: Déploiement de l'archive gwtspring.war de l'application web
 12 févr. 2014 11:35:33 org.apache.catalina.core.StandardContext start
 GRAVE: Error listenerStart
 12 févr. 2014 11:35:33 org.apache.catalina.core.StandardContext start
 GRAVE: Erreur de démarrage du contexte [/gwtspring] suite aux erreurs 
 précédentes
 12 févr. 2014 11:35:33 org.apache.catalina.startup.HostConfig 
 deployDirectory
 INFO: Déploiement du répertoire docs de l'application web
 12 févr. 2014 11:35:33 org.apache.catalina.startup.HostConfig 
 deployDirectory
 INFO: Déploiement du répertoire examples de l'application web
 12 févr. 2014 11:35:35 org.apache.catalina.startup.HostConfig 
 deployDirectory
 INFO: Déploiement du répertoire gwt de l'application web
 12 févr. 2014 11:35:35 org.apache.catalina.core.StandardContext start
 GRAVE: Error listenerStart
 12 févr. 2014 11:35:35 org.apache.catalina.core.StandardContext start
 GRAVE: Erreur de démarrage du contexte [/gwt] suite aux erreurs précédentes
 12 févr. 2014 11:35:35 org.apache.catalina.startup.HostConfig 
 deployDirectory
 INFO: Déploiement du répertoire OLD de l'application web
 12 févr. 2014 11:35:35 org.apache.catalina.startup.HostConfig 
 deployDirectory
 INFO: Déploiement du répertoire ROOT de l'application web
 12 févr. 2014 11:35:35 org.apache.coyote.http11.Http11AprProtocol start
 INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
 12 févr. 2014 11:35:35 org.apache.coyote.ajp.AjpAprProtocol start
 INFO: Starting Coyote AJP/1.3 on ajp-8009
 12 févr. 2014 11:35:35 org.apache.catalina.startup.Catalina start
 INFO: Server startup in 8253 ms
 12 févr. 2014 11:38:10 org.apache.catalina.startup.HostConfig deployWAR
 INFO: Déploiement de l'archive gwtspring-0.0.1-SNAPSHOT.war de 
 l'application web
 12 févr. 2014 11:38:10 org.apache.catalina.core.StandardContext start
 GRAVE: Error listenerStart
 12 févr. 2014 11:38:10 org.apache.catalina.core.StandardContext start
 GRAVE: Erreur de démarrage du contexte [/gwtspring-0.0.1-SNAPSHOT] suite 
 aux erreurs précédentes
 12 févr. 2014 11:38:33 org.apache.catalina.core.StandardContext start
 GRAVE: Error listenerStart
 12 févr. 2014 11:38:33 org.apache.catalina.core.StandardContext start
 GRAVE: Erreur de démarrage du contexte [/gwtspring-0.0.1-SNAPSHOT] suite 
 aux erreurs précédentes
 12 févr. 2014 11:39:28 org.apache.catalina.startup.HostConfig deployWAR
 INFO: Déploiement de l'archive test1.war de l'application web
 12 févr. 

[gwt-contrib] Re: Problem compiling GWT from source

2013-12-29 Thread mirko bonasorte
Thank you guys! It worked perfectly!

All the best,

Mirko

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


[gwt-contrib] Re: Problem compiling GWT from source

2013-12-23 Thread Thomas Broyer
Hi,

I think ideally you'd build gwt with Ant and then go pick the just-built 
requestfactory-apt.jar for use in Eclipse.

On Monday, December 23, 2013 12:32:02 PM UTC+1, mirko bonasorte wrote:
 Hi all,
 
 
 I have attended GWT.create workshop by Michael Vogt (thanks for your great 
 session!) and I would like to contribute to the GWT project. I have followed 
 the instructions provided by Michael and by the README.txt file, but Eclipse 
 complains about the following:
  BaseFooProxy.java:
  Multiple markers at this line- The type 
 java.util.Mapcom.google.web.bindery.requestfactory.shared.MapKeyProxy,com.google.web.bindery.requestfactory.shared.MapValueProxy
     cannot be used here- Cannot validate this method because the domain 
 mapping for the return type 
 (java.util.Mapcom.google.web.bindery.requestfactory.shared.MapKeyProxy,com.google.web.bindery.requestfactory.shared.MapValueProxy)
  could not  be resolved to a domain type Add 
 @SuppressWarnings(requestfactory) to dismiss. 
  
 
 
 Based on what I can understand, it seems to be a problem related to the 
 Annotation Processor Factory Path configuration. As reported in the 
 instructions provided in the README.txt, I have added 
 GWT_TOOLS/lib/requestfactory/requestfactory-apt-2011-08-18.jar, since it 
 seems to be the most recent one. There was also a 
 GWT-TOOLS/lib/requestfactory/requestfactory-apt.jar. I have tried checking 
 and unchecking it, but the problem persist. I have also tried using 
 requestfactory-apt-2.5.1.jar, without any noticeable results.
 
 
 In addition, I have other compilation errors. For instance, it cannot find 
 the class 'com.google.web.bindery.requestfactory.vm.impl.TypeTokenResolver'.
 
 
 I am sure I am missing something in the instructions, but I can not see it...
 
 
 I am using Eclipse Indigo.
 
 
 Thank you for your help.
 
 
 Mirko
 
 
 P.S. I am sorry to bother you all with such newbie questions.

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


[gwt-contrib] Re: Problem compiling GWT from source

2013-12-23 Thread Michael Prentice
I agree with Thomas. I believe it already defaults to picking up the one 
generated by the ANT build. I did the same thing and ignored that part of 
the instructions since it didn't work well. After that everything built 
well enough (with regards to APT stuff). Looks like another thing in the 
README.txt that needs updating.

On Monday, December 23, 2013 7:34:13 AM UTC-5, Thomas Broyer wrote:

 Hi, 

 I think ideally you'd build gwt with Ant and then go pick the just-built 
 requestfactory-apt.jar for use in Eclipse. 

 On Monday, December 23, 2013 12:32:02 PM UTC+1, mirko bonasorte wrote: 
  Hi all, 
  
  
  I have attended GWT.create workshop by Michael Vogt (thanks for your 
 great session!) and I would like to contribute to the GWT project. I have 
 followed the instructions provided by Michael and by the README.txt file, 
 but Eclipse complains about the following: 
   BaseFooProxy.java: 
   Multiple markers at this line- The type 
 java.util.Mapcom.google.web.bindery.requestfactory.shared.MapKeyProxy,com.google.web.bindery.requestfactory.shared.MapValueProxy
   
 cannot be used here- Cannot validate this method because the domain 
 mapping for the return type  
 (java.util.Mapcom.google.web.bindery.requestfactory.shared.MapKeyProxy,com.google.web.bindery.requestfactory.shared.MapValueProxy)
  
 could not  be resolved to a domain type Add 
 @SuppressWarnings(requestfactory) to dismiss.  

  
  
  Based on what I can understand, it seems to be a problem related to the 
 Annotation Processor Factory Path configuration. As reported in the 
 instructions provided in the README.txt, I have added 
 GWT_TOOLS/lib/requestfactory/requestfactory-apt-2011-08-18.jar, since it 
 seems to be the most recent one. There was also a 
 GWT-TOOLS/lib/requestfactory/requestfactory-apt.jar. I have tried checking 
 and unchecking it, but the problem persist. I have also tried using 
 requestfactory-apt-2.5.1.jar, without any noticeable results. 
  
  
  In addition, I have other compilation errors. For instance, it cannot 
 find the class 
 'com.google.web.bindery.requestfactory.vm.impl.TypeTokenResolver'. 
  
  
  I am sure I am missing something in the instructions, but I can not see 
 it... 
  
  
  I am using Eclipse Indigo. 
  
  
  Thank you for your help. 
  
  
  Mirko 
  
  
  P.S. I am sorry to bother you all with such newbie questions. 



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


Re: Problem with GWT+Hibernate

2013-10-02 Thread Jens
Change

source path=com.mySampleApplication.client/ 

to

source path=client/ 

Then please google for some GWT + Hibernate tutorials as your code also has 
some other flaws. First you wan to share a hibernate entity which is not 
that easy because hibernate rewrites your entity class which causes GWT to 
throw serialization exceptions and second if you use lazy loading then you 
can not close the hibernate session before GWT has serialized the entity. 
While serializing the lazy relationships will be fetched but if you have 
closed the session before you will get Hibernate exceptions. You should 
follow the OpenSessionInView Pattern to solve this.

-- J.

-- 
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: Problem With GWT 2.5.1 and Postgres 9.2. JDBC Driver

2013-04-24 Thread kim young ill
are you using app-engine ? it doesnt support everything your normal jdk
would do (e.g no network connection), that's why your db-connection fails.
try without app-engine


On Sat, Apr 20, 2013 at 11:00 AM, tsst...@googlemail.com wrote:

 Hello,

 I try to set up a small GWT application which should do a simple SQL query
 to Postgres SQL 9.2. Tests are based on
 GWT demo GreetingService. Server side greeting service has now following
 constructor:

 public GreetingServiceImpl() {
 System.out.println(Konstruktor);
 try {

 Class.forName(org.postgresql.Driver);

 } catch (ClassNotFoundException e) {

 System.out.println(Where is your PostgreSQL JDBC Driver? 
 + Include in your library path!);
 e.printStackTrace();
 return;

 }
 try {
 connection = DriverManager.getConnection(jdbc:postgresql://
 192.168.42.42:5432/eclipse,eclipse, ***);
 } catch (SQLException e) {
 e.printStackTrace();
 System.out.println(Verbindung zur Datenbank ist
 fehlgeschlagen);
 }
 }

 This ends up with following exception:

 INFO: Dev App Server is now running
 Konstruktor
 org.postgresql.util.PSQLException: Der Verbindungsversuch schlug fehl.
 at
 org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:225)
 at
 org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)
 at
 org.postgresql.jdbc2.AbstractJdbc2Connection.init(AbstractJdbc2Connection.java:136)
 at
 org.postgresql.jdbc3.AbstractJdbc3Connection.init(AbstractJdbc3Connection.java:29)
 at
 org.postgresql.jdbc3g.AbstractJdbc3gConnection.init(AbstractJdbc3gConnection.java:21)
 at
 org.postgresql.jdbc4.AbstractJdbc4Connection.init(AbstractJdbc4Connection.java:31)
 at org.postgresql.jdbc4.Jdbc4Connection.init(Jdbc4Connection.java:24)
 at org.postgresql.Driver.makeConnection(Driver.java:393)
 at org.postgresql.Driver.connect(Driver.java:267)
 at java.sql.DriverManager.getConnection(DriverManager.java:579)
 at java.sql.DriverManager.getConnection(DriverManager.java:221)
 at
 li.ip6.server.GreetingServiceImpl.init(GreetingServiceImpl.java:37)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
 Method)
 at
 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
 at
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
 at java.lang.Class.newInstance0(Class.java:374)
 at java.lang.Class.newInstance(Class.java:327)
 at org.mortbay.jetty.servlet.Holder.newInstance(Holder.java:153)
 at
 org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:428)
 at
 org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:339)
 at
 org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
 at
 com.google.appengine.api.socket.dev.DevSocketFilter.doFilter(DevSocketFilter.java:74)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 at
 com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:123)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 at
 com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 at
 com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:63)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 at
 com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 at
 com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:125)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 at
 com.google.appengine.tools.development.DevAppServerServersFilter.doDirectRequest(DevAppServerServersFilter.java:369)
 at
 com.google.appengine.tools.development.DevAppServerServersFilter.doDirectServerRequest(DevAppServerServersFilter.java:352)
 at
 com.google.appengine.tools.development.DevAppServerServersFilter.doFilter(DevAppServerServersFilter.java:115)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
 at
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
 at
 

Re: problem with gwt designer in myeclipse for spring 10.6

2013-03-20 Thread Sh Darambazar
me too the same problem. Please help me
my ubuntu is 12.10
java when 
java -version
java version 1.7.0_15
OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.10.1)
OpenJDK Server VM (build 23.7-b01, mixed mod
and oracle java the same error.


On Saturday, March 9, 2013 7:07:53 AM UTC+8, Mansouri Brahim wrote:

 hello
 when i create new gwt project i can't see the design of my apps and 
 myeclipse  give me that eror so some one can help please??
 Could not open the editor: The editor class could not be instantiated. 
 This usually indicates a missing no-arg constructor or that the editor's 
 class name was mistyped in plugin.xml.

 and
 java.lang.ClassNotFoundException: 
 org.eclipse.wb.internal.core.editor.multi.DesignerEditor
 at 
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
 at 
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
 at 
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
 at 
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
 at 
 org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
 at 
 org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
 at 
 org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
 at 
 org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
 at 
 org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
 at 
 org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
 at 
 org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
 at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:268)
 at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
 at 
 org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:264)
 at 
 org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:235)
 at org.eclipse.ui.internal.EditorManager.createPart(EditorManager.java:875)
 at 
 org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609)
 at 
 org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
 at 
 org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
 at 
 org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
 at 
 org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2945)
 at 
 org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
 at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
 at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
 at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
 at 
 org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
 at 
 org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
 at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:331)
 at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:179)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
 at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
 at 
 org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
 at 
 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at 
 org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
 at 
 org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
 at 
 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at 
 org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
 at 
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
 at 
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at 

Re: Problem use GWT 2.5.0 Super Dev Mode

2013-02-27 Thread Thomas Broyer
Did you compile your module once with the xsiframe linker and 
devModeRedirectEnabled?

On Wednesday, February 27, 2013 10:09:59 AM UTC+1, Dominic Warzok wrote:

 Hey I try to use Super Dev Mode in my web app. 

 But I always get the message

  Can't find any GWT Modules on this page. code serverhttp://127.0.0.1:9876/
 


 I follow these Steps to get Super Dev Mode running in eclipse: 

 1. *add* add-linker name=xsiframe /
 set-configuration-property name=devModeRedirectEnabled value=true /

 * to my webapp.xml*


 2. *build a new Java configuration* Run as Java App

 3. *Start up code server* Output:

 A lot of compiling packages and this:

 * Source Maps Enabled*

 *   Compile of permutations succeeded*

 *Linking into 
 C:\Users\warzok\AppData\Local\Temp\gwt-codeserver-2196663031883485286.tmp\com.SchumannGmbH.cam.web.Web_CAM\compile-1\war\web_cam;
  
 Writing extras to 
 C:\Users\warzok\AppData\Local\Temp\gwt-codeserver-2196663031883485286.tmp\com.SchumannGmbH.cam.web.Web_CAM\compile-1\extras\web_cam
 *

 *   Link succeeded*

 *   Compilation succeeded -- 50,274s*

 *Compile completed in 50873 ms*

 *SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder.*

 *SLF4J: Defaulting to no-operation (NOP) logger implementation*

 *SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for 
 further details.*

 *
 *

 *The code server is ready.*

 *Next, visit: http://localhost:9876/*

 4. *Run normal dev mode* with these  programm arguments:


 *-war ${workspace_loc:Web-CAM/war} -remoteUI 
 ${gwt_remote_ui_server_port}:${unique_id} -startupUrl Web_CAM.html 
 -logLevel INFO -codeServerPort 4321 -port  
 com.SchumannGmbH.cam.web.Web_CAM*

 * *

 Maybe here is the error ?! 


 5. *Go to* http://localhost/myWebApp.html 


I'm assuming locahost:/Web_CAM.html here?
 

 6. *Click Dev Mode On* 


 If I set up a Testproject this will work but not with my bigger webapp, 

 Any sugesstions 

 Thanks in advance . 










-- 
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: Problem use GWT 2.5.0 Super Dev Mode

2013-02-27 Thread Dominic Warzok
Yes I did compile my module with the xsiframe and devModeRedirectEnabled.

But it won't work. 

And yes you ar right Web_CAM is my web app so I went to 
localhost:/Web_CAM.html



On Wednesday, February 27, 2013 10:39:36 AM UTC+1, Thomas Broyer wrote:

 Did you compile your module once with the xsiframe linker and 
 devModeRedirectEnabled?

 On Wednesday, February 27, 2013 10:09:59 AM UTC+1, Dominic Warzok wrote:

 Hey I try to use Super Dev Mode in my web app. 

 But I always get the message

  Can't find any GWT Modules on this page. code 
 serverhttp://127.0.0.1:9876/
 


 I follow these Steps to get Super Dev Mode running in eclipse: 

 1. *add* add-linker name=xsiframe /
 set-configuration-property name=devModeRedirectEnabled value=true /

 * to my webapp.xml*


 2. *build a new Java configuration* Run as Java App

 3. *Start up code server* Output:

 A lot of compiling packages and this:

 * Source Maps Enabled*

 *   Compile of permutations succeeded*

 *Linking into 
 C:\Users\warzok\AppData\Local\Temp\gwt-codeserver-2196663031883485286.tmp\com.SchumannGmbH.cam.web.Web_CAM\compile-1\war\web_cam;
  
 Writing extras to 
 C:\Users\warzok\AppData\Local\Temp\gwt-codeserver-2196663031883485286.tmp\com.SchumannGmbH.cam.web.Web_CAM\compile-1\extras\web_cam
 *

 *   Link succeeded*

 *   Compilation succeeded -- 50,274s*

 *Compile completed in 50873 ms*

 *SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder.*

 *SLF4J: Defaulting to no-operation (NOP) logger implementation*

 *SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for 
 further details.*

 *
 *

 *The code server is ready.*

 *Next, visit: http://localhost:9876/*

 4. *Run normal dev mode* with these  programm arguments:


 *-war ${workspace_loc:Web-CAM/war} -remoteUI 
 ${gwt_remote_ui_server_port}:${unique_id} -startupUrl Web_CAM.html 
 -logLevel INFO -codeServerPort 4321 -port  
 com.SchumannGmbH.cam.web.Web_CAM*

 * *

 Maybe here is the error ?! 


 5. *Go to* http://localhost/myWebApp.html 


 I'm assuming locahost:/Web_CAM.html here?
  

 6. *Click Dev Mode On* 


 If I set up a Testproject this will work but not with my bigger webapp, 

 Any sugesstions 

 Thanks in advance . 










-- 
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: Problem use GWT 2.5.0 Super Dev Mode

2013-02-27 Thread emurmur
Here is a blog post I wrote on getting the code server running with the 
Elemental library.  You might find stuff in it that is useful.

http://lumpofcode.blogspot.com/2012/11/configuring-gwt-codeserver-and.html



On Wednesday, February 27, 2013 1:09:59 AM UTC-8, Dominic Warzok wrote:

 Hey I try to use Super Dev Mode in my web app. 

 But I always get the message

  Can't find any GWT Modules on this page. code serverhttp://127.0.0.1:9876/
 


 I follow these Steps to get Super Dev Mode running in eclipse: 

 1. *add* add-linker name=xsiframe /
 set-configuration-property name=devModeRedirectEnabled value=true /

 * to my webapp.xml*


 2. *build a new Java configuration* Run as Java App

 3. *Start up code server* Output:

 A lot of compiling packages and this:

 * Source Maps Enabled*

 *   Compile of permutations succeeded*

 *Linking into 
 C:\Users\warzok\AppData\Local\Temp\gwt-codeserver-2196663031883485286.tmp\com.SchumannGmbH.cam.web.Web_CAM\compile-1\war\web_cam;
  
 Writing extras to 
 C:\Users\warzok\AppData\Local\Temp\gwt-codeserver-2196663031883485286.tmp\com.SchumannGmbH.cam.web.Web_CAM\compile-1\extras\web_cam
 *

 *   Link succeeded*

 *   Compilation succeeded -- 50,274s*

 *Compile completed in 50873 ms*

 *SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder.*

 *SLF4J: Defaulting to no-operation (NOP) logger implementation*

 *SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for 
 further details.*

 *
 *

 *The code server is ready.*

 *Next, visit: http://localhost:9876/*

 4. *Run normal dev mode* with these  programm arguments:


 *-war ${workspace_loc:Web-CAM/war} -remoteUI 
 ${gwt_remote_ui_server_port}:${unique_id} -startupUrl Web_CAM.html 
 -logLevel INFO -codeServerPort 4321 -port  
 com.SchumannGmbH.cam.web.Web_CAM*

 * *

 Maybe here is the error ?! 


 5. *Go to* http://localhost/myWebApp.html 

 6. *Click Dev Mode On* 


 If I set up a Testproject this will work but not with my bigger webapp, 

 Any sugesstions 

 Thanks in advance . 










-- 
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: Problem use GWT 2.5.0 Super Dev Mode

2013-02-27 Thread Juan Pablo Gardella
See
https://groups.google.com/group/google-web-toolkit/browse_thread/thread/efc1e5e3b7853cac/0d745bfee422f8eb


2013/2/27 emurmur emur...@conceptuamath.com

 Here is a blog post I wrote on getting the code server running with the
 Elemental library.  You might find stuff in it that is useful.

 http://lumpofcode.blogspot.com/2012/11/configuring-gwt-codeserver-and.html



 On Wednesday, February 27, 2013 1:09:59 AM UTC-8, Dominic Warzok wrote:

 Hey I try to use Super Dev Mode in my web app.

 But I always get the message

  Can't find any GWT Modules on this page. code 
 serverhttp://127.0.0.1:9876/
 


 I follow these Steps to get Super Dev Mode running in eclipse:

 1. *add* add-linker name=xsiframe /
 set-configuration-property name=devModeRedirectEnabled value=true /

 * to my webapp.xml*


 2. *build a new Java configuration* Run as Java App

 3. *Start up code server* Output:

 A lot of compiling packages and this:

 * Source Maps Enabled*

 *   Compile of permutations succeeded*

 *Linking into C:\Users\warzok\AppData\Local\Temp\gwt-codeserver-
 2196663031883485286.tmp\com.SchumannGmbH.cam.web.Web_CAM\compile-1\war\web_cam;
 Writing extras to C:\Users\warzok\AppData\Local\Temp\gwt-codeserver-
 2196663031883485286.tmp\com.SchumannGmbH.cam.web.Web_CAM\
 compile-1\extras\web_cam*

 *   Link succeeded*

 *   Compilation succeeded -- 50,274s*

 *Compile completed in 50873 ms*

 *SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder.*

 *SLF4J: Defaulting to no-operation (NOP) logger implementation*

 *SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
 further details.*

 *
 *

 *The code server is ready.*

 *Next, visit: http://localhost:9876/*

 4. *Run normal dev mode* with these  programm arguments:


 *-war ${workspace_loc:Web-CAM/war} -remoteUI
 ${gwt_remote_ui_server_port}:${unique_id} -startupUrl Web_CAM.html
 -logLevel INFO -codeServerPort 4321 -port  com.SchumannGmbH.cam.web.Web_
 CAM*

 * *

 Maybe here is the error ?!


 5. *Go to* http://localhost/myWebApp.html**

 6. *Click Dev Mode On*


 If I set up a Testproject this will work but not with my bigger webapp,

 Any sugesstions

 Thanks in advance .








  --
 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.




-- 
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: Problem installing gwt developer plugin on Chrome/Windows 8

2012-11-09 Thread Thomas Broyer

On Friday, November 9, 2012 12:16:17 PM UTC+1, Luigi Viggiano wrote:

 Hi everybody.

 we are having a problem with a Windows 8 laptop and Chrome, which is 
 refusing to install the gwt developer plugin.

 Is this a known issue, and is there a workaround to the problem?


See my comment in 
http://code.google.com/p/google-web-toolkit/issues/detail?id=7778 

-- 
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/-/XRobnX1nzmMJ.
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 
SDKhttp://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 
recommendationshttp://stackoverflow.com/questions/142357/what-are-the-best-jvm-settings-for-eclipsewhen
 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 
diskhttp://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 
softwarehttp://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 
sitehttps://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 
installationhttp://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 
projecthttp://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 and what is the link 
 checker? How do I 
  turn it off? 

 I think the advice is about shutting off anti-virus software / security 
 suites / 
 firewalls, at least for the time of update. 

 -- 
 Philippe Lhoste 
 --  (near) Paris -- France 
 --  http://Phi.Lho.free.fr 
 --  --  --  --  --  --  --  

Re: Problem installign gwt in eclipse

2012-06-15 Thread Philippe Lhoste

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 and what is the link 
checker? How do I
turn it off?


I think the advice is about shutting off anti-virus software / security suites / 
firewalls, at least for the time of update.


--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

--
You received this message because you are subscribed to the Google Groups Google 
Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+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-14 Thread Jeff Silverman


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 and what is the link 
checker?  How do I turn it off?


Many thanks,


Jeff Silverman
 


 On Tue, Jun 5, 2012 at 1:14 PM, sahli sabrina sahli.sabr...@gmail.com 
 wrote: 
  hi, i have eclipse version 3.5 and i want to set up gwt but i have 
  always this error message T 
  
  he operation cannot be completed. See the details. 
  
  
  details 
  
  Cannot complete the install because one or more required items could 
  not be found. 
  Software being installed: Google Plugin for Eclipse 3.5 
  2.6.1.v201205091048-rel-r35 
  (com.google.gdt.eclipse.suite.e35.feature.feature.group 
  2.6.1.v201205091048-rel-r35) 
  Missing requirement: Google Plugin for Eclipse 3.5 2.6.1.v201205091048- 
  rel-r35 (com.google.gdt.eclipse.suite.e35.feature.feature.group 
  2.6.1.v201205091048-rel-r35) requires 'org.eclipse.mylyn.commons.ui 
  0.0.0' but it could not be 
  found 
  . 
  
  can anyone help me to resolve this problem it is realy very important 
  and urgent for me 
  
  thank you 
  
  -- 
  You received this message because you are subscribed to the Google 
 Groups Google Web Toolkit group. 
  To post to this group, send email to google-web-toolkit@googlegroups.com. 

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


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/m21YfDZbvxAJ.
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-08 Thread Ed
If your using AVG turn off link checker.

On Tue, Jun 5, 2012 at 1:14 PM, sahli sabrina sahli.sabr...@gmail.com wrote:
 hi, i have eclipse version 3.5 and i want to set up gwt but i have
 always this error message T

 he operation cannot be completed. See the details.


 details

 Cannot complete the install because one or more required items could
 not be found.
 Software being installed: Google Plugin for Eclipse 3.5
 2.6.1.v201205091048-rel-r35
 (com.google.gdt.eclipse.suite.e35.feature.feature.group
 2.6.1.v201205091048-rel-r35)
 Missing requirement: Google Plugin for Eclipse 3.5 2.6.1.v201205091048-
 rel-r35 (com.google.gdt.eclipse.suite.e35.feature.feature.group
 2.6.1.v201205091048-rel-r35) requires 'org.eclipse.mylyn.commons.ui
 0.0.0' but it could not be
 found
 .

 can anyone help me to resolve this problem it is realy very important
 and urgent for me

 thank you

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


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



Re: problem with gwt 2.4

2011-12-13 Thread Ed
Check out the source code of gwt-connector, use 2.4. as dependency,
make the required changes,  and make the libraries against gwt 2.4.
- Ed

On Dec 13, 10:32 am, R!H@B S@!D! rihab.sa...@gmail.com wrote:
 Hi all,

 I use gwt-connectors with GWT 2.4, but I have a problem of compatibility!!

 I need a library for connectors that work with gwt 2.4

 thx

 --
 *Rihab SAIDI*

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



Re: Problem with gwt fileUpload in GWT 2.4

2011-12-08 Thread James Drinkard
Okay, after doing more searching I found you can't do RPC with this widget, 
so I opted to create a regular httpServlet and that worked. Hope this helps 
someone!

-- 
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/-/m3JtPntBkEwJ.
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 with gwt fileUpload in GWT 2.4

2011-12-08 Thread karim duran
Hi James,

You can also use Apache commons fileupload library, it's easy to use and to
integrate with GWT.
http://commons.apache.org/fileupload/

Regards.

Karim Duran.

2011/12/8 James Drinkard jdrinka...@gmail.com

 Okay, after doing more searching I found you can't do RPC with this
 widget, so I opted to create a regular httpServlet and that worked. Hope
 this helps someone!

 --
 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/-/m3JtPntBkEwJ.
 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.


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



Re: Problem with GWT Service results

2011-06-23 Thread Jambi
The proble is, that the code out of your onSuccess method is called
before the request is finished.


...
RootPanel.get(mainContainer).add(new Label(Array lista 2:
+lista.toString()));
RootPanel.get().add(new Label(String.valueOf(Array
lista 2:
+lista.size(;
for(int i = 0; i  lista.size(); i++){
RootPanel.get().add(new Label(BOTON +i));
}
...

won´t work correct because your async request isn´t finished in the
time when you execute the code outside of the RPC. RPC calls are
asynchronous. That means, that the rest of the code executes directly
after the request is started. The onSuccess method gets called when
the result returns from the server.

you could put this code in an external method and call this method
inside of the onSuccess body.

Cheers, Michael




On 21 Jun., 09:39, Jose Luis Hernandez jose.hernande...@gmail.com
wrote:
 Hello!
 I have a problem. I am calling to server side on GWT. The results of
 call is an ArrayList (result). Inside onSuccess method another
 ArrayList is wrapped with the result. However, if I want to use
 ArrayList lista outside of onSuccess method it contains 0 elements,
 but inside is like result ArrayList. How can I solve it? I have tried
 to use lista as class attribute, static attribute,... but it doesn't
 run.
 Thanks!

 public void addContainers() throws Exception {
                 final ArrayListString lista = new ArrayListString();
                 gwtService.obtainAttributesDevice(1, new
 AsyncCallbackArrayListString(){
                         @Override
                         public void onFailure(Throwable caught) {
                                 System.out.println(ERROR);
                                 Window.alert(caught.getMessage());
                         }
                         @Override
                         public void onSuccess(ArrayListString result) {
                                 RootPanel.get(mainContainer).add(new 
 Label(Array result:
 +result.toString()));
                                 RootPanel.get().add(new 
 Label(String.valueOf(Array result:
 +result.size(;
                                 lista.addAll(0, result);
                                 RootPanel.get(mainContainer).add(new 
 Label(Array lista 1:
 +lista.toString()));
                                 RootPanel.get().add(new 
 Label(String.valueOf(Array lista 1:
 +lista.size(;
                         }
                 });
                 RootPanel.get(mainContainer).add(new Label(Array lista 2:
 +lista.toString()));
                 RootPanel.get().add(new Label(String.valueOf(Array lista 2:
 +lista.size(;
                 for(int i = 0; i  lista.size(); i++){
                         RootPanel.get().add(new Label(BOTON +i));
                 }

 }



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



Re: Problem with GWT Service results

2011-06-21 Thread Daniel Mauricio Patino León
  RootPanel.get(mainContainer).add(new Label(Array lista 2:
+lista.toString()));
   RootPanel.get().add(new Label(String.valueOf(Array lista 2:
+lista.size(;
   for(int i = 0; i  lista.size(); i++){
   RootPanel.get().add(new Label(BOTON +i));
   }

esto esta fuera del contexto de asíncrono

 public void onSuccess(ArrayListString result) {
 }

ese contrato del AsyncCallback es el que se ejecuta cuando el servidor
regresa el resultado
si ahi tu result esta vacio entonces checa el lado del servidor.
no debes tener problema con lista.addAll(result);  // no addAll(0,x)
ya que esa lista se va a sobreescribir cada llamada al servidor


2011/6/21 Jose Luis Hernandez jose.hernande...@gmail.com

 Hello!
 I have a problem. I am calling to server side on GWT. The results of
 call is an ArrayList (result). Inside onSuccess method another
 ArrayList is wrapped with the result. However, if I want to use
 ArrayList lista outside of onSuccess method it contains 0 elements,
 but inside is like result ArrayList. How can I solve it? I have tried
 to use lista as class attribute, static attribute,... but it doesn't
 run.
 Thanks!

 public void addContainers() throws Exception {
final ArrayListString lista = new ArrayListString();
gwtService.obtainAttributesDevice(1, new
 AsyncCallbackArrayListString(){
@Override
public void onFailure(Throwable caught) {
System.out.println(ERROR);
Window.alert(caught.getMessage());
}
@Override
public void onSuccess(ArrayListString result) {
RootPanel.get(mainContainer).add(new
 Label(Array result:
 +result.toString()));
RootPanel.get().add(new
 Label(String.valueOf(Array result:
 +result.size(;
lista.addAll(0, result);
RootPanel.get(mainContainer).add(new
 Label(Array lista 1:
 +lista.toString()));
RootPanel.get().add(new
 Label(String.valueOf(Array lista 1:
 +lista.size(;
}
});
RootPanel.get(mainContainer).add(new Label(Array lista 2:
 +lista.toString()));
RootPanel.get().add(new Label(String.valueOf(Array lista 2:
 +lista.size(;
for(int i = 0; i  lista.size(); i++){
RootPanel.get().add(new Label(BOTON +i));
}
 }

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



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



Re: Problem with GWT-RPC

2010-12-04 Thread Noor

Hi, check whether the server implementation is properly implementing
the service interface and check whether the arguments set in the
service interface methods is inline with the serviceasync.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@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 with GWT-RPC

2010-12-04 Thread Sean
Also, if you recently upgraded, make sure you upgraded the jars on the
server as well.

On Dec 4, 7:15 am, Gaurav Vaish gaurav.va...@gmail.com wrote:
 Hi,

 My application, so far, had been working fine - I'm using GWT-2.1 and
 Appengine 1.3.8... until recently.

 Lately, my application has been consistent in throwing a
 IncompatibleRemoteServiceException... the exact message is given
 below.

 
 com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
 This application is out of date, please click the refresh button on
 your browser. ( Expecting version 5 from server, got 6. )
 

 Any help to resolve this issue will be highly appreciated!

 --
 Happy Hacking,
 Gaurav Vaishhttp://www.mastergaurav.com

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@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 with GWT-RPC

2010-12-04 Thread Gaurav Vaish
No help!

Double checked the jars.
Double checked the interface + async parts.
Did a full clean+build.

:(


--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.com


On Dec 4, 7:55 pm, Sean slough...@gmail.com wrote:
 Also, if you recently upgraded, make sure you upgraded the jars on the
 server as well.

 On Dec 4, 7:15 am, Gaurav Vaish gaurav.va...@gmail.com wrote:

  Hi,

  My application, so far, had been working fine - I'm using GWT-2.1 and
  Appengine 1.3.8... until recently.

  Lately, my application has been consistent in throwing a
  IncompatibleRemoteServiceException... the exact message is given
  below.

  
  com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
  This application is out of date, please click the refresh button on
  your browser. ( Expecting version 5 from server, got 6. )
  

  Any help to resolve this issue will be highly appreciated!

  --
  Happy Hacking,
  Gaurav Vaishhttp://www.mastergaurav.com



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@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 with GWT-RPC

2010-12-04 Thread Gaurav Vaish
Caught it!

The build file that I had created was refering to the older version of
GWT SDK (and hence the older gwt-servlet.jar during compilation).

Thanks for your inputs!


--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.com


On Dec 5, 8:28 am, Gaurav Vaish gaurav.va...@gmail.com wrote:
 No help!

 Double checked the jars.
 Double checked the interface + async parts.
 Did a full clean+build.

 :(

 --
 Happy Hacking,
 Gaurav Vaishhttp://www.mastergaurav.com

 On Dec 4, 7:55 pm, Sean slough...@gmail.com wrote:

  Also, if you recently upgraded, make sure you upgraded the jars on the
  server as well.

  On Dec 4, 7:15 am, Gaurav Vaish gaurav.va...@gmail.com wrote:

   Hi,

   My application, so far, had been working fine - I'm using GWT-2.1 and
   Appengine 1.3.8... until recently.

   Lately, my application has been consistent in throwing a
   IncompatibleRemoteServiceException... the exact message is given
   below.

   
   com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
   This application is out of date, please click the refresh button on
   your browser. ( Expecting version 5 from server, got 6. )
   

   Any help to resolve this issue will be highly appreciated!

   --
   Happy Hacking,
   Gaurav Vaishhttp://www.mastergaurav.com



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@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 with GWT Google-Maps-API 1.1 and IE 6

2010-10-01 Thread David Chandler (Google)
Hi Boris,

You might also try posting your question here: 
http://groups.google.com/group/gwt-google-apis

/dmc
David Chandler
Developer Programs Engineer, Google Web Toolkit

On Sep 30, 3:26 am, Boris Lenzinger boris.lenzin...@gmail.com wrote:
 Hi everybody,

 I'm currently facing a blocking problem when using GWT google map api
 (version 1.1.0) with IE 6.
 GWT version used is 2.0.3.

 Here is the context : I have a web interface that displays 2 maps : one on
 the left that shows
 a general view and one the right that shows details of a selected zone of
 the left map.

 The left map displays squares (let's denote them A-square) that are
 clickable. When you click
 on a A-square, the second map (on the right) zooms to show details of this
 A-square. This
 A-square is composed of smaller squares (let's denote the B-square).

 There are around around 180 B-squares per map. They are also clickable. When
 you click on a
 B-square, its color changes according to the context. It is also added to a
 list of selected
 squares (or removed if the click is for unselecting it).

 I got it working but it is very very slow. It is completely unusable in
 fact. If I
 click on the button for selecting all B-squares, I can see each one changing
 of color (takes around
 15 seconds to get all of them  colored).

 I've investigated to understand what is going on. First CPU usage is raising
 to 50% while applying color.
 It seems that the A-square and B-square (and in fact all polygons) are
 displayed using SVG polygons.
 I have seen this with Firebug when selecting a B-Square. But IE does not
 have native support for SVG and
 I think the problem is that : no native support for SVG.

 I have tried to install Abode SVG plugin but it didn't change anything. I
 then tried the library
  http://code.google.com/p/sgweb/but it didn't work neither.
 So I really don't know how to solve this.

 I have to keep IE 6 as the main browser (it is working almost fine under
 firefox).

 Anyone has already faced such thing and solved it ?

 Any hint are welcome !

 A solution would be to wrap some javascript component into GWT (since
 apparently google maps
 from javascript does not use SVG components from what I understood). But I
 would like to make
 pure GWT solution work since it is already coded.

 thank you for your help.

 Boris

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@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 with GWT Google-Maps-API 1.1 and IE 6

2010-10-01 Thread Eric Ayers
I'm going to go ahead and steer you away from there because all the
gwt-maps library is doing is translating your GWT calls into
javascript calls to the Maps API.  If you are willing to install a
plugin, try the chrome frame plugin for IE6.

http://code.google.com/chrome/chromeframe/

On Fri, Oct 1, 2010 at 8:54 AM, David Chandler (Google)
drfibona...@google.com wrote:
 Hi Boris,

 You might also try posting your question here: 
 http://groups.google.com/group/gwt-google-apis

 /dmc
 David Chandler
 Developer Programs Engineer, Google Web Toolkit

 On Sep 30, 3:26 am, Boris Lenzinger boris.lenzin...@gmail.com wrote:
 Hi everybody,

 I'm currently facing a blocking problem when using GWT google map api
 (version 1.1.0) with IE 6.
 GWT version used is 2.0.3.

 Here is the context : I have a web interface that displays 2 maps : one on
 the left that shows
 a general view and one the right that shows details of a selected zone of
 the left map.

 The left map displays squares (let's denote them A-square) that are
 clickable. When you click
 on a A-square, the second map (on the right) zooms to show details of this
 A-square. This
 A-square is composed of smaller squares (let's denote the B-square).

 There are around around 180 B-squares per map. They are also clickable. When
 you click on a
 B-square, its color changes according to the context. It is also added to a
 list of selected
 squares (or removed if the click is for unselecting it).

 I got it working but it is very very slow. It is completely unusable in
 fact. If I
 click on the button for selecting all B-squares, I can see each one changing
 of color (takes around
 15 seconds to get all of them  colored).

 I've investigated to understand what is going on. First CPU usage is raising
 to 50% while applying color.
 It seems that the A-square and B-square (and in fact all polygons) are
 displayed using SVG polygons.
 I have seen this with Firebug when selecting a B-Square. But IE does not
 have native support for SVG and
 I think the problem is that : no native support for SVG.

 I have tried to install Abode SVG plugin but it didn't change anything. I
 then tried the library
  http://code.google.com/p/sgweb/but it didn't work neither.
 So I really don't know how to solve this.

 I have to keep IE 6 as the main browser (it is working almost fine under
 firefox).

 Anyone has already faced such thing and solved it ?

 Any hint are welcome !

 A solution would be to wrap some javascript component into GWT (since
 apparently google maps
 from javascript does not use SVG components from what I understood). But I
 would like to make
 pure GWT solution work since it is already coded.

 thank you for your help.

 Boris

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@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.





-- 
Eric Z. Ayers
Google Web Toolkit, Atlanta, GA USA

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@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 with GWT Google-Maps-API 1.1 and IE 6

2010-10-01 Thread Boris Lenzinger
Hi Eric,

Thank you for the link. I have just installed it and tested out.
Unfortunately, this does not really change the thing. It is a little bit
faster but still unusable.

I've installed (just to check the difference) Google Chrome under Windows
and the application runs fine. But with Chrome embedded in IE6, I don't have
the same performances at all.

Boris

2010/10/1 Eric Ayers zun...@google.com

 I'm going to go ahead and steer you away from there because all the
 gwt-maps library is doing is translating your GWT calls into
 javascript calls to the Maps API.  If you are willing to install a
 plugin, try the chrome frame plugin for IE6.

 http://code.google.com/chrome/chromeframe/

 On Fri, Oct 1, 2010 at 8:54 AM, David Chandler (Google)
 drfibona...@google.com wrote:
  Hi Boris,
 
  You might also try posting your question here:
 http://groups.google.com/group/gwt-google-apis
 
  /dmc
  David Chandler
  Developer Programs Engineer, Google Web Toolkit
 
  On Sep 30, 3:26 am, Boris Lenzinger boris.lenzin...@gmail.com wrote:
  Hi everybody,
 
  I'm currently facing a blocking problem when using GWT google map api
  (version 1.1.0) with IE 6.
  GWT version used is 2.0.3.
 
  Here is the context : I have a web interface that displays 2 maps : one
 on
  the left that shows
  a general view and one the right that shows details of a selected zone
 of
  the left map.
 
  The left map displays squares (let's denote them A-square) that are
  clickable. When you click
  on a A-square, the second map (on the right) zooms to show details of
 this
  A-square. This
  A-square is composed of smaller squares (let's denote the B-square).
 
  There are around around 180 B-squares per map. They are also clickable.
 When
  you click on a
  B-square, its color changes according to the context. It is also added
 to a
  list of selected
  squares (or removed if the click is for unselecting it).
 
  I got it working but it is very very slow. It is completely unusable in
  fact. If I
  click on the button for selecting all B-squares, I can see each one
 changing
  of color (takes around
  15 seconds to get all of them  colored).
 
  I've investigated to understand what is going on. First CPU usage is
 raising
  to 50% while applying color.
  It seems that the A-square and B-square (and in fact all polygons) are
  displayed using SVG polygons.
  I have seen this with Firebug when selecting a B-Square. But IE does not
  have native support for SVG and
  I think the problem is that : no native support for SVG.
 
  I have tried to install Abode SVG plugin but it didn't change anything.
 I
  then tried the library
   http://code.google.com/p/sgweb/but it didn't work neither.
  So I really don't know how to solve this.
 
  I have to keep IE 6 as the main browser (it is working almost fine under
  firefox).
 
  Anyone has already faced such thing and solved it ?
 
  Any hint are welcome !
 
  A solution would be to wrap some javascript component into GWT (since
  apparently google maps
  from javascript does not use SVG components from what I understood). But
 I
  would like to make
  pure GWT solution work since it is already coded.
 
  thank you for your help.
 
  Boris
 
  --
  You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
  To post to this group, send email to google-web-toolkit@googlegroups.com
 .
  To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.
 
 



 --
 Eric Z. Ayers
 Google Web Toolkit, Atlanta, GA USA

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



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@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 with GWT Google-Maps-API 1.1 and IE 6

2010-10-01 Thread Boris Lenzinger
Hi David,

Yes you are right. I will post my message on their mailing list too. Thank
you for the tip.

Boris

2010/10/1 David Chandler (Google) drfibona...@google.com

 Hi Boris,

 You might also try posting your question here:
 http://groups.google.com/group/gwt-google-apis

 /dmc
 David Chandler
 Developer Programs Engineer, Google Web Toolkit

 On Sep 30, 3:26 am, Boris Lenzinger boris.lenzin...@gmail.com wrote:
  Hi everybody,
 
  I'm currently facing a blocking problem when using GWT google map api
  (version 1.1.0) with IE 6.
  GWT version used is 2.0.3.
 
  Here is the context : I have a web interface that displays 2 maps : one
 on
  the left that shows
  a general view and one the right that shows details of a selected zone of
  the left map.
 
  The left map displays squares (let's denote them A-square) that are
  clickable. When you click
  on a A-square, the second map (on the right) zooms to show details of
 this
  A-square. This
  A-square is composed of smaller squares (let's denote the B-square).
 
  There are around around 180 B-squares per map. They are also clickable.
 When
  you click on a
  B-square, its color changes according to the context. It is also added to
 a
  list of selected
  squares (or removed if the click is for unselecting it).
 
  I got it working but it is very very slow. It is completely unusable in
  fact. If I
  click on the button for selecting all B-squares, I can see each one
 changing
  of color (takes around
  15 seconds to get all of them  colored).
 
  I've investigated to understand what is going on. First CPU usage is
 raising
  to 50% while applying color.
  It seems that the A-square and B-square (and in fact all polygons) are
  displayed using SVG polygons.
  I have seen this with Firebug when selecting a B-Square. But IE does not
  have native support for SVG and
  I think the problem is that : no native support for SVG.
 
  I have tried to install Abode SVG plugin but it didn't change anything. I
  then tried the library
   http://code.google.com/p/sgweb/but it didn't work neither.
  So I really don't know how to solve this.
 
  I have to keep IE 6 as the main browser (it is working almost fine under
  firefox).
 
  Anyone has already faced such thing and solved it ?
 
  Any hint are welcome !
 
  A solution would be to wrap some javascript component into GWT (since
  apparently google maps
  from javascript does not use SVG components from what I understood). But
 I
  would like to make
  pure GWT solution work since it is already coded.
 
  thank you for your help.
 
  Boris

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



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@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 with GWT Google-Maps-API 1.1 and IE 6

2010-10-01 Thread Eric Ayers
Check out the Maps API group as well.

http://code.google.com/p/gwt-google-apis/wiki/MapsFAQ#Where_can_I_go_for_more_help_using_the_Maps_API_for_GWT?


On Fri, Oct 1, 2010 at 10:44 AM, Boris Lenzinger
boris.lenzin...@gmail.com wrote:
 Hi David,

 Yes you are right. I will post my message on their mailing list too. Thank
 you for the tip.

 Boris

 2010/10/1 David Chandler (Google) drfibona...@google.com

 Hi Boris,

 You might also try posting your question here:
 http://groups.google.com/group/gwt-google-apis

 /dmc
 David Chandler
 Developer Programs Engineer, Google Web Toolkit

 On Sep 30, 3:26 am, Boris Lenzinger boris.lenzin...@gmail.com wrote:
  Hi everybody,
 
  I'm currently facing a blocking problem when using GWT google map api
  (version 1.1.0) with IE 6.
  GWT version used is 2.0.3.
 
  Here is the context : I have a web interface that displays 2 maps : one
  on
  the left that shows
  a general view and one the right that shows details of a selected zone
  of
  the left map.
 
  The left map displays squares (let's denote them A-square) that are
  clickable. When you click
  on a A-square, the second map (on the right) zooms to show details of
  this
  A-square. This
  A-square is composed of smaller squares (let's denote the B-square).
 
  There are around around 180 B-squares per map. They are also clickable.
  When
  you click on a
  B-square, its color changes according to the context. It is also added
  to a
  list of selected
  squares (or removed if the click is for unselecting it).
 
  I got it working but it is very very slow. It is completely unusable in
  fact. If I
  click on the button for selecting all B-squares, I can see each one
  changing
  of color (takes around
  15 seconds to get all of them  colored).
 
  I've investigated to understand what is going on. First CPU usage is
  raising
  to 50% while applying color.
  It seems that the A-square and B-square (and in fact all polygons) are
  displayed using SVG polygons.
  I have seen this with Firebug when selecting a B-Square. But IE does not
  have native support for SVG and
  I think the problem is that : no native support for SVG.
 
  I have tried to install Abode SVG plugin but it didn't change anything.
  I
  then tried the library
   http://code.google.com/p/sgweb/but it didn't work neither.
  So I really don't know how to solve this.
 
  I have to keep IE 6 as the main browser (it is working almost fine under
  firefox).
 
  Anyone has already faced such thing and solved it ?
 
  Any hint are welcome !
 
  A solution would be to wrap some javascript component into GWT (since
  apparently google maps
  from javascript does not use SVG components from what I understood). But
  I
  would like to make
  pure GWT solution work since it is already coded.
 
  thank you for your help.
 
  Boris

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@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.


 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@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.




-- 
Eric Z. Ayers
Google Web Toolkit, Atlanta, GA USA

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@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 with GWT 2.0 Chrome developer plugin

2010-02-19 Thread Smiley
Same here..:( is there any solution for this problem? i really like
the speed of my gwt application on the Chrome browser..but now i
can't test on Chrome anymore. this is a major problem for me...
any suggestions?

On Feb 3, 6:02 pm, Steve Lancey steve.lan...@gmail.com wrote:
 Same here

 On Jan 19, 3:05 pm, Isac isacsso...@gmail.com wrote:



  Hi, I have recently updated the GWT SDK from 1.5.3 to 2.0.0 on a
  project. I managed to fix all issues but one.
  I can't use the development mode withchrome. The login page of my
  application loads perfectly but when I try to log in (i.e. make an
  RPC) I get the following error:
  code
  com.google.gwt.core.client.JavaScriptException: (Error): Error
  calling
  method on NPObject! stack: Error: Error calling method on NPObject!
  at
  eval at eval (native v8natives.js:132:1) at unknown source at
  __gwt_jsInvoke (http://grapple:8087/hosted.html:70:35) at Array.0
  (eval at eval (native
  v8natives.js:132:1)) at Object. (unknown source) at __gwt_jsInvoke
  (http://grapple:8087/hosted.html?:70:35) at
  Array.1 (eval at eval (native v8natives.js:132:1)) at Object.
  (unknown
  source) at __gwt_jsInvoke (http://grapple:8087/hosted.html:70:35) at
  Array.1 (eval at eval (native
  v8natives.js:132:1)) __gwt_ObjectId: 2835 at
  com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript
  (BrowserChannelServer.java:195) at
  com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke
  (ModuleSpaceOOPHM.java:120) at
  com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
  507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid
  (ModuleSpace.java:284) at
  com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid
  (JavaScriptHost.java:107) at
  com.google.gwt.user.client.rpc.impl.SerializerBase$MethodMap
  $.deserialize$(SerializerBase.java) at
  com.google.gwt.user.client.rpc.impl.SerializerBase.deserialize
  (SerializerBase.java:124) at
  com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deseria
  lize
  (ClientSerializationStreamReader.java:116) at
  com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readO
  bject
  (AbstractSerializationStreamReader.java:61) at
  com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter
  $ResponseReader$8.read(RequestCallbackAdapter.java:104) at
  com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceiv
  ed
  (RequestCallbackAdapter.java:197) at
  com.google.gwt.http.client.Request.fireOnResponseReceived
  (Request.java:
  287) at com.google.gwt.http.client.RequestBuilder
  $1.onReadyStateChange
  (RequestBuilder.java:396) at
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
  sun.reflect.NativeMethodAccessorImpl.invoke
  (NativeMethodAccessorImpl.java:39) at
  sun.reflect.DelegatingMethodAccessorImpl.invoke
  (DelegatingMethodAccessorImpl.java:25) at
  java.lang.reflect.Method.invoke(Method.java:597) at
  com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
  at com.google.gwt.dev.shell.MethodDispatch.invoke
  (MethodDispatch.java:
  71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke
  (OophmSessionHandler.java:157) at
  com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForRetur
  n
  (BrowserChannel.java:1713) at
  com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript
  (BrowserChannelServer.java:165) at
  com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke
  (ModuleSpaceOOPHM.java:120) at
  com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
  507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject
  (ModuleSpace.java:264) at
  com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject
  (JavaScriptHost.java:91) at
  com.google.gwt.core.client.impl.Impl.apply
  (Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:
  188) at sun.reflect.GeneratedMethodAccessor231.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke
  (DelegatingMethodAccessorImpl.java:25) at
  java.lang.reflect.Method.invoke(Method.java:597) at
  com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
  at com.google.gwt.dev.shell.MethodDispatch.invoke
  (MethodDispatch.java:
  71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke
  (OophmSessionHandler.java:157) at
  com.google.gwt.dev.shell.BrowserChannel.reactToMessages
  (BrowserChannel.java:1668) at
  com.google.gwt.dev.shell.BrowserChannelServer.processConnection
  (BrowserChannelServer.java:401) at
  com.google.gwt.dev.shell.BrowserChannelServer.run
  (BrowserChannelServer.java:222) at java.lang.Thread.run(Thread.java:
  619)
  /code
  I am usingChrome4.0.295.0 andDeveloperplugin1.0.7263.
  The Development mode works fine on FF and IE.
  Do you have any idea of what is going on?
  Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from 

Re: Problem with GWT 2.0 Chrome developer plugin

2010-02-19 Thread Smiley
i'm having the same problem :( is there any solution for this issue? i
really like the speed of my gwt application on Chrome, but now i
can't test on Chrome anymore..this is a major problem for me...
any help would be appreciated .

On Feb 3, 6:02 pm, Steve Lancey steve.lan...@gmail.com wrote:
 Same here

 On Jan 19, 3:05 pm, Isac isacsso...@gmail.com wrote:



  Hi, I have recently updated the GWT SDK from 1.5.3 to 2.0.0 on a
  project. I managed to fix all issues but one.
  I can't use the development mode withchrome. The login page of my
  application loads perfectly but when I try to log in (i.e. make an
  RPC) I get the following error:
  code
  com.google.gwt.core.client.JavaScriptException: (Error): Error
  calling
  method on NPObject! stack: Error: Error calling method on NPObject!
  at
  eval at eval (native v8natives.js:132:1) at unknown source at
  __gwt_jsInvoke (http://grapple:8087/hosted.html:70:35) at Array.0
  (eval at eval (native
  v8natives.js:132:1)) at Object. (unknown source) at __gwt_jsInvoke
  (http://grapple:8087/hosted.html?:70:35) at
  Array.1 (eval at eval (native v8natives.js:132:1)) at Object.
  (unknown
  source) at __gwt_jsInvoke (http://grapple:8087/hosted.html:70:35) at
  Array.1 (eval at eval (native
  v8natives.js:132:1)) __gwt_ObjectId: 2835 at
  com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript
  (BrowserChannelServer.java:195) at
  com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke
  (ModuleSpaceOOPHM.java:120) at
  com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
  507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid
  (ModuleSpace.java:284) at
  com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid
  (JavaScriptHost.java:107) at
  com.google.gwt.user.client.rpc.impl.SerializerBase$MethodMap
  $.deserialize$(SerializerBase.java) at
  com.google.gwt.user.client.rpc.impl.SerializerBase.deserialize
  (SerializerBase.java:124) at
  com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deseria
  lize
  (ClientSerializationStreamReader.java:116) at
  com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readO
  bject
  (AbstractSerializationStreamReader.java:61) at
  com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter
  $ResponseReader$8.read(RequestCallbackAdapter.java:104) at
  com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceiv
  ed
  (RequestCallbackAdapter.java:197) at
  com.google.gwt.http.client.Request.fireOnResponseReceived
  (Request.java:
  287) at com.google.gwt.http.client.RequestBuilder
  $1.onReadyStateChange
  (RequestBuilder.java:396) at
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
  sun.reflect.NativeMethodAccessorImpl.invoke
  (NativeMethodAccessorImpl.java:39) at
  sun.reflect.DelegatingMethodAccessorImpl.invoke
  (DelegatingMethodAccessorImpl.java:25) at
  java.lang.reflect.Method.invoke(Method.java:597) at
  com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
  at com.google.gwt.dev.shell.MethodDispatch.invoke
  (MethodDispatch.java:
  71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke
  (OophmSessionHandler.java:157) at
  com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForRetur
  n
  (BrowserChannel.java:1713) at
  com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript
  (BrowserChannelServer.java:165) at
  com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke
  (ModuleSpaceOOPHM.java:120) at
  com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
  507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject
  (ModuleSpace.java:264) at
  com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject
  (JavaScriptHost.java:91) at
  com.google.gwt.core.client.impl.Impl.apply
  (Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:
  188) at sun.reflect.GeneratedMethodAccessor231.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke
  (DelegatingMethodAccessorImpl.java:25) at
  java.lang.reflect.Method.invoke(Method.java:597) at
  com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
  at com.google.gwt.dev.shell.MethodDispatch.invoke
  (MethodDispatch.java:
  71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke
  (OophmSessionHandler.java:157) at
  com.google.gwt.dev.shell.BrowserChannel.reactToMessages
  (BrowserChannel.java:1668) at
  com.google.gwt.dev.shell.BrowserChannelServer.processConnection
  (BrowserChannelServer.java:401) at
  com.google.gwt.dev.shell.BrowserChannelServer.run
  (BrowserChannelServer.java:222) at java.lang.Thread.run(Thread.java:
  619)
  /code
  I am usingChrome4.0.295.0 andDeveloperplugin1.0.7263.
  The Development mode works fine on FF and IE.
  Do you have any idea of what is going on?
  Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.

Re: Problem with gwt 2.0.2

2010-02-19 Thread Trevor Skaife
Starting with gwt 2.0.0 there are no os specific jars.

On Feb 19, 5:27 am, glascaleia glascal...@gmail.com wrote:
 Hi all,
 i have a problem with gwt 2.0.2. I downloaded the zip and i created a
 maven project with the dependencies from gwt-user , gwt-dev and gwt-
 servlet

 This is part of my pom.xml
 !--  GWT deps (from central repo) --
                 dependency
                         groupIdcom.google.gwt/groupId
                         artifactIdgwt-servlet/artifactId
                         version${gwtVersion}/version
                         scoperuntime/scope
                 /dependency
                 dependency
                         groupIdcom.google.gwt/groupId
                         artifactIdgwt-user/artifactId
                         version${gwtVersion}/version
                         scopeprovided/scope
                 /dependency
                 dependency
                         groupIdcom.google.gwt/groupId
                         artifactIdgwt-dev/artifactId
                         version${gwtVersion}/version
                         classifier${platform}-libs/classifier
                         typezip/type
                         scopeprovided/scope
                 /dependency
                 dependency
                         groupIdcom.google.gwt/groupId
                         artifactIdgwt-dev/artifactId
                         version${gwtVersion}/version
                         classifier${platform}/classifier
                         scopeprovided/scope
                 /dependency
 In the gwt-2.0.2.zip i have not found the gwt-dev library for mac
 platform and with mvn clean install i have the error because not found
 gwt-dev mac library .zip
 Any help???
 Regards Giuseppe

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@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 with gwt 2.0.2

2010-02-19 Thread Giuseppe La Scaleia
Yes thanks for replay, i have resolved .

2010/2/19 Trevor Skaife tska...@gmail.com

 Starting with gwt 2.0.0 there are no os specific jars.

 On Feb 19, 5:27 am, glascaleia glascal...@gmail.com wrote:
  Hi all,
  i have a problem with gwt 2.0.2. I downloaded the zip and i created a
  maven project with the dependencies from gwt-user , gwt-dev and gwt-
  servlet
 
  This is part of my pom.xml
  !--  GWT deps (from central repo) --
  dependency
  groupIdcom.google.gwt/groupId
  artifactIdgwt-servlet/artifactId
  version${gwtVersion}/version
  scoperuntime/scope
  /dependency
  dependency
  groupIdcom.google.gwt/groupId
  artifactIdgwt-user/artifactId
  version${gwtVersion}/version
  scopeprovided/scope
  /dependency
  dependency
  groupIdcom.google.gwt/groupId
  artifactIdgwt-dev/artifactId
  version${gwtVersion}/version
  classifier${platform}-libs/classifier
  typezip/type
  scopeprovided/scope
  /dependency
  dependency
  groupIdcom.google.gwt/groupId
  artifactIdgwt-dev/artifactId
  version${gwtVersion}/version
  classifier${platform}/classifier
  scopeprovided/scope
  /dependency
  In the gwt-2.0.2.zip i have not found the gwt-dev library for mac
  platform and with mvn clean install i have the error because not found
  gwt-dev mac library .zip
  Any help???
  Regards Giuseppe

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



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@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 with GWT 2.0 Chrome developer plugin

2010-02-03 Thread Steve Lancey
Same here

On Jan 19, 3:05 pm, Isac isacsso...@gmail.com wrote:
 Hi, I have recently updated the GWT SDK from 1.5.3 to 2.0.0 on a
 project. I managed to fix all issues but one.
 I can't use the development mode with chrome. The login page of my
 application loads perfectly but when I try to log in (i.e. make an
 RPC) I get the following error:
 code
 com.google.gwt.core.client.JavaScriptException: (Error): Error
 calling
 method on NPObject! stack: Error: Error calling method on NPObject!
 at
 eval at eval (native v8natives.js:132:1) at unknown source at
 __gwt_jsInvoke (http://grapple:8087/hosted.html:70:35) at Array.0
 (eval at eval (native
 v8natives.js:132:1)) at Object. (unknown source) at __gwt_jsInvoke
 (http://grapple:8087/hosted.html?:70:35) at
 Array.1 (eval at eval (native v8natives.js:132:1)) at Object.
 (unknown
 source) at __gwt_jsInvoke (http://grapple:8087/hosted.html:70:35) at
 Array.1 (eval at eval (native
 v8natives.js:132:1)) __gwt_ObjectId: 2835 at
 com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript
 (BrowserChannelServer.java:195) at
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke
 (ModuleSpaceOOPHM.java:120) at
 com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
 507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid
 (ModuleSpace.java:284) at
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid
 (JavaScriptHost.java:107) at
 com.google.gwt.user.client.rpc.impl.SerializerBase$MethodMap
 $.deserialize$(SerializerBase.java) at
 com.google.gwt.user.client.rpc.impl.SerializerBase.deserialize
 (SerializerBase.java:124) at
 com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deseria
 lize
 (ClientSerializationStreamReader.java:116) at
 com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readO
 bject
 (AbstractSerializationStreamReader.java:61) at
 com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter
 $ResponseReader$8.read(RequestCallbackAdapter.java:104) at
 com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceiv
 ed
 (RequestCallbackAdapter.java:197) at
 com.google.gwt.http.client.Request.fireOnResponseReceived
 (Request.java:
 287) at com.google.gwt.http.client.RequestBuilder
 $1.onReadyStateChange
 (RequestBuilder.java:396) at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
 sun.reflect.NativeMethodAccessorImpl.invoke
 (NativeMethodAccessorImpl.java:39) at
 sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAccessorImpl.java:25) at
 java.lang.reflect.Method.invoke(Method.java:597) at
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
 at com.google.gwt.dev.shell.MethodDispatch.invoke
 (MethodDispatch.java:
 71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke
 (OophmSessionHandler.java:157) at
 com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForRetur
 n
 (BrowserChannel.java:1713) at
 com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript
 (BrowserChannelServer.java:165) at
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke
 (ModuleSpaceOOPHM.java:120) at
 com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
 507) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject
 (ModuleSpace.java:264) at
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject
 (JavaScriptHost.java:91) at
 com.google.gwt.core.client.impl.Impl.apply
 (Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:
 188) at sun.reflect.GeneratedMethodAccessor231.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAccessorImpl.java:25) at
 java.lang.reflect.Method.invoke(Method.java:597) at
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
 at com.google.gwt.dev.shell.MethodDispatch.invoke
 (MethodDispatch.java:
 71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke
 (OophmSessionHandler.java:157) at
 com.google.gwt.dev.shell.BrowserChannel.reactToMessages
 (BrowserChannel.java:1668) at
 com.google.gwt.dev.shell.BrowserChannelServer.processConnection
 (BrowserChannelServer.java:401) at
 com.google.gwt.dev.shell.BrowserChannelServer.run
 (BrowserChannelServer.java:222) at java.lang.Thread.run(Thread.java:
 619)
 /code
 I am using Chrome 4.0.295.0 and Developer plugin 1.0.7263.
 The Development mode works fine on FF and IE.
 Do you have any idea of what is going on?
 Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@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 with GWT DialogBox

2009-10-28 Thread Dinis

I've been tracking the problem. It seems the cause of the problem is
setting the dialogBox animation ON [dialogBox.setAnimationEnabled
(true);]
But still I don't know why, I'm using other dialogBox'es in the
program and they draw correctly with animation ON on every browsers.

Any ideas?

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



Re: Problem with GWT installation - configuration

2009-09-10 Thread Prosky

How integrate COMObject.class? Nobody answer?

Thank's.

On 9 Set, 19:30, Prosky metticelasempretu...@hotmail.it wrote:
 Good evening user's, i have a small problem with a configuration of
 the classpath of my project. Infact during the debugging of the
 project (the structure of the project is visible at the end of the
 post) the GWTLog signals the following error:

 [ERROR] Unable to load module entry point class
 org.unicam.resourceome.web.portal.client.Portal (see associated
 exception for details)
 com.google.gwt.core.client.JavaScriptException: (TypeError): Object
 doesn't support property or method
 number: -2146827850
 description: Proprietà o metodo non supportati dall'oggetto
 at
 org.unicam.gwt.graphics.client.canvas.impl.GWTCanvasImplDefault.createElement
 (Native Method)
 at org.unicam.gwt.graphics.client.canvas.GWTCanvas.init
 (GWTCanvas.java:138)
 at org.unicam.gwt.graphics.client.GWTGraphicsView.init
 (GWTGraphicsView.java:42)
 at org.unicam.gwt.graphics.client.GWTGraphicsView.init
 (GWTGraphicsView.java:38)
 at org.unicam.resourceome.web.portal.client.Portal.onModuleLoad
 (Portal.java:198)

 and in particular in eclipse escape a windows Class COMObject.class
 Not Found that say that the jar file dev-windows.jar has no source
 attchment (but the source i think that is correct because is the
 folder where i have unzipped GWT.

 Is there any person that can help me? Thank you for the quickly answer
 (sorry for the bad english).

 STRUCTURE OF PROJECT - TWO MODULE

 FRIST MODULE (CALL PORTAL) THAT IMPLEMENT ENTRY POINT:

 --src
 --org.unicam.resourceome.web.portal
 -Portal.gwt.xml
 --org.unicam.resourceome.web.portal.client
 --org.unicam.resourceome.web.portal.client.grappa.parser
 --org.unicam.resourceome.web.portal.server

 SECOND SUPPORT MODULE (CALL CANVASGRAPHICS) THAT NOT IMPLEMENT ENTRY
 POINT:

 --src
 --org.unicam.gwt.graphics
 -CanvasGraphics.gwt.xml
 --org.unicam.gwt.graphics.client
 --org.unicam.gwt.graphics.client.canvas
 --org.unicam.gwt.graphics.client.canvas.impl
 --org.unicam.gwt.graphics.client.core
 --org.unicam.gwt.graphics.client.data.graph
 --org.unicam.gwt.graphics.client.data.graph.event
 --org.unicam.gwt.graphics.client.data.graph.listener
 --org.unicam.gwt.graphics.client.event
 --org.unicam.gwt.graphics.client.graph
 --org.unicam.gwt.graphics.client.listeners
 --org.unicam.gwt.graphics.client.shapes

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



Re: Problem with GWT Project Configuration - Inherits Module Problem

2009-09-04 Thread Prosky

Hi Rahul, thank you for the answer. I already look the getting started
guide but don't solve my problem.
Now we try to post the .xml file of each module. Maybe there is a
persone that help me.

The .xml file of module Portal that implements the entry point is
that:

module rename-to='portal'
inherits name='com.google.gwt.user.User' /
inherits name='com.google.gwt.user.theme.standard.Standard' /

inherits name=org.unicam.gwt.graphics.CanvasGraphics/

entry-point class='org.unicam.resourceome.web.portal.client.Portal' /

/module


The .xml file of module CanvasGraphics without entry point is that:

module rename-to='canvasgraphics'

inherits name='com.google.gwt.user.User' /
inherits name=com.google.gwt.xml.XML /

replace-with

class=org.unicam.gwt.graphics.client.canvas.impl.GWTCanvasImplDefault
when-type-is

class=org.unicam.gwt.graphics.client.canvas.impl.GWTCanvasImpl /
/replace-with

replace-with

class=org.unicam.gwt.graphics.client.canvas.impl.GradientFactoryImplDefault
when-type-is
class=org.unicam.gwt.graphics.client.canvas.GradientFactory /
/replace-with
/module

Can someone help me or suggest the solution?

If i must give more information about the application is not the
problem. Thank tou another time for the answer, sorry for this bad
english.



On 31 Ago, 20:03, Rahul coolrahul18...@gmail.com wrote:
 Hi,
 Yes there is some configuration problem with your project but i amunableto 
 solve it

 but this getting started 
 guidehttp://code.google.com/webtoolkit/tutorials/1.6/gettingstarted.html

 tells how to configure your classpath correctly

 On Aug 31, 6:21 am, Prosky metticelasempretu...@hotmail.it wrote:

  Good morning to all users of the forum; i am a new user and i have a
  small problem with a gwt project.
  The Project is constituted by onemodulethat is called Portal, that
  contain theentrypointclass, and by anothersupportmodulethat is
  called Canvas, that not contain anotherentrypoint.
  The project is completely but i can't execute him because i don't
  configurate the classhopath in the correctly mode.
  Infact during the execution i have this problem:

  [ERROR]Unabletoloadmoduleentrypointclass
  org.unicam.resourceome.web.portal.client.Portal (see associated
  exception for details)
  com.google.gwt.core.client.JavaScriptException: (TypeError):Property
  ormethoddoesn'tsupportby theobject
   number: -2146827850
   description:Propertyormethoddoesn'tsupportby theobject
          at
  org.unicam.gwt.graphics.client.canvas.impl.GWTCanvasImplDefault.createElement
  (NativeMethod)
          at org.unicam.gwt.graphics.client.canvas.GWTCanvas.init
  (GWTCanvas.java:138)
          at org.unicam.gwt.graphics.client.GWTGraphicsView.init
  (GWTGraphicsView.java:42)
          at org.unicam.gwt.graphics.client.GWTGraphicsView.init
  (GWTGraphicsView.java:38)
          at org.unicam.resourceome.web.portal.client.Portal.onModuleLoad
  (Portal.java:198)

  I would want to be more precise in the description but i don't speek a
  good english. Since the project is concluded and the problem of
  configuration should easily be resolvable there is a person exists to
  which could kindly pass the project so that you worry him about to
  directly resolve me him?

  Sorry for the bad english, thank you for the quickly answer. Bye.
  Marco.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Problem with GWT Project Configuration - Inherits Module Problem

2009-08-31 Thread Rahul

Hi,
Yes there is some configuration problem with your project but i am
unable to solve it

but this getting started guide
http://code.google.com/webtoolkit/tutorials/1.6/gettingstarted.html

tells how to configure your classpath correctly


On Aug 31, 6:21 am, Prosky metticelasempretu...@hotmail.it wrote:
 Good morning to all users of the forum; i am a new user and i have a
 small problem with a gwt project.
 The Project is constituted by one module that is called Portal, that
 contain the entry point class, and by another support module that is
 called Canvas, that not contain another entry point.
 The project is completely but i can't execute him because i don't
 configurate the classhopath in the correctly mode.
 Infact during the execution i have this problem:

 [ERROR] Unable to load module entry point class
 org.unicam.resourceome.web.portal.client.Portal (see associated
 exception for details)
 com.google.gwt.core.client.JavaScriptException: (TypeError): Property
 or method doesn't support by the object
  number: -2146827850
  description: Property or method doesn't support by the object
         at
 org.unicam.gwt.graphics.client.canvas.impl.GWTCanvasImplDefault.createElement
 (Native Method)
         at org.unicam.gwt.graphics.client.canvas.GWTCanvas.init
 (GWTCanvas.java:138)
         at org.unicam.gwt.graphics.client.GWTGraphicsView.init
 (GWTGraphicsView.java:42)
         at org.unicam.gwt.graphics.client.GWTGraphicsView.init
 (GWTGraphicsView.java:38)
         at org.unicam.resourceome.web.portal.client.Portal.onModuleLoad
 (Portal.java:198)

 I would want to be more precise in the description but i don't speek a
 good english. Since the project is concluded and the problem of
 configuration should easily be resolvable there is a person exists to
 which could kindly pass the project so that you worry him about to
 directly resolve me him?

 Sorry for the bad english, thank you for the quickly answer. Bye.
 Marco.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Problem with GWT RPC when parameter contains collection.

2009-08-22 Thread DaveS

Have you tried enabling debugging in the browser, to see if any JS
exceptions are being thrown?

On Aug 21, 7:01 pm, Arkady arka...@gmail.com wrote:
 Actually the request is never posted and therefore never arrives to
 the impl class. I suspect that the problem is with the serialization
 of the MyItem class.

 On Aug 20, 5:42 pm, tolga ozdemir tka...@gmail.com wrote:

  Can you post the method of your impl class here to investigate the
  problem? I do not know yet but maybe my sample helps you to compare
  your code as well..

 http://www.tolgaozdemir.net/2009/08/19/gwt-101-lessons-2-gwt-17-with-...

  On Aug 20, 11:37 pm, Arkady arka...@gmail.com wrote:

   I am having problem with GWT RPC in the following scenario.

   I have a service:

   public interface MyService extends RemoteService {

         public MyResult getMyResult(MyParam param);

   }

   with corresponding Async version and Impl version. MyParam class
   contains ArrayListMyItem:

   public class MyParam implements Serializable {
      private ArrayListMyItem items;

      public MyParam() {

      }

      public MyParam(ArrayListMyItem items) {
            this.items = items;
      }

      public ArrayListMyItem getItems() {
            return items;
      }

      public void setItems(ArrayListMyItem items) {
            this.items = items;
      }

   }

   public class MyItem implements Serializable {

   }

   When I invoke getMyResult(new MyParam(new ArrayListMyItem()))
   everything works fine and the execution reaches the Impl class on the
   server. But if I invoke getMyResult() with non-empty list of items the
   request is never posted to the server and there is no exception in the
   log.

   Any help will be greatly appreciated.

   Thanks.- Hide quoted text -

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



Re: Problem with GWT RPC when parameter contains collection.

2009-08-22 Thread Yanick

On Aug 21, 2:01 pm, Arkady arka...@gmail.com wrote:
 Actually the request is never posted and therefore never arrives to
 the impl class. I suspect that the problem is with the serialization
 of the MyItem class.


Your interface may be serializable, but are all your fields also
serializable in your implementations of this class? (ie. are all
members of AItem extends MyItem serializable?)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Problem with GWT RPC when parameter contains collection.

2009-08-21 Thread Arkady

Actually the request is never posted and therefore never arrives to
the impl class. I suspect that the problem is with the serialization
of the MyItem class.

On Aug 20, 5:42 pm, tolga ozdemir tka...@gmail.com wrote:
 Can you post the method of your impl class here to investigate the
 problem? I do not know yet but maybe my sample helps you to compare
 your code as well..

 http://www.tolgaozdemir.net/2009/08/19/gwt-101-lessons-2-gwt-17-with-...

 On Aug 20, 11:37 pm, Arkady arka...@gmail.com wrote:



  I am having problem with GWT RPC in the following scenario.

  I have a service:

  public interface MyService extends RemoteService {

        public MyResult getMyResult(MyParam param);

  }

  with corresponding Async version and Impl version. MyParam class
  contains ArrayListMyItem:

  public class MyParam implements Serializable {
     private ArrayListMyItem items;

     public MyParam() {

     }

     public MyParam(ArrayListMyItem items) {
           this.items = items;
     }

     public ArrayListMyItem getItems() {
           return items;
     }

     public void setItems(ArrayListMyItem items) {
           this.items = items;
     }

  }

  public class MyItem implements Serializable {

  }

  When I invoke getMyResult(new MyParam(new ArrayListMyItem()))
  everything works fine and the execution reaches the Impl class on the
  server. But if I invoke getMyResult() with non-empty list of items the
  request is never posted to the server and there is no exception in the
  log.

  Any help will be greatly appreciated.

  Thanks.- Hide quoted text -

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



Re: Problem with GWT RPC when parameter contains collection.

2009-08-20 Thread tolga ozdemir

Can you post the method of your impl class here to investigate the
problem? I do not know yet but maybe my sample helps you to compare
your code as well..

http://www.tolgaozdemir.net/2009/08/19/gwt-101-lessons-2-gwt-17-with-hibernate-3/





On Aug 20, 11:37 pm, Arkady arka...@gmail.com wrote:
 I am having problem with GWT RPC in the following scenario.

 I have a service:

 public interface MyService extends RemoteService {

       public MyResult getMyResult(MyParam param);

 }

 with corresponding Async version and Impl version. MyParam class
 contains ArrayListMyItem:

 public class MyParam implements Serializable {
    private ArrayListMyItem items;

    public MyParam() {

    }

    public MyParam(ArrayListMyItem items) {
          this.items = items;
    }

    public ArrayListMyItem getItems() {
          return items;
    }

    public void setItems(ArrayListMyItem items) {
          this.items = items;
    }

 }

 public class MyItem implements Serializable {

 }

 When I invoke getMyResult(new MyParam(new ArrayListMyItem()))
 everything works fine and the execution reaches the Impl class on the
 server. But if I invoke getMyResult() with non-empty list of items the
 request is never posted to the server and there is no exception in the
 log.

 Any help will be greatly appreciated.

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



Re: Problem with GWT tutorial - Making Remote Procedure Calls

2009-05-19 Thread John

Guys,

Sorry for the thread, i found my mistake.

When creating the StockPriceServiceImpl instead of ticking the
'Inherited abstract methods' i ticked 'abstract', so the servlet
class was created as abstract, thus the container couldn't instantiate
it. Removing the declaration fixed the problem.

Cheers,
John

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



Re: Problem with GWT Widget Printing

2009-04-07 Thread Andre Freller
Hi Jay,
I was wondering if DOM.toString() works too on 1.4, I tested and it does
work.

I'll post a new version so it will work on 1.5 too.

Regards,
Freller


On Mon, Apr 6, 2009 at 14:42, jay jay.gin...@gmail.com wrote:


 I'm not sure what you're asking... If you're asking if you can pass a
 DOM element to your it method and have it work, then in 1.5 the
 answer is no...the implicit toString() call won't do what it does in
 1.4. Which is why in 1.5 you need to use the DOM.toString() method...

 (If you're asking something else, then I apologize for not answering
 it.)

 jay

 On Apr 5, 9:31 am, Freller andre.frel...@gmail.com wrote:
  The beauty of open source! I haven't migrated to 1.5 yet, so this
  error is new to me.
  We will jump directly to 1.6. The Print class boil down to :
 
  public static void it(String html) {
  try {
  buildFrame(html);
  DeferredCommand.add(printFrameCommmand);
  } catch (Throwable exc) {
  Window.alert(exc.getMessage());
  }
  }
 
  public static void it(String style, String it) {
  it(htmlhead+style+/head\nbody+it+/body/
  html);
  }
 
  I did that so we could print both DOM elements and strings.
  Perhaps I should treat DOM elements diferently adding them to the DOM
  instead
  of using the toString method? Anybody know if this will render faster
  and/or more
  correct prints?
 
  Jay, does this work for both 1.4 and 1.5 or it'll only work on 1.5?
 
  Regards,
  Freller
 
  On Apr 3, 6:27 pm, jay jay.gin...@gmail.com wrote:
 
 
 
   It seems that prior to GWT 1.5, element.toString() did the right
   thing. When I moved to GWT 1.5.3, I had to switch to using
   DOM.toString( elem );
 
   jay
 


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



Re: Problem with GWT Widget Printing

2009-04-06 Thread HommeDeJava

Greetings,

How about replacing DeferredCommand.add(printFrameCommmand); which is
deprecated
by DeferredCommand.addCommand(printFrameCommmand);

Claude

On Apr 5, 12:31 pm, Freller andre.frel...@gmail.com wrote:
 The beauty of open source! I haven't migrated to 1.5 yet, so this
 error is new to me.
 We will jump directly to 1.6. The Print class boil down to :

     public static void it(String html) {
         try {
             buildFrame(html);
             DeferredCommand.add(printFrameCommmand);
         } catch (Throwable exc) {
             Window.alert(exc.getMessage());
         }
     }

     public static void it(String style, String it) {
         it(htmlhead+style+/head\nbody+it+/body/
 html);
     }

 I did that so we could print both DOM elements and strings.
 Perhaps I should treat DOM elements diferently adding them to the DOM
 instead
 of using the toString method? Anybody know if this will render faster
 and/or more
 correct prints?

 Jay, does this work for both 1.4 and 1.5 or it'll only work on 1.5?

 Regards,
 Freller

 On Apr 3, 6:27 pm, jay jay.gin...@gmail.com wrote:

  It seems that prior to GWT 1.5, element.toString() did the right
  thing. When I moved to GWT 1.5.3, I had to switch to using
  DOM.toString( elem );

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



Re: Problem with GWT Widget Printing

2009-04-06 Thread jay

I'm not sure what you're asking... If you're asking if you can pass a
DOM element to your it method and have it work, then in 1.5 the
answer is no...the implicit toString() call won't do what it does in
1.4. Which is why in 1.5 you need to use the DOM.toString() method...

(If you're asking something else, then I apologize for not answering
it.)

jay

On Apr 5, 9:31 am, Freller andre.frel...@gmail.com wrote:
 The beauty of open source! I haven't migrated to 1.5 yet, so this
 error is new to me.
 We will jump directly to 1.6. The Print class boil down to :

     public static void it(String html) {
         try {
             buildFrame(html);
             DeferredCommand.add(printFrameCommmand);
         } catch (Throwable exc) {
             Window.alert(exc.getMessage());
         }
     }

     public static void it(String style, String it) {
         it(htmlhead+style+/head\nbody+it+/body/
 html);
     }

 I did that so we could print both DOM elements and strings.
 Perhaps I should treat DOM elements diferently adding them to the DOM
 instead
 of using the toString method? Anybody know if this will render faster
 and/or more
 correct prints?

 Jay, does this work for both 1.4 and 1.5 or it'll only work on 1.5?

 Regards,
 Freller

 On Apr 3, 6:27 pm, jay jay.gin...@gmail.com wrote:



  It seems that prior to GWT 1.5, element.toString() did the right
  thing. When I moved to GWT 1.5.3, I had to switch to using
  DOM.toString( elem );

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



Re: Problem with GWT Widget Printing

2009-04-06 Thread HommeDeJava

Hi Jay,

It's working fine now with the DOM.toString() method you have
suggested

I was speaking about the deprecated method DeferredCommand.add...

Sorry if I had been confusing!

Thanks a lot for your great solution!

Claude

On Apr 6, 1:42 pm, jay jay.gin...@gmail.com wrote:
 I'm not sure what you're asking... If you're asking if you can pass a
 DOM element to your it method and have it work, then in 1.5 the
 answer is no...the implicit toString() call won't do what it does in
 1.4. Which is why in 1.5 you need to use the DOM.toString() method...

 (If you're asking something else, then I apologize for not answering
 it.)

 jay

 On Apr 5, 9:31 am, Freller andre.frel...@gmail.com wrote:

  The beauty of open source! I haven't migrated to 1.5 yet, so this
  error is new to me.
  We will jump directly to 1.6. The Print class boil down to :

      public static void it(String html) {
          try {
              buildFrame(html);
              DeferredCommand.add(printFrameCommmand);
          } catch (Throwable exc) {
              Window.alert(exc.getMessage());
          }
      }

      public static void it(String style, String it) {
          it(htmlhead+style+/head\nbody+it+/body/
  html);
      }

  I did that so we could print both DOM elements and strings.
  Perhaps I should treat DOM elements diferently adding them to the DOM
  instead
  of using the toString method? Anybody know if this will render faster
  and/or more
  correct prints?

  Jay, does this work for both 1.4 and 1.5 or it'll only work on 1.5?

  Regards,
  Freller

  On Apr 3, 6:27 pm, jay jay.gin...@gmail.com wrote:

   It seems that prior to GWT 1.5, element.toString() did the right
   thing. When I moved to GWT 1.5.3, I had to switch to using
   DOM.toString( elem );

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



Re: Problem with GWT Widget Printing

2009-04-05 Thread Freller


The beauty of open source! I haven't migrated to 1.5 yet, so this
error is new to me.
We will jump directly to 1.6. The Print class boil down to :

public static void it(String html) {
try {
buildFrame(html);
DeferredCommand.add(printFrameCommmand);
} catch (Throwable exc) {
Window.alert(exc.getMessage());
}
}

public static void it(String style, String it) {
it(htmlhead+style+/head\nbody+it+/body/
html);
}

I did that so we could print both DOM elements and strings.
Perhaps I should treat DOM elements diferently adding them to the DOM
instead
of using the toString method? Anybody know if this will render faster
and/or more
correct prints?

Jay, does this work for both 1.4 and 1.5 or it'll only work on 1.5?

Regards,
Freller



On Apr 3, 6:27 pm, jay jay.gin...@gmail.com wrote:
 It seems that prior to GWT 1.5, element.toString() did the right
 thing. When I moved to GWT 1.5.3, I had to switch to using
 DOM.toString( elem );

 jay

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



Re: Problem with GWT Widget Printing

2009-04-03 Thread jay

It seems that prior to GWT 1.5, element.toString() did the right
thing. When I moved to GWT 1.5.3, I had to switch to using
DOM.toString( elem );

jay

On Apr 3, 11:53 am, HommeDeJava claude.coulo...@gmail.com wrote:
 Greetings folks,

 I have an application developed in GWT and I would like to print tall
 GWT widgets (i.e. taller than one page).
 I found a method that works with Safari and Chrome browsers but it
 didn't work with FireFox.
 Maybe, it's related to the fact that Safari and Chrome are based on
 the Webkit html rendering technology while Firefox is based on Gecko.

 Anyway, I have tried to find a new approach.

 So, I have just tested the Print class from Andre Freller (the latest
 version) in order to print GWT widgets.

 http://groups.google.com.my/group/Google-Web-Toolkit/browse_thread/th...

 I don't know why but in all my tests trying to print any widget (even
 a short one) result in printing a frustratng (toString()) type of
 message like [object HTMLDivElement] or [object]

 Many people seems to succeed using this code, so I'm wondering what I
 could missed...

 So, I'm posting on the GWT Google Group, maybe someone else has
 encountered the same problem and found a solution.

 I've done my test using Windows XP,  GWT 1.5.3 and FireFox 3.0.8,
 Chrome, IE 7 and Safari 3

 So below, you will find the code have wrote to benchmark along with
 the printing class

 Thanks fo any help you can provide

 Claude Coulombe
 OpenSyllabus project
 Montreal

 --- 
 -
 the PrintTest.html file
 --- 
 -

 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 html
   head
     meta http-equiv=content-type content=text/html;
 charset=UTF-8
     !--                                           --
     !-- Any title is fine                     --
     !--                                           --
     titlePrintTest/title

     !--                                           --
     !-- This script loads your compiled module.   --
     !-- If you add any GWT meta tags, they must   --
     !-- be added before this line.                --
     !--                                           --
     script type=text/javascript language=javascript
 src=br.com.freller.tool.PrintTest.nocache.js/script
   /head

   !--                                           --
   !-- The body can have arbitrary html, or      --
   !-- you can leave the body empty if you want  --
   !-- to create a completely dynamic UI.        --
   !--                                           --
   body

      !-- Test Andre Freller Printing Class --
         iframe id=__printingFrame style=width:0;height:0;border:0/
 iframe
         div id=printPageButton/div
         div id=printWidgetButton/div
         div id=printDOMByIdButton/div
         div id=printStyleWidgetButton/div
         div id=tallWidget/div

   /body
 /html

 --- 
 -
 the PaperPrintTest.css file
 --- 
 -

 body {
         float:none;
         position:relative;
         background-color: white;
         overflow: visible;

 }

 .TallWidgetStyle {
         background-color: #C3D9FF;
         padding: 2px;
         margin: 2px;
         font-size: 10px;
         font-weight: normal;}

 .TallWidgetPaperStyle {
         float:none;
         position:relative;
         background-color: white;
         overflow: visible;
         font-weight: bold;

 }

 --- 
 -
 the PrintTest.gwt.xml file
 --- 
 -
 module

       !-- Inherit the core Web Toolkit stuff.
 --
       inherits name='com.google.gwt.user.User'/

       !-- Inherit the default GWT style sheet.  You can change
 --
       !-- the theme of your GWT application by uncommenting
 --
       !-- any one of the following lines.
 --
       inherits name='com.google.gwt.user.theme.standard.Standard'/
       !-- inherits name='com.google.gwt.user.theme.chrome.Chrome'/
 --
       !-- inherits name='com.google.gwt.user.theme.dark.Dark'/
 --

       !-- Other module inherits
 --

       !-- Specify the app entry point class.
 --
       entry-point class='br.com.freller.tool.client.PrintTest'/

       !-- Specify the application specific style sheet.
 --
       stylesheet src='PaperPrintTest.css' /

 /module
 --- 
 -
 the Print.java file (the Printing class from Andre Freller)
 --- 
 -

 package br.com.freller.tool.client;

 /**
  * pre
  * 

Re: Problem with GWT Widget Printing

2009-04-03 Thread HommeDeJava

Hi Jay,

Using DOM.toString(obj.getElement()) I get something more usable.
no more  [object HTMLDivElement] or [object]

There's still some problems but I'm out of the dark age!

Thank you so much!

Claude

On Apr 3, 5:27 pm, jay jay.gin...@gmail.com wrote:
 It seems that prior to GWT 1.5, element.toString() did the right
 thing. When I moved to GWT 1.5.3, I had to switch to using
 DOM.toString( elem );

 jay

 On Apr 3, 11:53 am, HommeDeJava claude.coulo...@gmail.com wrote:

  Greetings folks,

  I have an application developed in GWT and I would like to print tall
  GWT widgets (i.e. taller than one page).
  I found a method that works with Safari and Chrome browsers but it
  didn't work with FireFox.
  Maybe, it's related to the fact that Safari and Chrome are based on
  the Webkit html rendering technology while Firefox is based on Gecko.

  Anyway, I have tried to find a new approach.

  So, I have just tested the Print class from Andre Freller (the latest
  version) in order to print GWT widgets.

 http://groups.google.com.my/group/Google-Web-Toolkit/browse_thread/th...

  I don't know why but in all my tests trying to print any widget (even
  a short one) result in printing a frustratng (toString()) type of
  message like [object HTMLDivElement] or [object]

  Many people seems to succeed using this code, so I'm wondering what I
  could missed...

  So, I'm posting on the GWT Google Group, maybe someone else has
  encountered the same problem and found a solution.

  I've done my test using Windows XP,  GWT 1.5.3 and FireFox 3.0.8,
  Chrome, IE 7 and Safari 3

  So below, you will find the code have wrote to benchmark along with
  the printing class

  Thanks fo any help you can provide

  Claude Coulombe
  OpenSyllabus project
  Montreal

  --- 
  -
  the PrintTest.html file
  --- 
  -

  !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
  html
    head
      meta http-equiv=content-type content=text/html;
  charset=UTF-8
      !--                                           --
      !-- Any title is fine                     --
      !--                                           --
      titlePrintTest/title

      !--                                           --
      !-- This script loads your compiled module.   --
      !-- If you add any GWT meta tags, they must   --
      !-- be added before this line.                --
      !--                                           --
      script type=text/javascript language=javascript
  src=br.com.freller.tool.PrintTest.nocache.js/script
    /head

    !--                                           --
    !-- The body can have arbitrary html, or      --
    !-- you can leave the body empty if you want  --
    !-- to create a completely dynamic UI.        --
    !--                                           --
    body

       !-- Test Andre Freller Printing Class --
          iframe id=__printingFrame style=width:0;height:0;border:0/
  iframe
          div id=printPageButton/div
          div id=printWidgetButton/div
          div id=printDOMByIdButton/div
          div id=printStyleWidgetButton/div
          div id=tallWidget/div

    /body
  /html

  --- 
  -
  the PaperPrintTest.css file
  --- 
  -

  body {
          float:none;
          position:relative;
          background-color: white;
          overflow: visible;

  }

  .TallWidgetStyle {
          background-color: #C3D9FF;
          padding: 2px;
          margin: 2px;
          font-size: 10px;
          font-weight: normal;}

  .TallWidgetPaperStyle {
          float:none;
          position:relative;
          background-color: white;
          overflow: visible;
          font-weight: bold;

  }

  --- 
  -
  the PrintTest.gwt.xml file
  --- 
  -
  module

        !-- Inherit the core Web Toolkit stuff.
  --
        inherits name='com.google.gwt.user.User'/

        !-- Inherit the default GWT style sheet.  You can change
  --
        !-- the theme of your GWT application by uncommenting
  --
        !-- any one of the following lines.
  --
        inherits name='com.google.gwt.user.theme.standard.Standard'/
        !-- inherits name='com.google.gwt.user.theme.chrome.Chrome'/
  --
        !-- inherits name='com.google.gwt.user.theme.dark.Dark'/
  --

        !-- Other module inherits
  --

        !-- Specify the app entry point class.
  --
        entry-point class='br.com.freller.tool.client.PrintTest'/

        !-- Specify the application specific style 

Re: Problem building GWT with JPA annotations using Ant

2009-01-09 Thread Martin

check out http://toools.org ... we are using JPA there with
netbeans ... which is basically ant ...

cheers

On Jan 7, 6:26 pm, tophtfc toph...@gmail.com wrote:
 Hi,

 My application builds and works fine in hosted mode, but I am having
 trouble getting my application to compile using Ant. Im using GWT with
 hibernate4gwt and JPA annotations, so my gwt xml inherits the
 following:

 inherits name='com.google.gwt.user.User'/
 inherits name='com.google.gwt.user.theme.standard.Standard'/
 inherits name='com.extjs.gxt.ui.GXT'/
 inherits name='net.sf.hibernate4gwt.Hibernate4Gwt15'/
 inherits name='net.sf.hibernate4gwt.emul.java5.ejb3.Ejb3'/

 In my domain classes I have many JPA annotations e.g:

 import javax.persistence.Entity;
 import javax.persistence.Id;
 import javax.persistence.Table;

 import net.sf.hibernate4gwt.pojo.java5.LazyPojo;

 //I am using GXT also, these are to do with that
 import com.extjs.gxt.ui.client.data.BeanModelMarker;
 import com.extjs.gxt.ui.client.data.BeanModelMarker.BEAN;

 @Entity
 @Table(name=Contact)
 public class Contact extends LazyPojo {
 ...

 }

 In my build.xml i have included the following in my class path:

 path id=gwt.compile.class.path
 pathelement path=./java /
 pathelement path=./bin /
 pathelement location=../BcfsCommon/lib/hibernate4gwt-1.1.2.jar /
 pathelement location=../BcfsCommon/lib/gwt-user.jar /
 pathelement location=../BcfsCommon/lib/gwt-dev-windows.jar /
 pathelement location=../BcfsCommon/lib/gxt.jar /
 /path

 When i try to build, the gwt compiler complains that it cannot find
 the JPA annotations classes:

 [echo]
 [echo] GWT Compiling : com.projectname
 [echo]
 [java] Processing types in compilation unit: file:/C:/projectname/
 domain/Contact.java
 [java] Found type 'Contact'
 [java] Resolving annotation '@Entity'
 [java] [ERROR]
 [java] java.lang.ClassNotFoundException: javax.persistence.Entity

 So I am thinking its a class path error, but I am not sure what I need
 to add in to make it build properly.

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



Re: Problem building GWT with JPA annotations using Ant

2009-01-09 Thread noon

Hi,

You have got a Java compiler error, so I think you should include
hibernate-annotations.jar in ant comipler classpath (hibernate4gwt
just provide annotation emulation for GWT).

Regards
Bruno

On 7 jan, 18:26, tophtfc toph...@gmail.com wrote:
 Hi,

 My application builds and works fine in hosted mode, but I am having
 trouble getting my application to compile using Ant. Im using GWT with
 hibernate4gwt and JPA annotations, so my gwt xml inherits the
 following:

 inherits name='com.google.gwt.user.User'/
 inherits name='com.google.gwt.user.theme.standard.Standard'/
 inherits name='com.extjs.gxt.ui.GXT'/
 inherits name='net.sf.hibernate4gwt.Hibernate4Gwt15'/
 inherits name='net.sf.hibernate4gwt.emul.java5.ejb3.Ejb3'/

 In my domain classes I have many JPA annotations e.g:

 import javax.persistence.Entity;
 import javax.persistence.Id;
 import javax.persistence.Table;

 import net.sf.hibernate4gwt.pojo.java5.LazyPojo;

 //I am using GXT also, these are to do with that
 import com.extjs.gxt.ui.client.data.BeanModelMarker;
 import com.extjs.gxt.ui.client.data.BeanModelMarker.BEAN;

 @Entity
 @Table(name=Contact)
 public class Contact extends LazyPojo {
 ...

 }

 In my build.xml i have included the following in my class path:

 path id=gwt.compile.class.path
 pathelement path=./java /
 pathelement path=./bin /
 pathelement location=../BcfsCommon/lib/hibernate4gwt-1.1.2.jar /
 pathelement location=../BcfsCommon/lib/gwt-user.jar /
 pathelement location=../BcfsCommon/lib/gwt-dev-windows.jar /
 pathelement location=../BcfsCommon/lib/gxt.jar /
 /path

 When i try to build, the gwt compiler complains that it cannot find
 the JPA annotations classes:

 [echo]
 [echo] GWT Compiling : com.projectname
 [echo]
 [java] Processing types in compilation unit: file:/C:/projectname/
 domain/Contact.java
 [java] Found type 'Contact'
 [java] Resolving annotation '@Entity'
 [java] [ERROR]
 [java] java.lang.ClassNotFoundException: javax.persistence.Entity

 So I am thinking its a class path error, but I am not sure what I need
 to add in to make it build properly.

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



Re: Problem with GWT RPC call with List of DTO objects

2008-12-14 Thread gregor

Have you tried:

   public interface MyService extends RemoteService
   {
 ListTempDTO getNames();
   }



  public class MyServlet extends RemoteServiceServlet implements
MyService
  {
public ListTempDTO getNames()
{
  ListTempDTO rs = new ArrayListTempDTO();
  TempDTO dto1 = new TempDTO();
  dto1.setName(A1);
  dto1.setCondition(Set);
  rs.add(dto1);
  return rs;
}
  }

On Dec 13, 8:52 pm, Cris mmmkris...@gmail.com wrote:
 Hi
 My requirement is as below.
 1. I have a DTO  as below with setters and getters for the same
  package com.gwt.sample.client.data

  public class TempDTO implements IsSerializable
  {
    private String name;
    private String condition;
  }

 2. My RPC stuff is as below
    package com.gwt.sample.client
    public interface MyService extends RemoteService
    {
      List getNames();
    }

   package com.gwt.sample.client
   public interface MyServiceAsync
   {
     void getNames(AsyncCallback async);
   }

 3. Servlet is
   public class MyServlet extends RemoteServiceServlet implements
 MyService
   {
     public List getNames()
     {
       List rs = new ArrayList();
       TempDTO dto1 = new TempDTO();
       dto1.setName(A1);
       dto1.setCondition(Set);
       rs.add(dto1);
       return rs;
     }
   }

 When made a request to this MyServlet I am getting strange error in
 browser Could not complete the operation due to error c00ce514
 number:
 This error message is (throwable.getMessage()) is displaying in
 onFailure() method.

 The same code is working fine if I pass List of strings. The problem
 is only with List of DTOs.

 Please, can anyone help me.

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



Re: Problem with GWT RPC call with List of DTO objects

2008-12-14 Thread HT(dk)

Read:
http://code.google.com/intl/da/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=DevGuideSerializableTypes

And in general read:
http://code.google.com/intl/da/docreader/#p=google-web-toolkit-doc-1-5s=google-web-toolkit-doc-1-5t=DevGuideRemoteProcedureCalls


On Dec 13, 9:52 pm, Cris mmmkris...@gmail.com wrote:
 Hi
 My requirement is as below.
 1. I have a DTO  as below with setters and getters for the same
  package com.gwt.sample.client.data

  public class TempDTO implements IsSerializable
  {
    private String name;
    private String condition;
  }

 2. My RPC stuff is as below
    package com.gwt.sample.client
    public interface MyService extends RemoteService
    {
      List getNames();
    }

   package com.gwt.sample.client
   public interface MyServiceAsync
   {
     void getNames(AsyncCallback async);
   }

 3. Servlet is
   public class MyServlet extends RemoteServiceServlet implements
 MyService
   {
     public List getNames()
     {
       List rs = new ArrayList();
       TempDTO dto1 = new TempDTO();
       dto1.setName(A1);
       dto1.setCondition(Set);
       rs.add(dto1);
       return rs;
     }
   }

 When made a request to this MyServlet I am getting strange error in
 browser Could not complete the operation due to error c00ce514
 number:
 This error message is (throwable.getMessage()) is displaying in
 onFailure() method.

 The same code is working fine if I pass List of strings. The problem
 is only with List of DTOs.

 Please, can anyone help me.

 Thansk,
 Cris

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



Re: Problem with GWT RPC call with List of DTO objects

2008-12-14 Thread gregor

It's odd that the RPC documentation still talks about typeArgs. I've
just double checked, and I have systematically removed all typeArg
statements relating to RPC parameters/return values from the last
project I upgraded to 1.5.3. All now replaced with 1.5. syntax and it
works fine.

My assumption is that specifying the type for collections in 1.5
syntax (i.e. ListMyType) means the GWT compiler uses that info in
the same way it used to rely on typeArg tags. I sincerely hope I'm
right about that..but those docs have got me worried.


On Dec 14, 12:24 pm, HT(dk) helge.tesga...@gmail.com wrote:
 Read:http://code.google.com/intl/da/docreader/#p=google-web-toolkit-doc-1-...

 And in general 
 read:http://code.google.com/intl/da/docreader/#p=google-web-toolkit-doc-1-...

 On Dec 13, 9:52 pm, Cris mmmkris...@gmail.com wrote:

  Hi
  My requirement is as below.
  1. I have a DTO  as below with setters and getters for the same
   package com.gwt.sample.client.data

   public class TempDTO implements IsSerializable
   {
     private String name;
     private String condition;
   }

  2. My RPC stuff is as below
     package com.gwt.sample.client
     public interface MyService extends RemoteService
     {
       List getNames();
     }

    package com.gwt.sample.client
    public interface MyServiceAsync
    {
      void getNames(AsyncCallback async);
    }

  3. Servlet is
    public class MyServlet extends RemoteServiceServlet implements
  MyService
    {
      public List getNames()
      {
        List rs = new ArrayList();
        TempDTO dto1 = new TempDTO();
        dto1.setName(A1);
        dto1.setCondition(Set);
        rs.add(dto1);
        return rs;
      }
    }

  When made a request to this MyServlet I am getting strange error in
  browser Could not complete the operation due to error c00ce514
  number:
  This error message is (throwable.getMessage()) is displaying in
  onFailure() method.

  The same code is working fine if I pass List of strings. The problem
  is only with List of DTOs.

  Please, can anyone help me.

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



Re: Problem in GWT 1.5

2008-11-25 Thread Arthur Kalmenson

Setting things like margins and padding is done with CSS. It's also
possible to do inside Javascript, but the notation is different and
you're better off using CSS.

--
Arthur Kalmenson



On Mon, Nov 24, 2008 at 11:58 AM, jamer [EMAIL PROTECTED] wrote:

 I don't understand you

 If i don't use the CSS it is ok?



 On 22 nov, 16:32, Arthur Kalmenson [EMAIL PROTECTED] wrote:
 Hijamer,

 You would probably do most of this with CSS

 --
 Arthur Kalmenson

 On Fri, Nov 21, 2008 at 4:39 AM,jamer[EMAIL PROTECTED] wrote:

  Hi Group!

  In GWT 1.5, when I create an HTML to add an image, this appears
  descuadrada me, that is, I do not appear in line with the text.
  If I create a HorizontalPanel with a TextBox and a picture, the
  TextBox and the image does not appear to me square, and if that aligns
  with the options of VerticalPanel, I get a lot of space above and
  below these Widget Why?
  Pd: In GWT 1.4 I did this.

  Thank you!!
 


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



Re: Problem in GWT 1.5

2008-11-24 Thread jamer

I don't understand you

If i don't use the CSS it is ok?



On 22 nov, 16:32, Arthur Kalmenson [EMAIL PROTECTED] wrote:
 Hijamer,

 You would probably do most of this with CSS

 --
 Arthur Kalmenson

 On Fri, Nov 21, 2008 at 4:39 AM,jamer[EMAIL PROTECTED] wrote:

  Hi Group!

  In GWT 1.5, when I create an HTML to add an image, this appears
  descuadrada me, that is, I do not appear in line with the text.
  If I create a HorizontalPanel with a TextBox and a picture, the
  TextBox and the image does not appear to me square, and if that aligns
  with the options of VerticalPanel, I get a lot of space above and
  below these Widget Why?
  Pd: In GWT 1.4 I did this.

  Thank you!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Problem with GWT 1.5 and IE 7

2008-11-20 Thread Sumit Chandel
Hello Javier,

I'm not sure I completely understand the issue you were facing. Could you
post up some sample code that would help reproduce the problem on our end?

From what I understand, you're trying to capture click events on a given
image widget. If this is the case, you should be able to add a ClickListener
implementation to the image widget that could then perform whatever action
you like onClick(). Is there any reason you couldn't use the ClickListener
instead of the MouseListener interface?

Hope that helps,
-Sumit Chandel

On Mon, Nov 17, 2008 at 11:53 PM, jamer [EMAIL PROTECTED] wrote:


 Hello
 I write because I found that if you use a image as a button in GWT,
 and we associate a MouseListener, if you use the function onMouseDown,
 like a click, in IE 7, the application will not be able to click on
 any button browser, or use the scroll bar of it (not the browser
 application) or anything. To prevent this you must use the onMouseUp

 Javier Mejías
 


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



Re: Problem with GWT 1.5 and IE 7

2008-11-11 Thread Jason Essington
That's funny, because my windows open, and I can get music ... of  
course my car is a Jeep.

Maybe you shouldn't have implemented IsSilent, and IsSubmarine

-jason

On Nov 11, 2008, at 5:05 AM, Ian Bambury wrote:

 Well, normally these things work, so without some kind of indication  
 of what you are doing, it is not easy to tell what you are doing  
 wrong.

 I have built a car and I can't open the window, what is wrong? Oh,  
 and I can't get any music.

 Ian

 http://examples.roughian.com


 2008/11/11 jamer [EMAIL PROTECTED]

 It is a full application, and i can't use the scrolll bar of web
 browser, or other button of IE 7

 Thakn you

 On 10 nov, 00:02, Ian Bambury [EMAIL PROTECTED] wrote:
  Not unless you have some code or an example or give more details.
  You realise that you have to program history actions in for  
 yourself, do
  you?
 
  Ian
 
  http://examples.roughian.com
 
  2008/11/9 jamer [EMAIL PROTECTED]
 
 
 
   Nobody can help me?
 
   thank you!



 


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



Re: Problem with GWT 1.5 and IE 7

2008-11-11 Thread Ian Bambury
Well, normally these things work, so without some kind of indication of what
you are doing, it is not easy to tell what you are doing wrong.
I have built a car and I can't open the window, what is wrong? Oh, and I
can't get any music.

Ian

http://examples.roughian.com


2008/11/11 jamer [EMAIL PROTECTED]


 It is a full application, and i can't use the scrolll bar of web
 browser, or other button of IE 7

 Thakn you

 On 10 nov, 00:02, Ian Bambury [EMAIL PROTECTED] wrote:
  Not unless you have some code or an example or give more details.
  You realise that you have to program history actions in for yourself, do
  you?
 
  Ian
 
  http://examples.roughian.com
 
  2008/11/9 jamer [EMAIL PROTECTED]
 
 
 
   Nobody can help me?
 
   thank you!
 


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



Re: Problem with GWT 1.5 and IE 7

2008-11-11 Thread Isaac Truett

If only MyVehicle implements IsSubmarine, HasDoorScreen had
produced a compile-time error. But now I know, right?



On Tue, Nov 11, 2008 at 11:13 AM, Jason Essington
[EMAIL PROTECTED] wrote:
 That's funny, because my windows open, and I can get music ... of course my
 car is a Jeep.
 Maybe you shouldn't have implemented IsSilent, and IsSubmarine
 -jason
 On Nov 11, 2008, at 5:05 AM, Ian Bambury wrote:

 Well, normally these things work, so without some kind of indication of what
 you are doing, it is not easy to tell what you are doing wrong.
 I have built a car and I can't open the window, what is wrong? Oh, and I
 can't get any music.
 Ian

 http://examples.roughian.com


 2008/11/11 jamer [EMAIL PROTECTED]

 It is a full application, and i can't use the scrolll bar of web
 browser, or other button of IE 7

 Thakn you

 On 10 nov, 00:02, Ian Bambury [EMAIL PROTECTED] wrote:
  Not unless you have some code or an example or give more details.
  You realise that you have to program history actions in for yourself, do
  you?
 
  Ian
 
  http://examples.roughian.com
 
  2008/11/9 jamer [EMAIL PROTECTED]
 
 
 
   Nobody can help me?
 
   thank you!







 


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



Re: Problem with GWT 1.5 and IE 7

2008-11-11 Thread jamer

It is a full application, and i can't use the scrolll bar of web
browser, or other button of IE 7

Thakn you

On 10 nov, 00:02, Ian Bambury [EMAIL PROTECTED] wrote:
 Not unless you have some code or an example or give more details.
 You realise that you have to program history actions in for yourself, do
 you?

 Ian

 http://examples.roughian.com

 2008/11/9 jamer [EMAIL PROTECTED]



  Nobody can help me?

  thank you!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Problem compiling gwt-google-api source code

2008-10-27 Thread Jim Alateras

Thanks that did it

On Oct 26, 11:03 pm, Eric Ayers [EMAIL PROTECTED] wrote:
 Are you using the latest GWT distribution?  As of today that is GWT
 1.5.3 which should contain the JsArray class.    If there is a problem
 with the doc, let me know.



 On Fri, Oct 24, 2008 at 7:14 PM, Jim Alateras [EMAIL PROTECTED] wrote:

  I am getting the following error doing s top level build of the gwt-
  google-api source. I have followed the instructions here (http://
  code.google.com/docreader/#p=gwt-google-apiss=gwt-google-
  apist=GettingStartedSource).

  Is there something specific that i am missing. I am using jdk1.5 on
  macos

  gears:

  compile:
  [gwt.javac] Compiling 19 source files to /Users/jima/comware/gwt/
  workspace/gwt-google-apis/gears/build/out/gears/bin
  [gwt.javac] /Users/jima/comware/gwt/workspace/gwt-google-apis/gears/
  gears/src/com/google/gwt/gears/client/impl/Utils.java:20: cannot find
  symbol
  [gwt.javac] symbol  : class JsArrayString
  [gwt.javac] location: package com.google.gwt.core.client
  [gwt.javac] import com.google.gwt.core.client.JsArrayString;
  [gwt.javac]                                   ^
  [gwt.javac] /Users/jima/comware/gwt/workspace/gwt-google-apis/gears/
  gears/src/com/google/gwt/gears/client/impl/Utils.java:30: cannot find
  symbol
  [gwt.javac] symbol  : class JsArrayString
  [gwt.javac] location: class com.google.gwt.gears.client.impl.Utils
  [gwt.javac]     JsArrayString array =
  JavaScriptObject.createArray().cast();
  [gwt.javac]     ^
  [gwt.javac] 2 errors

 --
 Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://code.google.com/webtoolkit/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Problem with gwt-maps-1.0.0RC1 and InfoWindow

2008-10-24 Thread Eric Ayers
On Thu, Oct 23, 2008 at 10:27 PM, Jim Alateras [EMAIL PROTECTED] wrote:


 Eric,

 Thanks for the response

 0) I have tried both using marker and event.getSender with the same
 result

 1) I have checked out the specified branch, svn/releases/maps/1.0. Is
 there a guide on building the jar?


See the Making Google APIs for GWT Better in the documentation:

http://code.google.com/docreader/#p=gwt-google-apiss=gwt-google-apist=GettingStartedSource



 2) I have changed to 2.118 and now i get the map type and zoom
 controls showing. Simple using 2.X would not show the controls.


This is a common problem with the 2.x release this week:

 http://code.google.com/p/gmaps-api-issues/issues/detail?id=795

Could add a comment and click the star since your scenario isn't about using
scriptaculous?   Just mention you are using GWT and the gwt-maps API.  I've
talked to the maps  team personally, but there is nothing like real end
users to light a fire...




 



-- 
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/

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



Re: Problem with gwt-maps-1.0.0RC1 and InfoWindow

2008-10-23 Thread Jim Alateras

Just to add some further information.

I am using GWT 1.5.2 on the mac

On Oct 24, 12:20 pm, Jim Alateras [EMAIL PROTECTED] wrote:
 HI,

 I am trying to open the info window to a marker in my GET application
 using the code below. When I click on it the code in 'onClick' gets
 executed (i can it in the debugger) but the info window is not
 displayed. Any ideas why this maybe the case?

                 mapWidget.setCenter(latlng, 16);

                 final Marker marker = new Marker(latlng);
                 marker.addMarkerClickHandler(new MarkerClickHandler() {
                         public void onClick(MarkerClickEvent event) {
                                 final InfoWindow info = 
 mapWidget.getInfoWindow();
                                 info.open(event.getSender(), new 
 InfoWindowContent(address));
                         }

                 });

                 mapWidget.addOverlay(marker);
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Problem with gwt-maps-1.0.0RC1 and InfoWindow

2008-10-23 Thread Eric Ayers
0) Try replacing event.getSender() with 'marker'.  Its already marked final
(or did you try that already?)

1) The 1.0.0 RC1 release was plagued with a few issues related to
InfoWindows and  overlays returned in the marker click handler.  All the
fixes are now committed to the svn/releases/maps/1.0 branch in the source
code repository
2) There are some issues with setting the maps version to 2.x I've
encountered recently.  You might try setting your Maps API version (the
v=2.x part of the url used to load the Maps API in your module XML file)
down to a specific version, like v=2.118

On Thu, Oct 23, 2008 at 9:29 PM, Jim Alateras [EMAIL PROTECTED] wrote:


 Just to add some further information.

 I am using GWT 1.5.2 on the mac

 On Oct 24, 12:20 pm, Jim Alateras [EMAIL PROTECTED] wrote:
  HI,
 
  I am trying to open the info window to a marker in my GET application
  using the code below. When I click on it the code in 'onClick' gets
  executed (i can it in the debugger) but the info window is not
  displayed. Any ideas why this maybe the case?
 
  mapWidget.setCenter(latlng, 16);
 
  final Marker marker = new Marker(latlng);
  marker.addMarkerClickHandler(new MarkerClickHandler() {
  public void onClick(MarkerClickEvent event) {
  final InfoWindow info =
 mapWidget.getInfoWindow();
  info.open(event.getSender(), new
 InfoWindowContent(address));
  }
 
  });
 
  mapWidget.addOverlay(marker);
 



-- 
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/

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



Re: Problem with gwt-maps-1.0.0RC1 and InfoWindow

2008-10-23 Thread Jim Alateras

Eric,

Thanks for the response

0) I have tried both using marker and event.getSender with the same
result

1) I have checked out the specified branch, svn/releases/maps/1.0. Is
there a guide on building the jar?

2) I have changed to 2.118 and now i get the map type and zoom
controls showing. Simple using 2.X would not show the controls.



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



Re: problem of gwt deployment

2008-10-22 Thread Chad

Arnaud,

I have a guide for manually creating a war file from Eclipse that can
be found:

http://www.milamade.com/code/gwt/createwar.htm

This is the new home of the tutorial that was located on
charisacademy.com.

HTH,
Chad

On Oct 22, 6:38 am, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 Hello everyone,
 I've  built a gwt project and for it's deployment i create a dynamic
 web project that  i call workplaceDeploy.
 -I copy the servlet.jar for the old in the folder lib of the new.

 -I copy all the content of the folder www othe old project in the
 folder webcontent of the new project

 -I right click on the new project -property-J2EE module dependences
 and i select the module the module which are depended with my project.

 i modify the web.xml and this my new web.xml

 web-app
         display-nameworkplaceDeploy/display-name
         servlet
                 servlet-nameEimServicesImpl/servlet-name
                 servlet-
 classcom.atosorigin.eimservices.workplace.server.EimServicesImpl/
 servlet-class
         /servlet
         servlet-mapping
                 servlet-nameEimServicesImpl/servlet-name
                 url-pattern/workplace/url-pattern
         /servlet-mapping
         welcome-file-list
         welcome-filehome.html/welcome-file
         /welcome-file-list
 /web-app

 -i generate the war file by right click export war file that i put in
 the folder webapp of tomcat 6
 i start tomcat and it has detected the deployment of workplaceDeploy
 and in the  tomcat manager i have the  filed fonctionnant which is
 true but the field session is 0.For me the deployment to tomcat has
 succeed

 when i try to lauch  the application by 
 enterringhttp://localhost:8080/workplaceDeploy
 i have ths error

 Rapport d' tat

 message /workplaceDeploy/

 description La ressource demand e (/workplaceDeploy/) n'est pas
 disponible.

 Can help me please?
 Arnaud
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---