RequestFactory Chained Persistence

2011-03-28 Thread Patrick Cailly
I have a Patronyme Entity with a chained Entity ( Patronyme root; ) 
the server side is working ( I've got a PatronymeDTO with RPC working )
I can get a PatronymeProxy with findPatronyme on the client side

but the getRoot raises an exception

==
: (TypeError): f is undefined stack: Uqb([object 
Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1646
 Xqb([object 
Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1741
 vP([object Object],[object 
Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1197
 DQ([object 
Object],"{\"O\":[{\"O\":\"UPDATE\",\"P\":{\"rootId\":\"66\",\"name\":\"duchatton\",\"id\":\"151\",\"version\":0},\"S\":\"IjE1MSI=\",\"T\":\"fr.metronome.web.client.proxies.PatronymeProxy\",\"V\":\"MA==\"}],\"I\":[{\"S\":\"IjE1MSI=\",\"T\":\"fr.metronome.web.client.proxies.PatronymeProxy\"}],\"S\":[true]}")@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1716
 kO([object Object],[object 
Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1735
 uz([object Object],[object 
Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1546
 iA([object 
XMLHttpRequest])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1735
 ([object 
Event])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1286
 Vp((function () {b.Ab(c);}),[object XMLHttpRequest],[object 
Object])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1370
 ([object 
Event])@http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html:1369
 fileName: 
http://lenny32:8080/rf/Webapp/03D5DA33E5505B606E3C68AE94A37DE4.cache.html 
lineNumber: 1646
==

I must be missing something
it seems that there is no data for root

I tried to implement it differently ( from expends example )
in the entity
public Patronyme getRoot () { return Patronyme.FindPatronyme( 
root_id ); }
it raises a different exception

What's wrong ?
Please ?

Patrick

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



Import GWT prj

2011-03-28 Thread Marco Gadaleta
Hello everyone,
I'm trying to create a "project of Utils" for other GWT Project.
In this "Utils" I can put some code so that  does not duplicate it.

There is a way to do this if considering that in Util Project could be GWT
ui code (layoutpanel, button, etc..)?


Thx
-- 
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: Import GWT prj

2011-03-28 Thread Patrick Cailly
I think you just have to build a jar of your source code with and resources
( you may as well need a gwt.xml )

Patrick
  - Original Message - 
  From: Marco Gadaleta 
  To: Google Web Toolkit 
  Sent: Monday, March 28, 2011 11:10 AM
  Subject: Import GWT prj


  Hello everyone,
  I'm trying to create a "project of Utils" for other GWT Project.
  In this "Utils" I can put some code so that  does not duplicate it.


  There is a way to do this if considering that in Util Project could be GWT ui 
code (layoutpanel, button, etc..)?




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


--

--

  Aucun virus trouvé dans ce message.
  Analyse effectuée par AVG - www.avg.fr
  Version: 10.0.1204 / Base de données virale: 1498/3535 - Date: 28/03/2011

-- 
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: Import GWT prj

2011-03-28 Thread Patrick Cailly

  I think you just have to build a jar with  your source code and resources
  ( you may as well need a gwt.xml )

  Patrick
- Original Message - 
From: Marco Gadaleta 
To: Google Web Toolkit 
Sent: Monday, March 28, 2011 11:10 AM
Subject: Import GWT prj


Hello everyone,
I'm trying to create a "project of Utils" for other GWT Project.
In this "Utils" I can put some code so that  does not duplicate it.


There is a way to do this if considering that in Util Project could be GWT 
ui code (layoutpanel, button, etc..)?




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






Aucun virus trouvé dans ce message.
Analyse effectuée par AVG - www.avg.fr
Version: 10.0.1204 / Base de données virale: 1498/3535 - Date: 28/03/2011


--

  Aucun virus trouvé dans ce message.
  Analyse effectuée par AVG - www.avg.fr
  Version: 10.0.1204 / Base de données virale: 1498/3535 - Date: 28/03/2011


  -- 
  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: ProxyAutoBean server-side cache

2011-03-28 Thread Thomas Broyer
Opened an issue: 
http://code.google.com/p/google-web-toolkit/issues/detail?id=6193

Will send a patch of the "fixed" WeakMapping soon, after I test it a bit. A 
unit-test using System.gc() proved the memory is reclaimed, but I'd have to 
test it a bit to make sure it doesn't cause any issue!

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



DialogBox Visibility

2011-03-28 Thread Patrick Cailly
How can you be sure that a DialogBox and its included widgets will be visible 
over Any Widget ?

When I drag my DialogBox above a SWF widget , only the handle of the DialogBox 
is visible.

the same with an OpenLayer Map

is there a way to control the "level" or "priority" of widgets ?

Thank 

Patrick

-- 
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: ProxyAutoBean server-side cache

2011-03-28 Thread Patrick Cailly
Thanks for that reply

If the problem is caused by a circular reference ,
does it mean that the problem disapear whe the reference is a reference to 
another Entity
let's say , I could have Root entity an a Patronyme Entity and Patronyme 
chained to Root to solve the problem
( or the fix should available soon ? )

Patrick
  - Original Message - 
  From: Thomas Broyer 
  To: google-web-toolkit@googlegroups.com 
  Cc: b...@google.com ; rj...@google.com ; Julian Scheid 
  Sent: Monday, March 28, 2011 11:52 AM
  Subject: Re: ProxyAutoBean server-side cache


  Opened an issue: 
http://code.google.com/p/google-web-toolkit/issues/detail?id=6193


  Will send a patch of the "fixed" WeakMapping soon, after I test it a bit. A 
unit-test using System.gc() proved the memory is reclaimed, but I'd have to 
test it a bit to make sure it doesn't cause any issue!

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


--

--

  Aucun virus trouvé dans ce message.
  Analyse effectuée par AVG - www.avg.fr
  Version: 10.0.1204 / Base de données virale: 1498/3535 - Date: 28/03/2011

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



DialogBox Visibility

2011-03-28 Thread Patrick Cailly
How can you be sure that a DialogBox and its included widgets will be visible 
over Any Widget ?

When I drag my DialogBox above a SWF widget , only the handle of the DialogBox 
is visible.

the same with an OpenLayer Map

is there a way to control the "level" or "priority" of widgets ?

Thank 

Patrick

-- 
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: DialogBox Visibility

2011-03-28 Thread Paul Robinson

You want the css property "z-index".


On 28/03/11 11:52, Patrick Cailly wrote:

How can you be sure that a DialogBox and its included widgets will be visible 
over Any Widget ?
When I drag my DialogBox above a SWF widget , only the handle of the DialogBox 
is visible.
the same with an OpenLayer Map
is there a way to control the "level" or "priority" of widgets ?
Thank
Patrick
--
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: problema de integracion con Eclipse

2011-03-28 Thread Juan Pablo Gardella
Es raro, probá desinstalar los plugins que tengas instalados de gwt y
reintenta de esta forma:
http://code.google.com/intl/es/eclipse/docs/install-from-zip.html


Juan

2011/3/25 David 

> Hola:
> Quiero comenzar a utilizar el framework GWT y para esto quisiera
> integrarlo con Eclipse.
> Estoy usando ademas Windows XP.
>  Ya me he bajado el Eclipse  Helios Service Release 2. Y ademas tengo
> descargado el plugin:
> com.google.gdt.eclipse.suite.e36.update.site_2.2.0.v201102111811
>
> He seguido las instrucciones para la instalacion local y me deja este
> mensaje de error:
>
> Cannot complete the install because one or more required items could
> not be found.
>  Software being installed: Google App Engine Java SDK 1.4.2
> 1.4.2.v201102111811
> (com.google.appengine.eclipse.sdkbundle.e36.feature.
> 1.4.2.feature.group 1.4.2.v201102111811)
>  Missing requirement: Google Plugin for Eclipse 3.6
> 2.2.0.v201102111811
> (com.google.gdt.eclipse.suite.e36.feature.feature.group
> 2.2.0.v201102111811) requires 'org.eclipse.pde.core 0.0.0' but it
> could not be found
>  Cannot satisfy dependency:
>From: Google App Engine Java SDK 1.4.2 1.4.2.v201102111811
> (com.google.appengine.eclipse.sdkbundle.e36.feature.
> 1.4.2.feature.group 1.4.2.v201102111811)
>To: com.google.gdt.eclipse.suite.e36.feature.feature.group 2.2.0
>
> --
> 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: Who processes the gwt.codesvr parameter a browser plugin or java script on the hosted page

2011-03-28 Thread Adib
On Mar 26, 1:07 pm, Thomas Broyer  wrote:
> On Saturday, March 26, 2011 8:29:04 PM UTC+1, Adib wrote:
>
> >     b) is it used by the host page in some bootstrap java script. I
> > find this to be not very likely because there does not seem to be a
> > bootstrap javascript that is not generated from java code.
>
> Yes it is. It's in the *.nocache.js, which either loads the hosted.html (or
> hosted.js, depending on the linker) or the appropriate *.cache.html/js.
> You can compile in --style PRETTY to have a readable version; and you'll
> find the templates in com/google/gwt/core/linker in the gwt-dev.jar

I thought that the *.nocache.js was being generated by the code
server, or
when I explicitly compile the code. Does that mean that if I am using
tomcat
to host the GWT page I have to run the compile manually every time
I try to run the application.

-- 
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: Who processes the gwt.codesvr parameter a browser plugin or java script on the hosted page

2011-03-28 Thread Thomas Broyer


On Monday, March 28, 2011 2:25:04 PM UTC+2, Adib wrote:
>
> On Mar 26, 1:07 pm, Thomas Broyer  wrote: 
> > On Saturday, March 26, 2011 8:29:04 PM UTC+1, Adib wrote: 
> > 
> > > b) is it used by the host page in some bootstrap java script. I 
> > > find this to be not very likely because there does not seem to be a 
> > > bootstrap javascript that is not generated from java code. 
> > 
> > Yes it is. It's in the *.nocache.js, which either loads the hosted.html 
> (or 
> > hosted.js, depending on the linker) or the appropriate *.cache.html/js. 
> > You can compile in --style PRETTY to have a readable version; and you'll 
> > find the templates in com/google/gwt/core/linker in the gwt-dev.jar 
>
> I thought that the *.nocache.js was being generated by the code 
> server, or when I explicitly compile the code.


It is being generated by DevMode when you launch it (which explains why the 
-war argument is mandatory even with -noserver), unless it already exists 
(unless it's older than the gwt-dev.jar, maybe, can't remember the details 
for sure).
...and by Compiler, of course, unconditionally.
When generated by DevMode, it only contains the code that's necessary to 
launch DevMode.
In any case, it contains nothing related to your Java code, everything comes 
from the *.gwt.xml files; with the exception of the permutation IDs (names 
of the *.cache.html/js files when you compile your app).
 

> Does that mean that if I am using tomcat to host the GWT page I have to run 
> the compile manually every time 
> I try to run the application.


Fortunately not!

If you can point DevMode's -war to the folder where Tomcat reads the files 
(exploded web app), then you don't need to compile your app, not even once.
Otherwise, you'll have to compile the app once (or launch DevMode once and 
then deploy the generated *.nocache.js file)

Really, compile once in -style PRETTY to have a look at what it looks like 
and how it works.

-- 
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: Import GWT prj

2011-03-28 Thread Marco Gadaleta
Please..

On Mon, Mar 28, 2011 at 11:10 AM, Marco Gadaleta
wrote:

> Hello everyone,
> I'm trying to create a "project of Utils" for other GWT Project.
> In this "Utils" I can put some code so that  does not duplicate it.
>
> There is a way to do this if considering that in Util Project could be GWT
> ui code (layoutpanel, button, etc..)?
>
>
> Thx
> --
> Marco
>



-- 
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: Import GWT prj

2011-03-28 Thread Juan Pablo Gardella
gwt-user.jar think as a util. You must package the jar with the sources and
define your custom modules.

Juan

2011/3/28 Marco Gadaleta 

> Please..
>
> On Mon, Mar 28, 2011 at 11:10 AM, Marco Gadaleta  > wrote:
>
>> Hello everyone,
>> I'm trying to create a "project of Utils" for other GWT Project.
>> In this "Utils" I can put some code so that  does not duplicate it.
>>
>> There is a way to do this if considering that in Util Project could be GWT
>> ui code (layoutpanel, button, etc..)?
>>
>>
>> Thx
>> --
>> Marco
>>
>
>
>
> --
> 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.
>

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



One GWT WebApp but more than one WAR files

2011-03-28 Thread deejay
Is it possible to create one Webapp which is splitted into multiple
WAR files (e.g. every module in one WAR file)?
Is this a bad approach?
How to develop a gwt application with more than one developer?

Thanks,
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: One GWT WebApp but more than one WAR files

2011-03-28 Thread Juan Pablo Gardella
You can use a SCM repository, for ex. SVN, Mercurial

Juan

2011/3/28 deejay 

> Is it possible to create one Webapp which is splitted into multiple
> WAR files (e.g. every module in one WAR file)?
> Is this a bad approach?
> How to develop a gwt application with more than one developer?
>
> Thanks,
> 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.
>
>

-- 
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: One GWT WebApp but more than one WAR files

2011-03-28 Thread deejay
Sorry i think the question was unclear. Of course, we need a shared
repository.

The main question was, how to develop a GWT application which is
splitted in MULTIPLE war files which could be deployed separately in
the webapp server...

On 28 Mrz., 15:39, Juan Pablo Gardella 
wrote:
> You can use a SCM repository, for ex. SVN, Mercurial
>
> Juan
>
> 2011/3/28 deejay 
>
>
>
>
>
>
>
> > Is it possible to create one Webapp which is splitted into multiple
> > WAR files (e.g. every module in one WAR file)?
> > Is this a bad approach?
> > How to develop a gwt application with more than one developer?
>
> > Thanks,
> > 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.

-- 
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: problema de integracion con Eclipse

2011-03-28 Thread El Mentecato Mayor
No estoy seguro de como bajaste el plugin del que hablas (y qué plugin
es), pero yo acabo de instalar el Google Plugin que incluye la última
versión de GWT SDK y otras cosas en una instalación nueva de eclipse
Helios también en Windows XP.  Yo simplemente usé este url para
instalarlos:

http://dl.google.com/eclipse/plugin/3.6
(que encuentras en la página gwt.google.com ---> Download)

y todo salió sin problemas.


On Mar 28, 8:04 am, Juan Pablo Gardella 
wrote:
> Es raro, probá desinstalar los plugins que tengas instalados de gwt y
> reintenta de esta 
> forma:http://code.google.com/intl/es/eclipse/docs/install-from-zip.html
>
> Juan
>
> 2011/3/25 David 
>
>
>
>
>
>
>
> > Hola:
> > Quiero comenzar a utilizar el framework GWT y para esto quisiera
> > integrarlo con Eclipse.
> > Estoy usando ademas Windows XP.
> >  Ya me he bajado el Eclipse  Helios Service Release 2. Y ademas tengo
> > descargado el plugin:
> > com.google.gdt.eclipse.suite.e36.update.site_2.2.0.v201102111811
>
> > He seguido las instrucciones para la instalacion local y me deja este
> > mensaje de error:
>
> > Cannot complete the install because one or more required items could
> > not be found.
> >  Software being installed: Google App Engine Java SDK 1.4.2
> > 1.4.2.v201102111811
> > (com.google.appengine.eclipse.sdkbundle.e36.feature.
> > 1.4.2.feature.group 1.4.2.v201102111811)
> >  Missing requirement: Google Plugin for Eclipse 3.6
> > 2.2.0.v201102111811
> > (com.google.gdt.eclipse.suite.e36.feature.feature.group
> > 2.2.0.v201102111811) requires 'org.eclipse.pde.core 0.0.0' but it
> > could not be found
> >  Cannot satisfy dependency:
> >    From: Google App Engine Java SDK 1.4.2 1.4.2.v201102111811
> > (com.google.appengine.eclipse.sdkbundle.e36.feature.
> > 1.4.2.feature.group 1.4.2.v201102111811)
> >    To: com.google.gdt.eclipse.suite.e36.feature.feature.group 2.2.0
>
> > --
> > 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: One GWT WebApp but more than one WAR files

2011-03-28 Thread Juan Pablo Gardella
I think, is your wars are related, you can develop a jar with commons
funtionality and have multiples war that use it.
Then develop each war independent.

Sorry my english :)

2011/3/28 deejay 

> Sorry i think the question was unclear. Of course, we need a shared
> repository.
>
> The main question was, how to develop a GWT application which is
> splitted in MULTIPLE war files which could be deployed separately in
> the webapp server...
>
> On 28 Mrz., 15:39, Juan Pablo Gardella 
> wrote:
> > You can use a SCM repository, for ex. SVN, Mercurial
> >
> > Juan
> >
> > 2011/3/28 deejay 
> >
> >
> >
> >
> >
> >
> >
> > > Is it possible to create one Webapp which is splitted into multiple
> > > WAR files (e.g. every module in one WAR file)?
> > > Is this a bad approach?
> > > How to develop a gwt application with more than one developer?
> >
> > > Thanks,
> > > 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.
>
> --
> 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: One GWT WebApp but more than one WAR files

2011-03-28 Thread deejay
How to handle the session if my app is splitted into more than one
war?

On 28 Mrz., 15:59, Juan Pablo Gardella 
wrote:
> I think, is your wars are related, you can develop a jar with commons
> funtionality and have multiples war that use it.
> Then develop each war independent.
>
> Sorry my english :)
>
> 2011/3/28 deejay 
>
>
>
>
>
>
>
> > Sorry i think the question was unclear. Of course, we need a shared
> > repository.
>
> > The main question was, how to develop a GWT application which is
> > splitted in MULTIPLE war files which could be deployed separately in
> > the webapp server...
>
> > On 28 Mrz., 15:39, Juan Pablo Gardella 
> > wrote:
> > > You can use a SCM repository, for ex. SVN, Mercurial
>
> > > Juan
>
> > > 2011/3/28 deejay 
>
> > > > Is it possible to create one Webapp which is splitted into multiple
> > > > WAR files (e.g. every module in one WAR file)?
> > > > Is this a bad approach?
> > > > How to develop a gwt application with more than one developer?
>
> > > > Thanks,
> > > > 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.
>
> > --
> > 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: One GWT WebApp but more than one WAR files

2011-03-28 Thread Juan Pablo Gardella
You can handle with SSO, for example Josso.

Juan

2011/3/28 deejay 

> How to handle the session if my app is splitted into more than one
> war?
>
> On 28 Mrz., 15:59, Juan Pablo Gardella 
> wrote:
> > I think, is your wars are related, you can develop a jar with commons
> > funtionality and have multiples war that use it.
> > Then develop each war independent.
> >
> > Sorry my english :)
> >
> > 2011/3/28 deejay 
> >
> >
> >
> >
> >
> >
> >
> > > Sorry i think the question was unclear. Of course, we need a shared
> > > repository.
> >
> > > The main question was, how to develop a GWT application which is
> > > splitted in MULTIPLE war files which could be deployed separately in
> > > the webapp server...
> >
> > > On 28 Mrz., 15:39, Juan Pablo Gardella 
> > > wrote:
> > > > You can use a SCM repository, for ex. SVN, Mercurial
> >
> > > > Juan
> >
> > > > 2011/3/28 deejay 
> >
> > > > > Is it possible to create one Webapp which is splitted into multiple
> > > > > WAR files (e.g. every module in one WAR file)?
> > > > > Is this a bad approach?
> > > > > How to develop a gwt application with more than one developer?
> >
> > > > > Thanks,
> > > > > 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.
> >
> > > --
> > > 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.
>
>

-- 
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: Who processes the gwt.codesvr parameter a browser plugin or java script on the hosted page

2011-03-28 Thread Chris Conroy
It's used by the bootstrap to know to load the plugin, and then it's used by
the plugin to connect to the code server.

On Sat, Mar 26, 2011 at 3:29 PM, Adib  wrote:

> Hello,
>
> I am trying to figure out where the gwt.codesvr parameter gets
> processed?  I can think of the following options and would like to get
> clarity about which of these options in the correct example.
>
>a) Is it used by the browser plugin so that the browser plugin can
> talk to the code server
>
>b) is it used by the host page in some bootstrap java script. I
> find this to be not very likely because there does not seem to be a
> bootstrap javascript that is not generated from java code.
>
>c) is there supposed to be a servlet on the server side side that
> should be configured to understand this parameter?
>
> Thanks
> Adib
>
> --
> 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.



TabLayoutPanel

2011-03-28 Thread Marco Gadaleta
Hello,
I'm using DecoratorTabPanel inside my gwt project but
the compiler say me that DecoratorTabPanel was deprecated and recommend to
me to use
TabLayoutPanel.
But a TabLayoutPanel doesn't work  inside a RootPanel that is the component
that i must use.

Some suggestion?

Is there a way to set DecoratorTabPanel to 100% in width and height?

-- 
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: gwt + spring + maven

2011-03-28 Thread mariyan nenchev
Hi
 tried to run the sample gwt-spring example in dev mode, but i got:


   [WARN] dispatchServlet: An IncompatibleRemoteServiceException was thrown
while processing this call.
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 client, got 7. )
at
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:432)
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:236)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:186)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at
org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

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



Re: gwt + spring + maven

2011-03-28 Thread Juan Pablo Gardella
The exception:

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 client, got 7. )

Mean that you must recompile (I don't know why :( ), recompile and test
again

Juan




2011/3/28 mariyan nenchev 

> Hi
>  tried to run the sample gwt-spring example in dev mode, but i got:
>
>
>[WARN] dispatchServlet: An IncompatibleRemoteServiceException was thrown
> while processing this call.
> 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 client, got 7. )
> at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:432)
>  at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:236)
> at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:186)
>  at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
> at
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
>  at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>  at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>  at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at
> org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
>  at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at org.mortbay.jetty.Server.handle(Server.java:324)
>  at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
> at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
>  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
>  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
> at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>  at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To 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.



How to insert components within another?

2011-03-28 Thread Eric Rommel
Hi,

How to insert some components within another? Example: I insert a
square block (box) in the board and inside in the box a combobox.
Depending on what is selected, other components would be inserted
within that square. Understand?

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



Google Web Toolkit Developer Plugin for Solaris Firefox 3.6.x

2011-03-28 Thread Barry Astrow
Greetings.  I am new to GWT and I need a Google Web Toolkit Developer Pluginfor
Firefox 3.6.x running on a Solaris 10 (a.k.a., SunOS 5.10) machine.  Is
there such a plugin available?  Thanks for any help you can provide.  –Barry

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



I can not be able to get gwt visualization charts(LineChart & ColumnChart) in History

2011-03-28 Thread varakumar
Hi all,

  I am using google visualization LineChart and ColumnChart to
show chart for dynamic values in a page. And I added those charts to a
HorizontalPanel.
 I am providing a button to show the values which are caused
for that chart. I am adding those values to the another
HorizontalPanel, adding that HorizontalPanel to the RootPanel and I am
maintaing the previous HorizontalPanel which is have charts in
History.
 And now I am providing one more button to go back to see
charts. When clicked on that button I am showing the HorizontalPanel
which is in History and that HorizontalPanel is allocating the space
but charts are not visible.
  I checked that by inspecting the view with firebug. It is
showing the body empty.
   But remaining all Label and Buttons are visible

 Can anybody suggest the solution for this problem.


Thanks,
vara kumar

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



Sort order is lost in CellTable

2011-03-28 Thread jgranie
Hi,
I'm using a CellTable (GWT 2.2) with some sortable column. When the
user clics on sortable column header, the CellTable is sorted
correctly, but if there's an update on some data, the updated row is
moved to the end of the table.
By "update" I mean refreshing data from server. To refresh data at
index I'm using getDataProvider().getList().set(index, data).
Is there something else to do ?

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.



plugin IE

2011-03-28 Thread Omar
http://dl.google.com/dl/gwt/plugins/ie/1.0.7263.2009120800/gwt-dev-plugin.msi
dosn't work would you like to help me please or tell if it dons't work
for the moment please

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



How can you get a Widget or Canvas in the DecoratedStackPanel header?

2011-03-28 Thread Jacob
Hi,

I'm interested in getting a Widget in the header of a
DecoratedStackPanel.  My goal is to put a horizontal Slider which has
details about the changes show in the lower Widget.

I realize it may not be possible, but the ability to treat the header
as HTML suggests it may be capable of other things.

Regards,
Jacob

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



GWT CellTable Reading Json Data.

2011-03-28 Thread Ankit
Hi All,

I am new to the GWT looking for some help in the following code.

Basically want to iterate over some json data and display it in a cell
Table.

Here is how it looks like.

(1) JsonIntegrate.gwt.xml



  
  

  
  
  
  
  
  

  
  

  
  

  
  
  



(2) Client.

JsonIntegrate.java

package com.symantec.mmavis.gwt.client;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.http.client.Request;
import com.google.gwt.http.client.RequestBuilder;
import com.google.gwt.http.client.RequestCallback;
import com.google.gwt.http.client.RequestException;
import com.google.gwt.http.client.Response;
import com.google.gwt.http.client.URL;
import com.google.gwt.user.cellview.client.CellTable;
import com.google.gwt.user.cellview.client.ColumnSortList;
import com.google.gwt.user.cellview.client.TextColumn;
import
com.google.gwt.user.cellview.client.ColumnSortEvent.AsyncHandler;
import com.google.gwt.user.client.Timer;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.view.client.AsyncDataProvider;
import com.google.gwt.view.client.HasData;
import com.google.gwt.view.client.ListDataProvider;
import com.google.gwt.view.client.Range;

/**
 * Entry point classes define onModuleLoad().
 */
public class JsonIntegrate implements EntryPoint {

// The list of data to display.

//ResultData rs1 = new ResultData();

//private static List CONTACTS = Arrays.asList(new
Contact("John", "123 Fourth Road"), new Contact("Mary", "222 Lancer
Lane"), new Contact("Zander", "94 Road Street"));
private static final String JSON_URL = GWT.getModuleBaseURL() +
"search?q=5";

private ListDataProvider dataProvider = new
ListDataProvider();

private final ArrayList contactList = new
ArrayList();

public void onModuleLoad() {

// Create a CellTable.
final CellTable table = new 
CellTable();

// Create ordernumber column.
final TextColumn orderColumn = new
TextColumn() {
@Override
public String getValue(final SearchResult contact) {
return contact.getOrdernumber();
}
};

// Make the name column sortable.
orderColumn.setSortable(true);

// Create status column.
final TextColumn statusColumn = new
TextColumn() {
@Override
public String getValue(final SearchResult contact) {
return contact.getStatus();
}
};
statusColumn.setSortable(true);

// Create View Detail Column
TextColumn viewDetailColumn = new
TextColumn() {

@Override
public String getValue(SearchResult contact) {
return contact.getDetail();
}
};
viewDetailColumn.setSortable(true);

// Add the columns.
table.addColumn(orderColumn, "Order Number");
table.addColumn(statusColumn, "Status");
table.addColumn(viewDetailColumn, "View Detail");

this.getJsonData();

// Set the total row count. You might send an RPC request to
determine the
// total row count.
table.setRowCount(contactList.size(), true);

// Set the range to display. In this case, our visible range is
smaller than
// the data set.
table.setVisibleRange(0, contactList.size());

// Create a data provider.
final AsyncDataProvider dataProvider = new
AsyncDataProvider() {
@Override
protected void onRangeChanged(final 
HasData display)
{
final Range range = display.getVisibleRange();

// Get the ColumnSortInfo from the table.
final ColumnSortList sortList = 
table.getColumnSortList();

// This timer is here to illustrate the 
asynchronous nature of
this data
// provider. In practice, you would use an 
asynchronous RPC call
to
// request data in the specified range.
new Timer() {
@Override
public void run() {
final int start = 
range.getStart();
final int end = start + 

Interface problem between GWT and C using JNI

2011-03-28 Thread ganesh
Hi,

I am planning to change the look and feel of the existing project.
My current project has backend code in C, and JNI layer to interact
with GUI(JAVA). Upon user actions in GUI, I transfer the information
to backend using JNI calls. Recently I came across the GWT and
impressed with it, thought of using it for current GUI, but am stuck
in interfacing GWT JAVA code(server) making JNI call to C code.

Just to test the GWT and JNI,
i) I added a sample GWT web application(example provided by Google in
GWT documentation) code to eclipse, where server and client code is in
Java. It is working fine after compiling in eclipse.

Later I added 'HelloWorld.c' file which just prints the 'Hello world'
to standard output stream, and a Hello.java file at server side, which
loads the native object file to Test.java file using inbuilt load
library function call.
Then I made a 'Test' class call in original GWT server JAVA file.

NOTE: I've linked the jna.jar file to eclipse for this project as
external jar file(as per GWT documentation), and placed the native
library file of C along with the Original GWT server class file.

Now when I try to compile the above code in eclipse, eclipse shows up
the message stating :
---
Starting Jetty on port 
  [WARN] Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract java.lang.String
com.mycompany.mywebapp.client.GreetingService.greetServer(java.lang.String)
throws java.lang.IllegalArgumentException' threw an unexpected
exception: java.lang.UnsatisfiedLinkError:
com.mycompany.mywebapp.server.GreetingServiceImpl.sayHi(Ljava/lang/
String;)V
---
Appreciate your help.

Thank you,
Ganny

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



GWT: com.google.gwt.core.client.JavaScriptException. only using Internet Explorer

2011-03-28 Thread Sergio García
Hi,

Before explain my problem, I have to say that my GWT version is 2.2.0
and the error only has place when I use Internet Explorer (in this
case IE 8).

I have a little GWT project which contains a button that throws the
next method:

private void expotarExpediente(VistaExpediente vista) {
final String templateURL = GWT.getHostPageBaseURL() + 
"exportar?id="
+ vista.getId();
Window.open(
templateURL,
"Resultado de expotar el expediente: "
+ vista.getNumeroExpediente(), 
"");
}

This method creates a template URL to call to a classic HTTPServlet
("exportar") which generates a Zip File to download by users.
The sentence  Window.open(...) open a window in the browser that
allows download the file.

This works correctly in all browsers except Internet Explorer.
The thrown exception is the next:

The thrown exception is the next

10:08:31.208 [ERROR] [sistemadefiniciontramites] Uncaught exception
escaped
com.google.gwt.core.client.JavaScriptException: (Error): Argumento no
válido.
 number: -2147024809
 description: Argumento no válido.
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
237)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
129)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
269)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
at
com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
157)
at
com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
281)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
531)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
at java.lang.Thread.run(Unknown Source)

I can´t find any decent solution searching by google. I would like if
someone has had this problem before and if he or she could overcome
it.

Thanks and excusme for my poor English.

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



Help: How to refresh Button Text?

2011-03-28 Thread Rodrigo JS
Hi All,

I am new to GWT and was trying to create an horizontal panel with 5
Buttons on it. So far, so good.

Point is that when I implemented the method that would define what to
be written in each Button it did not work.

Can anyone helpe me?

Thanks,
Rodrigo

 public void onModuleLoad() {

  hPanel.setSpacing(10);

  // Add some content to the panel
  hPanel.add(Stop1Button);
  Stop1Button.addStyleName("B1");
  hPanel.add(Stop2Button);
  Stop2Button.addStyleName("B2");
  hPanel.add(Stop3Button);
  Stop3Button.addStyleName("B3");
  hPanel.add(Stop4Button);
  Stop4Button.addStyleName("B2");
  hPanel.add(Stop5Button);
  Stop5Button.addStyleName("B1");

  // Associate the Main panel - hPanel - with the HTML host page.
  RootPanel.get("stopList").add(hPanel);

  // Setup timer to refresh list periodically.
  Timer refreshTimer = new Timer() {
@Override
public void run() {
  refreshStopList();
}
  };
  refreshTimer.scheduleRepeating(REFRESH_INTERVAL);
  }

  private void refreshStopList() {

  // For testing purpose, generate a second screen with different
text then the first one

  // hPanel is cleared
  hPanel.clear();

  // I could do it altogether , but am testing if it is working step
by step
  // Text generated in tester is associated with a variable
  textButton1 = "Test 1";
  // Text received is attributed to a button
  Stop1Button.setText(textButton1);

  // Button is added to the Screen.
  hPanel.add(Stop1Button);

  // hPanel is associated with the screen
  RootPanel.get("stopList").add(hPanel);

  }

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



WidgetGallery link is broken

2011-03-28 Thread Murali
http://code.google.com/webtoolkit/doc/latest/tutorial/RefWidgetGallery.html

-- 
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: problema de integracion con Eclipse

2011-03-28 Thread Andrey
Dear Author and others: please, write in English! Because it is
mentioned that this group is in English!
I suppose i have same problem with Eclipse-GWT integration and i cant
read your message!(((

-- 
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: problema de integracion con Eclipse

2011-03-28 Thread WDaniel
Seguro has seguido todas las indicaciones, y agregaste el App Engine.
Mira este link
http://code.google.com/intl/es/eclipse/docs/install-eclipse-3.6.html


On 25 mar, 13:13, David  wrote:
> Hola:
> Quiero comenzar a utilizar el framework GWT y para esto quisiera
> integrarlo con Eclipse.
> Estoy usando ademas Windows XP.
>  Ya me he bajado el Eclipse  Helios Service Release 2. Y ademas tengo
> descargado el plugin:
> com.google.gdt.eclipse.suite.e36.update.site_2.2.0.v201102111811
>
> He seguido las instrucciones para la instalacion local y me deja este
> mensaje de error:
>
> Cannot complete the install because one or more required items could
> not be found.
>   Software being installed: Google App Engine Java SDK 1.4.2
> 1.4.2.v201102111811
> (com.google.appengine.eclipse.sdkbundle.e36.feature.
> 1.4.2.feature.group 1.4.2.v201102111811)
>   Missing requirement: Google Plugin for Eclipse 3.6
> 2.2.0.v201102111811
> (com.google.gdt.eclipse.suite.e36.feature.feature.group
> 2.2.0.v201102111811) requires 'org.eclipse.pde.core 0.0.0' but it
> could not be found
>   Cannot satisfy dependency:
>     From: Google App Engine Java SDK 1.4.2 1.4.2.v201102111811
> (com.google.appengine.eclipse.sdkbundle.e36.feature.
> 1.4.2.feature.group 1.4.2.v201102111811)
>     To: com.google.gdt.eclipse.suite.e36.feature.feature.group 2.2.0

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



Error when installing GWT plugin for Eclipse 3.6

2011-03-28 Thread Andrey
Hi all!

When i'm installing and it is already half a progress bar i recieve
following error message:

"An error occurred while collecting items to be installed
session context was:(profile=epp.package.java,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=).
Unable to read repository at
http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclipse.sdkbundle.2.2.0_2.2.0.v201102111811.jar.
Read timed out"

King Google, do something! =)

PS Please, do not post messages like "check your internet connection"

-- 
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: GWT CellTable Reading Json Data.

2011-03-28 Thread Juan Pablo Gardella
some exception in stacktrace?

2011/3/25 Ankit 

> Hi All,
>
> I am new to the GWT looking for some help in the following code.
>
> Basically want to iterate over some json data and display it in a cell
> Table.
>
> Here is how it looks like.
>
> (1) JsonIntegrate.gwt.xml
>
> 
> 
>  
>  
>
>  
>  
>  
>  
>  
>  
>
>  
>  
>
>  
>  
>
>  
>  
>  
>
> 
>
> (2) Client.
>
> JsonIntegrate.java
>
> package com.symantec.mmavis.gwt.client;
>
> import java.util.ArrayList;
> import java.util.Collections;
> import java.util.Comparator;
> import java.util.List;
>
> import com.google.gwt.core.client.EntryPoint;
> import com.google.gwt.core.client.GWT;
> import com.google.gwt.core.client.JsArray;
> import com.google.gwt.http.client.Request;
> import com.google.gwt.http.client.RequestBuilder;
> import com.google.gwt.http.client.RequestCallback;
> import com.google.gwt.http.client.RequestException;
> import com.google.gwt.http.client.Response;
> import com.google.gwt.http.client.URL;
> import com.google.gwt.user.cellview.client.CellTable;
> import com.google.gwt.user.cellview.client.ColumnSortList;
> import com.google.gwt.user.cellview.client.TextColumn;
> import
> com.google.gwt.user.cellview.client.ColumnSortEvent.AsyncHandler;
> import com.google.gwt.user.client.Timer;
> import com.google.gwt.user.client.ui.RootPanel;
> import com.google.gwt.view.client.AsyncDataProvider;
> import com.google.gwt.view.client.HasData;
> import com.google.gwt.view.client.ListDataProvider;
> import com.google.gwt.view.client.Range;
>
> /**
>  * Entry point classes define onModuleLoad().
>  */
> public class JsonIntegrate implements EntryPoint {
>
>// The list of data to display.
>
>//ResultData rs1 = new ResultData();
>
>//private static List CONTACTS = Arrays.asList(new
> Contact("John", "123 Fourth Road"), new Contact("Mary", "222 Lancer
> Lane"), new Contact("Zander", "94 Road Street"));
>private static final String JSON_URL = GWT.getModuleBaseURL() +
> "search?q=5";
>
>private ListDataProvider dataProvider = new
> ListDataProvider();
>
>private final ArrayList contactList = new
> ArrayList();
>
>public void onModuleLoad() {
>
>// Create a CellTable.
>final CellTable table = new
> CellTable();
>
>// Create ordernumber column.
>final TextColumn orderColumn = new
> TextColumn() {
>@Override
>public String getValue(final SearchResult contact) {
>return contact.getOrdernumber();
>}
>};
>
>// Make the name column sortable.
>orderColumn.setSortable(true);
>
>// Create status column.
>final TextColumn statusColumn = new
> TextColumn() {
>@Override
>public String getValue(final SearchResult contact) {
>return contact.getStatus();
>}
>};
>statusColumn.setSortable(true);
>
>// Create View Detail Column
>TextColumn viewDetailColumn = new
> TextColumn() {
>
>@Override
>public String getValue(SearchResult contact) {
>return contact.getDetail();
>}
>};
>viewDetailColumn.setSortable(true);
>
>// Add the columns.
>table.addColumn(orderColumn, "Order Number");
>table.addColumn(statusColumn, "Status");
>table.addColumn(viewDetailColumn, "View Detail");
>
>this.getJsonData();
>
>// Set the total row count. You might send an RPC request to
> determine the
>// total row count.
>table.setRowCount(contactList.size(), true);
>
>// Set the range to display. In this case, our visible range
> is
> smaller than
>// the data set.
>table.setVisibleRange(0, contactList.size());
>
>// Create a data provider.
>final AsyncDataProvider dataProvider = new
> AsyncDataProvider() {
>@Override
>protected void onRangeChanged(final
> HasData display)
> {
>final Range range =
> display.getVisibleRange();
>
>// Get the ColumnSortInfo from the table.
>final ColumnSortList sortList =
> table.getColumnSortList();
>
>// This timer is here to illustrate the
> asynchronous nature of
> this data
>// provider. In practice, you would use an
> asynchronous RPC call
> to
>// request data in the specified range.
>new Timer(

Re: Error when installing GWT plugin for Eclipse 3.6

2011-03-28 Thread Juan Pablo Gardella
Try this:  
http://code.google.com/intl/es/eclipse/docs/install-from-zip.html


2011/3/26 Andrey 

> Hi all!
>
> When i'm installing and it is already half a progress bar i recieve
> following error message:
>
> "An error occurred while collecting items to be installed
> session context was:(profile=epp.package.java,
> phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
> action=).
> Unable to read repository at
>
> http://dl.google.com/eclipse/plugin/3.6/plugins/com.google.gwt.eclipse.sdkbundle.2.2.0_2.2.0.v201102111811.jar
> .
> Read timed out"
>
> King Google, do something! =)
>
> PS Please, do not post messages like "check your internet connection"
>
> --
> 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.



IE v Firefox

2011-03-28 Thread Greg Dougherty
So, I have a quirks mode web app using GWT 2.1.2.  It runs just fine
under Firefox, Sea Monkey (Mozilla derivative), and even Safari (on my
iPhone).  On IE, however, it pops up the password dialog box, accepts
a user id and password, then gives a completely blank screen.  On
errors on the server side.

How do I go about debugging this sort of problem?

TIA,

Greg

-- 
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: GWT: com.google.gwt.core.client.JavaScriptException. only using Internet Explorer

2011-03-28 Thread Juan Pablo Gardella
+1 on this, I  have the same error

El 28 de marzo de 2011 06:04, Sergio García escribió:

> Hi,
>
> Before explain my problem, I have to say that my GWT version is 2.2.0
> and the error only has place when I use Internet Explorer (in this
> case IE 8).
>
> I have a little GWT project which contains a button that throws the
> next method:
>
>private void expotarExpediente(VistaExpediente vista) {
>final String templateURL = GWT.getHostPageBaseURL() +
> "exportar?id="
>+ vista.getId();
>Window.open(
>templateURL,
>"Resultado de expotar el expediente: "
>+
> vista.getNumeroExpediente(), "");
>}
>
> This method creates a template URL to call to a classic HTTPServlet
> ("exportar") which generates a Zip File to download by users.
> The sentence  Window.open(...) open a window in the browser that
> allows download the file.
>
> This works correctly in all browsers except Internet Explorer.
> The thrown exception is the next:
>
> The thrown exception is the next
>
> 10:08:31.208 [ERROR] [sistemadefiniciontramites] Uncaught exception
> escaped
> com.google.gwt.core.client.JavaScriptException: (Error): Argumento no
> válido.
>  number: -2147024809
>  description: Argumento no válido.
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
> 237)
>at
> com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
> 129)
>at
> com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
> 561)
>at
> com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
> 269)
>at
>
> com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
> 91)
>at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
>at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
>at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
>at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>at java.lang.reflect.Method.invoke(Unknown Source)
>at
> com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
>at
> com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
>at
>
> com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
> 157)
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:
> 281)
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
> 531)
>at
>
> com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
> 352)
>at java.lang.Thread.run(Unknown Source)
>
> I can´t find any decent solution searching by google. I would like if
> someone has had this problem before and if he or she could overcome
> it.
>
> Thanks and excusme for my poor English.
>
> --
> 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: Help: How to refresh Button Text?

2011-03-28 Thread Juan Pablo Gardella
Why you add again the button in refreshStopList()?

// Button is added to the Screen.
 hPanel.add(Stop1Button);

2011/3/25 Rodrigo JS 

> Hi All,
>
> I am new to GWT and was trying to create an horizontal panel with 5
> Buttons on it. So far, so good.
>
> Point is that when I implemented the method that would define what to
> be written in each Button it did not work.
>
> Can anyone helpe me?
>
> Thanks,
> Rodrigo
>
>  public void onModuleLoad() {
>
>  hPanel.setSpacing(10);
>
>  // Add some content to the panel
>  hPanel.add(Stop1Button);
>  Stop1Button.addStyleName("B1");
>  hPanel.add(Stop2Button);
>  Stop2Button.addStyleName("B2");
>  hPanel.add(Stop3Button);
>  Stop3Button.addStyleName("B3");
>  hPanel.add(Stop4Button);
>  Stop4Button.addStyleName("B2");
>  hPanel.add(Stop5Button);
>  Stop5Button.addStyleName("B1");
>
>  // Associate the Main panel - hPanel - with the HTML host page.
>  RootPanel.get("stopList").add(hPanel);
>
>  // Setup timer to refresh list periodically.
>  Timer refreshTimer = new Timer() {
>@Override
>public void run() {
>  refreshStopList();
>}
>  };
>  refreshTimer.scheduleRepeating(REFRESH_INTERVAL);
>  }
>
>  private void refreshStopList() {
>
>  // For testing purpose, generate a second screen with different
> text then the first one
>
>  // hPanel is cleared
>  hPanel.clear();
>
>  // I could do it altogether , but am testing if it is working step
> by step
>  // Text generated in tester is associated with a variable
>  textButton1 = "Test 1";
>  // Text received is attributed to a button
>  Stop1Button.setText(textButton1);
>
>  // Button is added to the Screen.
>  hPanel.add(Stop1Button);
>
>  // hPanel is associated with the screen
>  RootPanel.get("stopList").add(hPanel);
>
>  }
>
> --
> 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: gwt + spring + maven

2011-03-28 Thread mariyan nenchev
I did recompile, but with no effect. I use gwt 2.2 and after updating the
libraries (gin 1.5 and gwt-dispatch) it worked.

Is treated as spring backing bean?

Our existing project structure is:
-jsf
-backing bean
-service
-dao

On Mon, Mar 28, 2011 at 5:24 PM, Juan Pablo Gardella <
gardellajuanpa...@gmail.com> wrote:

> The exception:
>
> 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 client, got 7. )
>
> Mean that you must recompile (I don't know why :( ), recompile and test
> again
>
> Juan
>
>
>
>
> 2011/3/28 mariyan nenchev 
>
>> Hi
>>  tried to run the sample gwt-spring example in dev mode, but i got:
>>
>>
>>[WARN] dispatchServlet: An IncompatibleRemoteServiceException was
>> thrown while processing this call.
>> 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 client, got 7. )
>> at
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepareToRead(ServerSerializationStreamReader.java:432)
>>  at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:236)
>> at
>> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:186)
>>  at
>> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
>> at
>> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
>>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>  at
>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>> at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
>>  at
>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>> at
>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>>  at
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
>> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>>  at
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>> at
>> org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
>>  at
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>> at org.mortbay.jetty.Server.handle(Server.java:324)
>>  at
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
>> at
>> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
>>  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
>> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
>>  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>> at
>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>>  at
>> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To 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.
>

-- 
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: When is an object passed over RPC safe to modify?

2011-03-28 Thread martin liste larsson
On Mon, Mar 28, 2011 at 4:41 AM, Craig Mitchell  wrote:
> FYI:  The project I'm on will also be saving in the background.
> However, we will just transfer all the data back to the server on save
> (there really isn't that much), so I don't have to worry about the
> object statuses on the client (the server can work them out).

Thanks for the info.
It seems you might get partially updated objects to the server then?
If it is possible for the user to modify the objects in the client
while the RPC-
code is serializing, I mean.

IOW. if I can run into trouble, so can you.

Or maybe there is no problem? Would be nice to know for sure ...

M.

-- 
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: Google Web Toolkit Developer Plugin for Solaris Firefox 3.6.x

2011-03-28 Thread Jeff Chimene
On Sat, Mar 26, 2011 at 8:35 AM, Barry Astrow  wrote:

> Greetings.  I am new to GWT and I need a Google Web Toolkit Developer
> Plugin for Firefox 3.6.x running on a Solaris 10 (a.k.a., SunOS 5.10) machine.
> Is there such a plugin available?  Thanks for any help you can provide.
> –Barry
>

http://gwt.google.com/samples/MissingPlugin/MissingPlugin.html
You get there automatically when your browser reaches the development mode
URL and the browser plugin isn't installed.

If a linux version doesn't work, it may be that you need to build from
source
http://code.google.com/p/google-web-toolkit/source/browse/#svn/trunk/plugins

-- 
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: IE v Firefox

2011-03-28 Thread Juan Pablo Gardella
See this thread
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c4c2e25bf0a2065f

2011/3/28 Greg Dougherty 

> So, I have a quirks mode web app using GWT 2.1.2.  It runs just fine
> under Firefox, Sea Monkey (Mozilla derivative), and even Safari (on my
> iPhone).  On IE, however, it pops up the password dialog box, accepts
> a user id and password, then gives a completely blank screen.  On
> errors on the server side.
>
> How do I go about debugging this sort of problem?
>
> TIA,
>
> Greg
>
> --
> 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.



No App Identifier is available

2011-03-28 Thread Bob
Trying to follow the instructions at 
http://code.google.com/webtoolkit/usingeclipse.html the last part, deploy to 
google app engine.

I am an absolute newbe to GWT.

Everything has worked fine up to here.  But I cannot get an application 
identifier.  Regardless of what i put in at 
https://appengine.google.com/start/createapp.do (got there by clicking on 
App Engine Administrative Console link in instructions above) in the 
Application Identifier field, it comes back and says that identifier is not 
available.  I have tried very long random strings of numbers, everything.  

So I am stuck.  Any ideas?

Thanks,
Bob 

-- 
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: IE v Firefox

2011-03-28 Thread Jeff Chimene
On Mon, Mar 28, 2011 at 7:41 AM, Greg Dougherty
wrote:

> So, I have a quirks mode web app using GWT 2.1.2.  It runs just fine
> under Firefox, Sea Monkey (Mozilla derivative), and even Safari (on my
> iPhone).  On IE, however, it pops up the password dialog box, accepts
> a user id and password, then gives a completely blank screen.  On
> errors on the server side.
>
> How do I go about debugging this sort of problem?
>

A few ideas:

   - Install firebug-lite
   - Use development mode to step through your code after the login process
   completes.
   - Are you using Gin? If so, create a mock login authentication module to
   save yourself that step
   - Which version of IE? Six? Good luck.
   - JSNI code? I'd start there.
   - Custom attribute settings? element.setAttribute... Review those.
   - GWT.log or logger is your friend

-- 
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: Need some help on Editors

2011-03-28 Thread Potate
hi Thomas

thank you for the reply. After reading your email and the referenced
examples, it makes much more sense now.
I have one more question poped out.
How does the editor framework work with inheritance?
say I have

interface Base {
String getBaseProperty() }

interface Child extends Base {
String getChildProperty() }

currently, without the editor framework, I have one view that displays
both Base and Child. I do a check with instanceof with the object to
be displayed and toggle visibilities of widgets accordingly. How might
similar functionality be implemented with the editor framework? I
poked around but had no luck.
class View implements Editor did not work because the child
property sub editor was complaining about no child property getter in
Base
class View implements Editor could work, but I have to wrap
Base as a Child, which somewhat breaks the meaning of inheritance
class ChildView extends View implements Editor doesn't work
because java does not allow implementing the same interface twice

thanks



On Mar 24, 9:05 pm, Thomas Broyer  wrote:
> On Thursday, March 24, 2011 9:21:00 PM UTC+1, Potate wrote:
>
> > Hi everyone
>
> > I'm having trouble understanding Editors introduced in GWT 2.1. It
> > sounds like a nice feature to reduce boilerplate code. The Dev Guide
> > is very very useful, but I couldn't get all the answers >_<
>
> > ==
>
> > my first question is about validation and error reporting.
> > take the Dev Guide example,
>
> > public class PersonEditor extends Dialog implements Editor {
> >   Label nameEditor;
> >   ...
> > }
>
> > I wish to detect bad names, create a visual feedback upon error, and
> > bubble this information up so the caller knows not to proceed further.
> > I see there is recordError in EditorDelegate. Is it the right method
> > to tackle this? Can I get an example please?
>
> Yes, have a look at the DynatableRf sample and its ZipPlusFourBox widget.
> It extends ValueBox, so actually, have a look at the ValueBoxEditor adapter
> from GWT.
>
> > I have a lot fields to
> > edit. I hope I don't have to create bunch delegates. The less code the
> > better =)
>
> The delegate is provided to you by the editor framework, you have to
> implement HasEditorDelegate.
>
>
>
>
>
>
>
>
>
> > ==
>
> > second question is about "Q: How can I edit objects with a large
> > number of properties?" from the FAQ section
> > It has the following example
> > class BagOfStateBiographicalEditor implements Editor {
> >   AddressEditor address;
> >   Label name;
> > }
>
> > class BagOfStateUserPreferencesEditor implements Editor {
> >   CheckBox likesCats;
> >   CheckBox likesDogs;
> > }
>
> > How do I chain up the two editors? Should I use a CompositeEditor? or
> > a list of drivers?
>
> What do you mean by "chaining them"? à la wizard? then either you use them
> as they do in the example and just adjust their visibility (use a DeckPanel
> or TabPanel/TabLayoutPanel?), or you use 2 drivers. I think you don't
> generally need 2 drivers; and you don't need a CompositeEditor here,
> CompositeEditor is for editing an object that's composed of zero or more
> other objects (zero or one => OptionalEditor, a List<> of objects =>
> ListEditor)

-- 
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: IE v Firefox

2011-03-28 Thread Jeff Chimene
One more thing - why are you using quirks mode?

-- 
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: GWT: com.google.gwt.core.client.JavaScriptException. only using Internet Explorer

2011-03-28 Thread Jeff Chimene
2011/3/28 Sergio García 

> Hi,
>
> Before explain my problem, I have to say that my GWT version is 2.2.0
> and the error only has place when I use Internet Explorer (in this
> case IE 8).
>
> I have a little GWT project which contains a button that throws the
> next method:
>
>private void expotarExpediente(VistaExpediente vista) {
>final String templateURL = GWT.getHostPageBaseURL() +
> "exportar?id="
>+ vista.getId();
>Window.open(
>templateURL,
>"Resultado de expotar el expediente: "
>+
> vista.getNumeroExpediente(), "");
>}
>
>
Are the arguments to Window.open() correct?
http://msdn.microsoft.com/en-us/library/ms536651%28v=vs.85%29.aspx

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



Part III of RequestFactory article

2011-03-28 Thread Luca
Hi, on our Google Tech User group blog:

http://firenze-gtug.blogspot.com/2011/03/requestfactory-framework-parte-3.html

Hope can be useful for someone.
Ciao. 

-- 
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: IE v Firefox

2011-03-28 Thread Greg Dougherty
> One more thing - why are you using quirks mode?
Because I'm utterly uninterested in trying to figure out what the
dimensions of my panels should be, so I don't ever use any of the
*LayoutPanels.

Every web app I've ever written has had its size dependent upon the
user's input.  I can write a lot of code to try to figure out how big
things should be, and then resize everything appropriately, or I can
use Quirks mode and have the Panels do that for me, while I focus on
the issues that are specific to my app.

Which do you think is a better use of my time?

I've never seen an explanation of why the *LayoutPanels are the way
they are (just the bald statement "can't give you Swing like sizing in
Standards mode"), but even if it's a really good reason, it wouldn't
really matter.  Because as long as I can simply focus my efforts on
the problems important to me, that's what I'm going to do.

Greg

On Mar 28, 10:04 am, Jeff Chimene  wrote:
> One more thing - why are you using quirks mode?

-- 
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: IE v Firefox

2011-03-28 Thread Greg Dougherty
>- Install firebug-lite
Well, I've taken a look at it, and maybe after I figure out what a
"bookmarklet" is I might feel more comfortable using it.  But thanks
for the pointer.

>- Use development mode to step through your code after the login process
>completes.

Yeah, 30 seconds after I posted this it occurred to me that I COULD
test this under development mode, not just as a deployed app. :-(

What's worse, is that I found the problem, and it's one I'd previously
discovered on Dec 8: IE 7 throws an exception when you try to add
something to a HorizontalPanel whose horizontal alignment is set to
ALIGN_JUSTIFY.

Ah, well, at least this time I submitted a bug report.

Thanks Jeff,
Greg

On Mar 28, 10:03 am, Jeff Chimene  wrote:
> On Mon, Mar 28, 2011 at 7:41 AM, Greg Dougherty
> wrote:
>
> > So, I have a quirks mode web app using GWT 2.1.2.  It runs just fine
> > under Firefox, Sea Monkey (Mozilla derivative), and even Safari (on my
> > iPhone).  On IE, however, it pops up the password dialog box, accepts
> > a user id and password, then gives a completely blank screen.  On
> > errors on the server side.
>
> > How do I go about debugging this sort of problem?
>
> A few ideas:
>
>    - Install firebug-lite
>    - Use development mode to step through your code after the login process
>    completes.
>    - Are you using Gin? If so, create a mock login authentication module to
>    save yourself that step
>    - Which version of IE? Six? Good luck.
>    - JSNI code? I'd start there.
>    - Custom attribute settings? element.setAttribute... Review those.
>    - GWT.log or logger is your friend

-- 
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: Part III of RequestFactory article

2011-03-28 Thread Greg Dougherty
Would it really be too much to expect you to post what language the
article is in (since, unlike the post announcing the article, the
article's not in English)?

Greg

On Mar 28, 10:30 am, Luca  wrote:
> Hi, on our Google Tech User group blog:
>
> http://firenze-gtug.blogspot.com/2011/03/requestfactory-framework-par...
>
> Hope can be useful for someone.
> Ciao.

-- 
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: RPC Problem with HashMap containing ArrayList Value

2011-03-28 Thread richip
Changing the value type to java.io.Serializable did the trick for me.
Thanks!
--

Richi


On Mar 26, 8:20 am, SergeZ  wrote:
> Based on my own experience of working with collections in GWTs RPC
> mechanism, I can suggest you to create a POJO (Plain Old Java Object)
> file in the *.shared package of your application, where you have to
> declare all possible combinations of types (arrays of them) that you
> are going to send to the server ( actually which you are going to
> serialize ). For Example:
> import java.io.Serializable;
> import java.util.HashMap;
> import java.util.ArrayList;
> import java.utils.LinkedList;
>
> Class DummyRPCData implements Serializable{
>
> HashMap[] foo1;
> HashMap>[] foo2;
> HashMap>[] foo3;
> HashMap>[] foo4;
> ..
> ..
> ..
> HashMap[] fooN;
>  public Serializable[] fix025;
>
> public DummyPRCData() {
>     foo1 = null;
>     foo2 = null;
>     
>     
>     
>     fooN = null;
>
> }
> }
>
> You also will be able to use just Serializable identifier in your
> client side-code instead of defining the particular type at any
> particular place, for example:
> instead of:
>     HashMap map = new HashMap();
>     map.put("KEY", "VALUE");
> you can write the following:
>     HashMap map = new HashMap Serializable>();
>     map.put("KEY", "VALUE");
> But flexibility comes up not in the case of String type, but, when you
> want to declare a hashmap of types String, and some triky
> LinkedList
>     HashMap map = new HashMap Serializable>();
>     LinkedList> list = new
> LinkedList>();
>     map.put("KEY", list);
>     //and then send map to the server.
>
> I home my post is quite clear.
>
> P.S.: The main idea is to declare all the types you are going to send
> to the server.
>
> On Mar 25, 6:59 pm, richip  wrote:
>
>
>
>
>
>
>
> > I've an object which contains a HashMap instance. I'm
> > finding that when I put a value of type ArrayList, RPC calls fail with
> > a SerializationException that starts with:
>
> > com.google.gwt.user.client.rpc.SerializationException
> >         at
> > com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(SerializerBase.java:
> > 148)
> > ...
>
> > Any ideas why and suggestions on what to do to get to my intended
> > process?

-- 
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: Part III of RequestFactory article

2011-03-28 Thread Juan Pablo Gardella
Italian

2011/3/28 Greg Dougherty 

> Would it really be too much to expect you to post what language the
> article is in (since, unlike the post announcing the article, the
> article's not in English)?
>
> Greg
>
> On Mar 28, 10:30 am, Luca  wrote:
> > Hi, on our Google Tech User group blog:
> >
> > http://firenze-gtug.blogspot.com/2011/03/requestfactory-framework-par...
> >
> > Hope can be useful for someone.
> > Ciao.
>
> --
> 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: One GWT WebApp but more than one WAR files

2011-03-28 Thread Greg Dougherty
The question is, why do you want to do it that way?

You can develop separate modules, and include all those modules in one
project / war file.  You can build multiple libraries, and include
them in multiple projects / war files.

What are you doing that requires you to have multiple war files?

Greg

On Mar 28, 8:49 am, deejay  wrote:
> Sorry i think the question was unclear. Of course, we need a shared
> repository.
>
> The main question was, how to develop a GWT application which is
> splitted in MULTIPLE war files which could be deployed separately in
> the webapp server...
>
> On 28 Mrz., 15:39, Juan Pablo Gardella 
> wrote:
>
> > You can use a SCM repository, for ex. SVN, Mercurial
>
> > Juan
>
> > 2011/3/28 deejay 
>
> > > Is it possible to create one Webapp which is splitted into multiple
> > > WAR files (e.g. every module in one WAR file)?
> > > Is this a bad approach?
> > > How to develop a gwt application with more than one developer?
>
> > > Thanks,
> > > 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.

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



GWT 2.2 and FocusWidget

2011-03-28 Thread bconoly
Hey All,
   We recently upgraded to gwt 2.2 and one of our widgets that extends
FocusWidget is no longer firing the onfocus and onblur events.  Does
anyone know why or how that could happen?  If so, do you know a fix
for it?
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: IE v Firefox

2011-03-28 Thread Jeff Chimene
On Mon, Mar 28, 2011 at 8:33 AM, Greg Dougherty
wrote:

> > One more thing - why are you using quirks mode?
> Because I'm utterly uninterested in trying to figure out what the
> dimensions of my panels should be, so I don't ever use any of the
> *LayoutPanels.
>
> Every web app I've ever written has had its size dependent upon the
> user's input.  I can write a lot of code to try to figure out how big
> things should be, and then resize everything appropriately, or I can
> use Quirks mode and have the Panels do that for me, while I focus on
> the issues that are specific to my app.
>
> Which do you think is a better use of my time?
>
> I've never seen an explanation of why the *LayoutPanels are the way
> they are (just the bald statement "can't give you Swing like sizing in
> Standards mode"), but even if it's a really good reason, it wouldn't
> really matter.  Because as long as I can simply focus my efforts on
> the problems important to me, that's what I'm going to do.
>
> Greg
>

Any GWT widget should work in Standards mode. It may be interesting to see
if the problem disappears in Standards mode. Also, there's the
X-UA-Compatibility header for IE. Are you using that header?

-- 
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: IE v Firefox

2011-03-28 Thread Jeff Chimene
On Mon, Mar 28, 2011 at 8:43 AM, Greg Dougherty
wrote:

> >- Install firebug-lite
> Well, I've taken a look at it, and maybe after I figure out what a
> "bookmarklet" is I might feel more comfortable using it.  But thanks
> for the pointer.
>

I don't remember the linkage between bookmarklet and the install. ISTR that
the bookmarklet gives you on-demand access to FBL. But I could be wrong.
When I'm using IE, it's always for testing, so FBL is always running.


>
> >- Use development mode to step through your code after the login
> process
> >completes.
>
> Yeah, 30 seconds after I posted this it occurred to me that I COULD
> test this under development mode, not just as a deployed app. :-(
>

I hate it when that happens...

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



UIBinder doesn't consider new line as a space in IE?

2011-03-28 Thread Philippe Beaudoin
I've remarked that if you have a new line between two elements (or widgets?) 
within a HTMLWidget in a UIBinder file, then Chrome and Firefox displays a 
space between them whereas Internet Explorer doesn't. This can cause some 
headaches when a seemingly stylistic reformatting of a .ui.xml file has 
visual impact on only some browsers.

Is this a known bug?

-- 
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: UIBinder doesn't consider new line as a space in IE?

2011-03-28 Thread Philippe Beaudoin
In case anybody is interested, the "fix" (or, "convention") we came up with 
was to put the two elements on the same line separated by an   just so 
that anybody refactoring the file is aware that the line should not be split 
in two.

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



Clickable image in a CellTable & changing cell types

2011-03-28 Thread Yaakov
Hi,

Is there an example out there I can look at for the following 2 cases:

1) A clickable image cell. On click of that image, I want to execute
some functionality.

2) A textcell, when clicked becomes a drop-down (i.e., selection)
cell.

How do I accomplish those 2 tasks within the CellTable?

-Yaakov.

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



HTML widget takes too long to render

2011-03-28 Thread azuniga
I have a gwt webapp that makes an rpc to the server, the server
generates a report, then the report returns a string, which is just
the html contents of the report, which contains a large amount of
html. After timing the rpc and how long it takes for the html to be
returned and a new html widget to be created and added to the panel,
its about 1 minute. 27 seconds is spent running the report generation
code. However, it takes really long for the html to render or to
appear on the firefox page, about 2 minutes and 40 seconds and I am
wondering why if all the code is completed in 58 seconds, why does it
take so long for the html to display? It feels like it freezes up the
computer for that time in between the 58 seconds and the 2 minutes and
40 seconds. Anyone have any insight? Also, any insights into how I can
make my code more efficient or faster? Any links or info is greatly
appreciated.

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



Designer Problem : « uibinder template should be in client package »

2011-03-28 Thread HommeDeJava
Greetings folks,

I've tried to add UIBinder Composite widget in a project which was
initiated without UiBinder using GWT plugin.
So, when I tried to open xxx.ui.xml into the designer view, I've got
the error « uibinder template should be in client package »
You are attempting to use UiBinder for .../xxx.ui.xml however it is
not in Java package.

Did someone get this problem or have any idea?

Thanks

Claude


-- 
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: RPC Problem with HashMap containing ArrayList Value

2011-03-28 Thread ciosbel
Remember that gwt will create a serialization policy for all serializable 
types at compile time.

-- 
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: Designer Problem : « uibinder template should be in client package »

2011-03-28 Thread Juan Pablo Gardella
I supposed that you must put the file in client package.

2011/3/28 HommeDeJava 

> Greetings folks,
>
> I've tried to add UIBinder Composite widget in a project which was
> initiated without UiBinder using GWT plugin.
> So, when I tried to open xxx.ui.xml into the designer view, I've got
> the error « uibinder template should be in client package »
> You are attempting to use UiBinder for .../xxx.ui.xml however it is
> not in Java package.
>
> Did someone get this problem or have any idea?
>
> Thanks
>
> Claude
>
>
> --
> 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: Designer Problem : « uibinder template should be in client package »

2011-03-28 Thread HommeDeJava

Hi,

> I supposed that you must put the file in client package.
>

Yes indeed I've put the myUIBinderComposite.ui.xml and
myUIBinderComposite.java files into the client package

It's when I try to use the GWT Designer opening the
myUIBinderComposite.ui.xml file using the Design Tab that I've got the
error.

Anyway, thanks for your help.

>
> > I've tried to add UIBinder Composite widget in a project which was
> > initiated without UiBinder using GWT plugin.
> > So, when I tried to open xxx.ui.xml into the designer view, I've got
> > the error « uibinder template should be in client package »
> > You are attempting to use UiBinder for .../xxx.ui.xml however it is
> > not in Java package.
>
> > Did someone get this problem or have any idea?
>
> > Thanks
>
> > Claude
>
> > --
> > 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: Clickable image in a CellTable & changing cell types

2011-03-28 Thread Alex Nederlof
Hi,

I maybe have a solution for the first problem: You can set an image in a
button. Another option is to just adjust the CSS of a specific button to
have that image as a background.

Best,

Ale

On Mon, Mar 28, 2011 at 7:25 PM, Yaakov  wrote:

> Hi,
>
> Is there an example out there I can look at for the following 2 cases:
>
> 1) A clickable image cell. On click of that image, I want to execute
> some functionality.
>
> 2) A textcell, when clicked becomes a drop-down (i.e., selection)
> cell.
>
> How do I accomplish those 2 tasks within the CellTable?
>
> -Yaakov.
>
> --
> 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: One GWT WebApp but more than one WAR files

2011-03-28 Thread Alex Nederlof
as far as I know, can only have one war file per application.

If you want to split up your application into modules (which is an excellent
idea if you're building a big application) I suggest you use Maven. There's
an excelent guide here about building a war from multiple jar modules:
sonatype.com/books/mvnex-book/reference/public-book.html

Good luck,

Alex

On Mon, Mar 28, 2011 at 5:58 PM, Greg Dougherty
wrote:

> The question is, why do you want to do it that way?
>
> You can develop separate modules, and include all those modules in one
> project / war file.  You can build multiple libraries, and include
> them in multiple projects / war files.
>
> What are you doing that requires you to have multiple war files?
>
> Greg
>
> On Mar 28, 8:49 am, deejay  wrote:
> > Sorry i think the question was unclear. Of course, we need a shared
> > repository.
> >
> > The main question was, how to develop a GWT application which is
> > splitted in MULTIPLE war files which could be deployed separately in
> > the webapp server...
> >
> > On 28 Mrz., 15:39, Juan Pablo Gardella 
> > wrote:
> >
> > > You can use a SCM repository, for ex. SVN, Mercurial
> >
> > > Juan
> >
> > > 2011/3/28 deejay 
> >
> > > > Is it possible to create one Webapp which is splitted into multiple
> > > > WAR files (e.g. every module in one WAR file)?
> > > > Is this a bad approach?
> > > > How to develop a gwt application with more than one developer?
> >
> > > > Thanks,
> > > > 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.
>
> --
> 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.



AutoBean and Generic types (Server-side)

2011-03-28 Thread d95sld95

I am trying to solve an issue with AutoBean and generics on the server
side.

When I run the test below I get the following output:

{"name":"SomeName","version":"1"}

But I did except to get the following:

{"name":"SomeName","id":"10","version":"1"}

For some reason the AutoBean framework does not detect the generics
Dto that is used for the id (K id). The id property is resolved to
a java.lang.Object in the
com.google.gwt.autobean.server.ProxyAutoBean class static method
calculateData(Class beanType).

I had hoped it would be more advanced and used something like this:
http://stackoverflow.com/questions/182872/how-to-test-whether-method-return-type-matches-liststring

Is the limitation by design or is it a bug. Is it maybe limited
because of client-side constraints and java support?


##

import org.junit.Test;

import com.google.gwt.autobean.server.AutoBeanFactoryMagic;
import com.google.gwt.autobean.shared.AutoBean;
import com.google.gwt.autobean.shared.AutoBeanCodex;
import com.google.gwt.autobean.shared.AutoBeanFactory;
import com.google.gwt.autobean.shared.AutoBeanUtils;

public class AutoBeanTest {

public interface Dto {
public K getId();

public Long getVersion();

public void setId(K id);

public void setVersion(Long version);
}

public interface MyDto extends Dto {
public String getName();

public void setName(String name);
}

interface MyFactory extends AutoBeanFactory {
AutoBean myDto();
}

@Test
public void test() {

final MyFactory factory =
AutoBeanFactoryMagic.create(MyFactory.class);

// Construct the AutoBean
final AutoBean myDto = factory.myDto();
final MyDto dto = myDto.as();

dto.setId(10L);
dto.setVersion(1L);
dto.setName("Steen");

final AutoBean bean = AutoBeanUtils.getAutoBean(dto);

final String json = AutoBeanCodex.encode(bean).getPayload();

System.out.println(json);
}
}
#

-- 
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: HTML widget takes too long to render

2011-03-28 Thread Jim Douglas
The answer to "where does the time go?" is always to profile your
code:

Firefox: http://getfirebug.com/
Chrome: http://code.google.com/webtoolkit/speedtracer/

On Mar 28, 11:39 am, azuniga  wrote:
> I have a gwt webapp that makes an rpc to the server, the server
> generates a report, then the report returns a string, which is just
> the html contents of the report, which contains a large amount of
> html. After timing the rpc and how long it takes for the html to be
> returned and a new html widget to be created and added to the panel,
> its about 1 minute. 27 seconds is spent running the report generation
> code. However, it takes really long for the html to render or to
> appear on the firefox page, about 2 minutes and 40 seconds and I am
> wondering why if all the code is completed in 58 seconds, why does it
> take so long for the html to display? It feels like it freezes up the
> computer for that time in between the 58 seconds and the 2 minutes and
> 40 seconds. Anyone have any insight? Also, any insights into how I can
> make my code more efficient or faster? Any links or info is greatly
> appreciated.

-- 
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: Error when installing GWT plugin for Eclipse 3.6

2011-03-28 Thread Andrey
Already used that variant (your links are equal) - it havn't helped:
there is another kind of error like "There is no repository in your
archive file".

-- 
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: RPC Problem with HashMap containing ArrayList Value

2011-03-28 Thread SergeZ
What it means ? Is it bad or not ? I see nothing bad or just nothing
that takes my attention to that ! Can you explain your point about
serialization policy in more details ? What did you mean ?

On 28 мар, 22:56, ciosbel  wrote:
> Remember that gwt will create a serialization policy for all serializable
> types at compile time.

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

2011-03-28 Thread Sabbia
I can't believe it yeah, you are absolutely right... I can't
believe how I haven't realized about it... it's working... Anyway,
although I knew it was wrong, I wouldnt have seen it if you wouldn't
had told me, so thanks, thanks, thanks!!

I will mention you in the "gratitude" of my project... :)

On 28 mar, 07:15, "A. Stevko"  wrote:
> It seems that you have crossed method names in your code.
>
> getElementsById() is not the same as getElementsByTagName()
>
> Also getElementsByTagName() returns an array so you would want to do
> something like
> elements = getElementsByTagName( 'embed' );
>
> This is 
> fromhttp://programming.top54u.com/post/Javascript-document-getElementsByT...
> *getElementsByTagName* method returns the node list array of HTML document
> elements present in the HTML web page. You can pass the name of the
> particular HTML tag such as *div*, *span*, *p* etc whose list of array you
> want to collect.
>
>
>
>
>
>
>
>
>
> On Sun, Mar 27, 2011 at 9:35 PM, Sabbia  wrote:
> > Hello!!
>
> > It's been days trying to solve my problem, but I've got a great mess
> > in my head... The thing I wanna do is integrate DivXPlus Web Player
> > plugin in my GWT project. In order to get it, I must add these lines:
>
> > String videoStr = " > classid='clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616' width=636
> > height=380 codebase='http://go.divx.com/plugin/
> > DivXBrowserPlugin.cab'>";
>
> >                videoStr = videoStr.concat(" > value=\"videos/
> > origen.avi\" />");
>
> >                videoStr = videoStr.concat(" > name='ff_plugin'
> > type='video/divx' src='videos/origen.avi' custommode='none'
> > mode='mini' width='636' height='380' pluginspage='http://go.divx.com/
> > plugin/download/'>");
> >                videoStr = videoStr.concat("");
> >                videoStr = videoStr.concat("");
>
> >          HTML vid = new HTML();
> >          vid.setHTML(videoStr);
> >          videoLabel.addChild(vid);
> >          resultsLayout.addMember(videoLabel);
>
> >          mute();  //here is the problem
>
> > This is working. But the DivX plugin offers some Javascript methods to
> > control the playing. It would with this script, for example, to make
> > "mute" to the video:
>
> > 
> > function mute(){
> >      plugin = document.getElementById('ff_plugin');
> >      plugin.Mute();
> > }
> > 
>
> > So, I've tried to convert these lines to JSNI:
>
> > native void mute() /*-{
> >    plugin = $doc.getElementsByTagName('ff_plugin');
> >    plugin.Mute();
> > }-/*;
>
> > But I get an UmbrellaException. So, no doubt my problem is with JSNI,
> > but I'm reading thousands of documents but I can't still make it work.
> > Please, I really beg your help, my time's ending and I can't find the
> > solution.
>
> > Thanks in advance
>
> > --
> > 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.
>
> --
> -- A. Stevko
> ===
> "If everything seems under control, you're just not going fast enough." M.
> Andretti

-- 
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: RPC Problem with HashMap containing ArrayList Value

2011-03-28 Thread Ben Imp
The more generic your remote interface, the more code the GWT compiler
generates to try and handle all the possible values you may pass
through it.

Having a method that can take something of type Serializable would, I
believe, make the GWT compiler generate code for all possible types,
since you can't get any more generic than that.

-Ben

On Mar 28, 3:58 pm, SergeZ  wrote:
> What it means ? Is it bad or not ? I see nothing bad or just nothing
> that takes my attention to that ! Can you explain your point about
> serialization policy in more details ? What did you mean ?
>
> On 28 мар, 22:56, ciosbel  wrote:
>
>
>
>
>
>
>
> > Remember that gwt will create a serialization policy for all serializable
> > types at compile time.

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



Howto: Optimising RPC

2011-03-28 Thread George Georgovassilis
Hello all,

I've been spending some time with reducing RPC payload size and
optimising the request pattern and thought I'd share my pain and
wisdom with you :-)

You can read the full story here [1], the main points I am discussing
are:

- rewriting RPC to use GET over POST for reduced network packet count
- type name elision (and pitfalls)
- packing variables (and when not to)
- using higher gzip compression ratios
- batching requests

Please feel to post any comments
G.

[1] 
http://georgovassilis.blogspot.com/2011/03/squeezing-last-bit-out-of-rpc-gwt.html

-- 
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: Howto: Optimising RPC

2011-03-28 Thread Gal Dolber
Nice post, thanks.
I am having a problem code-splitting my rpc classes and dependencies when
using the command pattern.
Even if I only load the login screen, if it uses any command rpc it forces
my apps to load all of them. I am testing some solutions at the moment, any
thoughts on that?

On Mon, Mar 28, 2011 at 7:18 PM, George Georgovassilis <
g.georgovassi...@gmail.com> wrote:

> Hello all,
>
> I've been spending some time with reducing RPC payload size and
> optimising the request pattern and thought I'd share my pain and
> wisdom with you :-)
>
> You can read the full story here [1], the main points I am discussing
> are:
>
> - rewriting RPC to use GET over POST for reduced network packet count
> - type name elision (and pitfalls)
> - packing variables (and when not to)
> - using higher gzip compression ratios
> - batching requests
>
> Please feel to post any comments
> G.
>
> [1]
> http://georgovassilis.blogspot.com/2011/03/squeezing-last-bit-out-of-rpc-gwt.html
>
> --
> 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.
>
>


-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
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: Import GWT prj

2011-03-28 Thread brucko
I have a separate Eclipse "Utils" project, without importing jars for
client side code.

You will need to create a separate *.gwt.xml file in your utils
project and inherit this in the gwt.xml file of projects that use your
utils. This allows GWT to find the source and compile it in.

 Make your utils project a required project on the build path.

Server side code for  me is a bit of an issue. Some one else may have
a better solution. At this stage I am restricted to making a jar of
the server side code and including it in the war directory. Although,
as I am using AppEngine, I suspect I may be able to change my
appengine-web-xml file to include this code when deploying - not sure,
haven't tried yet.

Hope this helps,

Geoff

On Mar 28, 11:50 pm, Marco Gadaleta  wrote:
> Please..
>
> On Mon, Mar 28, 2011 at 11:10 AM, Marco Gadaleta
> wrote:
>
> > Hello everyone,
> > I'm trying to create a "project of Utils" for other GWT Project.
> > In this "Utils" I can put some code so that  does not duplicate it.
>
> > There is a way to do this if considering that in Util Project could be GWT
> > ui code (layoutpanel, button, etc..)?
>
> > Thx
> > --
> > Marco
>
> --
> 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: RPC Problem with HashMap containing ArrayList Value

2011-03-28 Thread ciosbel
Not necessarily a problem, but the serialization file is bigger and 
compilation can take a while longer.
When i faced that problem i also see plenty of warnings, but maybe recent 
releases are less verbose.

I got to use an interface that extends Serializable, and then mark my DTOs 
used with generics with that.

Hope that helps.

-- 
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: Error when installing GWT plugin for Eclipse 3.6

2011-03-28 Thread Andrey
Sorry for my last post: i've downloaded GWT from another link before
and it didn't work. Now i tried your link and all is fine!
At last i'm ready for tutorials and quick start! Hooray! =)

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



EditTextCell with Editor

2011-03-28 Thread -sowdri-
Dear All,

I would like to use 
EditTextCellwith
 Editor framework. 

ie: I have defined View-View with all labels and Edit-View with all TextBox, 
now i would like to implement a common view, with edit capabilities using 
EditTextCell. 

Thanks in advance,
-sowdri-

-- 
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: When is an object passed over RPC safe to modify?

2011-03-28 Thread Craig Mitchell
I won't be losing any sleep over it.  Our data object structure is
pretty robust, so it would be highly unlikely that it would be able to
become invalid.  Also, I'd be surprised if the RPC serialization
occurred in anything but the current JS thread of execution.  So I'd
be a stunned mullet if we ran into trouble.

Having said that, I totally agree, it would be nice to know more about
how the serialization works.


On Mar 29, 1:52 am, martin liste larsson
 wrote:
> On Mon, Mar 28, 2011 at 4:41 AM, Craig Mitchell  wrote:
> > FYI:  The project I'm on will also be saving in the background.
> > However, we will just transfer all the data back to the server on save
> > (there really isn't that much), so I don't have to worry about the
> > object statuses on the client (the server can work them out).
>
> Thanks for the info.
> It seems you might get partially updated objects to the server then?
> If it is possible for the user to modify the objects in the client
> while the RPC-
> code is serializing, I mean.
>
> IOW. if I can run into trouble, so can you.
>
> Or maybe there is no problem? Would be nice to know for sure ...
>
> M.

-- 
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: Howto: Optimising RPC

2011-03-28 Thread George Georgovassilis

Hello Gal,

Sorry, I've had so far no experience with code splitting, my 
applications are all monolithic beasts. I guess the real bloat is not 
the DTOs but the marshalling code generated for RPC, right?


I can think of a possible solution (haven't tested this) but it's ugly: 
assuming that my DTOs live in a defined hierarchy, lets take two as an 
example:


my.package.dto.a.*
my.package.dto.b.*

they can be reflected with a set of corresponding Commands:

my.package.commands.CommandA
my.package.commands.CommandB

where CommandA references only classes from my.package.dto.a and 
CommandB references only classes from my.package.dto.b. I realise that 
even this is a long shot because such a distinction might not always be 
feasible.


To make it worse, I'll probably need multiple service interfaces:

interface MyBatchServiceA{

ResultA process(List commands);

}

etc

If I can think of something better I'll post back


On 29/03/11 00:40, Gal Dolber wrote:

Nice post, thanks.
I am having a problem code-splitting my rpc classes and dependencies 
when using the command pattern.
Even if I only load the login screen, if it uses any command rpc it 
forces my apps to load all of them. I am testing some solutions at the 
moment, any thoughts on that?


On Mon, Mar 28, 2011 at 7:18 PM, George Georgovassilis 
mailto:g.georgovassi...@gmail.com>> wrote:


Hello all,

I've been spending some time with reducing RPC payload size and
optimising the request pattern and thought I'd share my pain and
wisdom with you :-)

You can read the full story here [1], the main points I am discussing
are:

- rewriting RPC to use GET over POST for reduced network packet count
- type name elision (and pitfalls)
- packing variables (and when not to)
- using higher gzip compression ratios
- batching requests

Please feel to post any comments
G.

[1]

http://georgovassilis.blogspot.com/2011/03/squeezing-last-bit-out-of-rpc-gwt.html

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




--
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/




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