AsyncProxyServlet from Jetty

2009-11-11 Thread nick_name

Has anybody tried to configure AsyncProxyServlet available with newer
versions of JETTY for use with GWT? Theoretically, if I make the right
entries in web.xml and place the class file in the correct location,
then it should work - correct?
--~--~-~--~~~---~--~~
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: How to capture function keys ?

2009-11-11 Thread hjo1620

My conclusion:

Non-colliding functionkey detection can be done (find keycodes per
browser in tables or by manual experimentation).
Colliding functionkey detection should be possible using browser
plugins.

No existing W3 spec for DOM events.
For now: least work/max browser support, use the GWT supplied keycode
constants,
convince the end-users they can use other keys, instead of
functionkeys.
--~--~-~--~~~---~--~~
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: Announcing the Google Plugin for Eclipse 1.1.0

2009-11-11 Thread misterln2

my solution was to revert:
trunk\dev\core\src\com\google\gwt\dev\DevMode.java
trunk\dev\core\src\com\google\gwt\dev\DevModeBase.java
to earlier versions (from nov 5th)

but im also hoping for a fixed version of the plugin ;)

On 10 Nov., 13:35, minichate  wrote:
> Is there an expected date for a new release of the Eclipse plugin?
> Dropping -style without having a workaround for eclipse is sorta'
> frustrating!

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



broken builds with xs linker

2009-11-11 Thread John O'Conner

I downloaded and built GWT 2.0 from the source trunk, release #r6834.
I am using the xs linker option in my module xml file: 

Now when I try to compile my project, I get the following link error.
Did the xs linker option change recently? Any ideas?

gwtc:
 [java] Compiling module com.inq.Foo
 [java]Compiling 6 permutations
 [java]   Compiling permutation 1...
 [java]   Compiling permutation 2...
 [java]   Compiling permutation 3...
 [java]   Compiling permutation 4...
 [java]   Compiling permutation 5...
 [java]   Compiling permutation 6...
 [java]Compile of permutations succeeded
 [java] Linking into C:\Users\joconner\workspace\joconner_ree
\ree_gwt\FooClient\war\foo
 [java]Invoking Linker Cross-Site
 [java]   Attempting to optimize JS
 [java]  [ERROR] Unable to parse JavaScript
 [java] com.google.gwt.dev.js.JsParserException: syntax error
 [java] at com.google.gwt.dev.js.JsParser$1.error
(JsParser.java:107)
 [java] at com.google.gwt.dev.js.rhino.Context.reportError
(Context.java:459)
 [java] at
com.google.gwt.dev.js.rhino.TokenStream.reportSyntaxError
(TokenStream.java:1564)
--~--~-~--~~~---~--~~
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: Upgrade 1.5.3 to 1.7.1

2009-11-11 Thread SmartKiller

I have successfully migrated to ver 1.7.1 from 1.5.3  start with
the GWT 1.6 release note. Whatever problem you face i will be here.

On Nov 11, 3:26 am, Vince  wrote:
> Hello,
>
> I am thinking of upgrading to version 1.7.1 from 1.5.3... I read the
> "Getting Started" guide for 1.7.1 and it seems that a considerable
> amount of change has taken place in terms of the base GWT project's
> structure and the means to deploy it, e.g. The utilization of Ant.
>
> Can anyone provide a kind of checklist to follow as guide to this
> task? I would appreciate the assistance...
>
> Thanks,
> Vince
--~--~-~--~~~---~--~~
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: UDP packets & GWT

2009-11-11 Thread mariyan nenchev
Make blocking rpc calls to the server and when datagram packet is received
transform the data in some string format and unblock the async call with the
string result

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



ant giving me strange Unknown argument: -style which is not even there

2009-11-11 Thread shahid

I updated the latest from svn truck last night and built it with Ant
1.7.1. In Eclipse I created a new SDK reference to /trunk/build/lib
and have selected it. My debug/run configuration looks like this and
it was working fine until yesterday:

-startupUrl ClinicalWebsite/
com.docobo.keswick.keswickweb.ClinicalWebsite -noserver -port 80 -
localWorkers 2

Now when I try to debug/run the project after a successful compile it
gives me :

Unknown argument: -style
Google Web Toolkit 0.0.0
DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist-
string] [-blacklist blacklist-string] [-logdir directory] [-logLevel
level] [-gen dir] [-portHosted port-number | "auto"] [-remoteUI port-
number:client-id-string | host-string:port-number:client-id-string] [-
server servletContainerLauncher] [-startupUrl url] [-war dir] [-extra
dir] [-workDir dir] module[s]

What am I doing wrong ?
--~--~-~--~~~---~--~~
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 + Palm WebOS

2009-11-11 Thread Olivier Gérardin

Are you sure about your link? I can't find the interview..

On Nov 11, 8:44 am, kilkenny  wrote:
> In an interview about his new job and what he's working on Dion Almaer
> (Palm Developer Relations) did talk about the developer program for
> webOS. He also mentioned the possibility to use GWT. So Palm seems to
> think about this already...
>
> You can find the interview right 
> here:http://javaposse.com/index.php?post_id=536012
>
> Regards, Adrian
> --http://traceurl.com
>
> On 4 Nov., 18:43, cal  wrote:
>
> > Any suggestions on achieving this.
> > I would love to be able to develop WebOS apps in Java using GWT and I
> > think tons of other people would too.
>
> > I suppose some particular points of interest would be:
> > -How to integrate with the WebOS eclipse plugin? I was thinking you
> > would need a WebOS project and a GWT project.
> > -How do you get Java wrappers for Palm's Mojo framework.
> > -What kind of GWT compiler settings you would want to work best with
> > WebOS.
>
>
--~--~-~--~~~---~--~~
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 - Earth Need fetchKml()

2009-11-11 Thread littlejodo

Nevermind, I realized that I can access the javascript function
(written in html page) through jsni.
--~--~-~--~~~---~--~~
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: AsyncProxyServlet from Jetty

2009-11-11 Thread Thomas Broyer


On 11 nov, 10:00, nick_name  wrote:
> Has anybody tried to configure AsyncProxyServlet available with newer
> versions of JETTY for use with GWT? Theoretically, if I make the right
> entries in web.xml and place the class file in the correct location,
> then it should work - correct?

It's not as simple: 
http://code.google.com/p/google-web-toolkit/issues/detail?id=3131#c25
--~--~-~--~~~---~--~~
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 + Palm WebOS

2009-11-11 Thread kilkenny

Hi Olivier

The link points to the show notes. You have to donwload the mp3 file.
It's kind a hidden behind the 'POD' icon on the top left. Here is the
direct link:
http://media.libsyn.com/media/dickwall/JavaPosse282.mp3

Hope that helps!
Adrian

On 11 Nov., 12:20, Olivier Gérardin  wrote:
> Are you sure about your link? I can't find the interview..
>
> On Nov 11, 8:44 am, kilkenny  wrote:
>
> > In an interview about his new job and what he's working on Dion Almaer
> > (Palm Developer Relations) did talk about the developer program for
> > webOS. He also mentioned the possibility to use GWT. So Palm seems to
> > think about this already...
>
> > You can find the interview right 
> > here:http://javaposse.com/index.php?post_id=536012
>
> > Regards, Adrian
> > --http://traceurl.com
>
> > On 4 Nov., 18:43, cal  wrote:
>
> > > Any suggestions on achieving this.
> > > I would love to be able to develop WebOS apps in Java using GWT and I
> > > think tons of other people would too.
>
> > > I suppose some particular points of interest would be:
> > > -How to integrate with the WebOS eclipse plugin? I was thinking you
> > > would need a WebOS project and a GWT project.
> > > -How do you get Java wrappers for Palm's Mojo framework.
> > > -What kind of GWT compiler settings you would want to work best with
> > > WebOS.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Issue with GXT 2.1 and GWT 1.7

2009-11-11 Thread Shital

We are using GXT 2.1 and our project structure is as follows
we have django at back end side and we use javascript output of GXT.
But the problem is the html page loads for the first time, but not the
next time.
Is there any change in the new version that we should consider.

--~--~-~--~~~---~--~~
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: rule for running embedded tomcat or jetty in google eclipse plugin (GEP)

2009-11-11 Thread Ladislav Gazo

thanks, it works the way you mentioned.

On Nov 11, 1:36 am, Thomas Broyer  wrote:
> On 10 nov, 22:52, Ladislav Gazo  wrote:
>
> > Hello,
>
> > I want to ask you how does Google Eclipse Plugin recognize whether to
> > run embedded Tomcat or Jetty? What is the rule for that? I am
> > experiencing various undeterministic (from my point of view)
> > situations where for one project it runs with Jetty and for another
> > Tomcat...
>
> AFAICT it looks for the presence of a "war" folder to determine if it
> should use GWTShell (tomcat, uses  in gwt.xml) or HostedMode
> (jetty, uses war/ with servlets declared in war/WEB-INF/web.xml)
> Note that this is determined at the time you add the GWT nature to
> your project. If you later add or remove the "war" folder, you have to
> uncheck GWT in your project's option, save the project, then enable
> GWT again for the change to be taken into account.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Compile Error on latest build

2009-11-11 Thread shahid

I updated from SVN and trying to build the latest using ant 1.7.1. I
am getting the following error:

[ERROR] Unexpected
java.lang.NoSuchMethodError: com.google.gwt.dev.cfg.Rule.isApplicable
(Lcom/google/gwt/core/ext/TreeLogger;Lcom/google/gwt/core/ext/
GeneratorContext;Ljava/lang/String;)Z
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind
(StandardRebindOracle.java:98)
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind
(StandardRebindOracle.java:54)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind
(StandardRebindOracle.java:154)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind
(StandardRebindOracle.java:143)
at com.google.gwt.dev.Precompile
$DistillerRebindPermutationOracle.getAllPossibleRebindAnswers
(Precompile.java:330)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile
(JavaToJavaScriptCompiler.java:409)
at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile
(JavaScriptCompiler.java:32)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:509)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:427)
at com.google.gwt.dev.Compiler.run(Compiler.java:194)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:145)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
87)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
(CompileTaskRunner.java:81)
at com.google.gwt.dev.Compiler.main(Compiler.java:152)
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Manually generating x-gwt-rpc to speak to a servlet

2009-11-11 Thread g1

Here's an interesting one (well I think so)!

I've got a standard gwt client -> rpc -> servlet (tomcat) arrangement.
Which is working fine.

Now I want to push some events from another application running on the
server (written in perl) to the servlets. I see that I can rpc to my
java servlets using telnet, something like:

POST /xxx/yyy HTTP/1.1
Host: gwt.example.com:8080
Content-Type:   text/x-gwt-rpc; charset=utf-8
Content-Length: 373

5|0|12|http://gwt.example.com:8080/xxx/|
1EE3668A0B1A53C21471910BC1B900E7|
com.example.gwt.client.controllers.interfaces.ApplicationInterface|
sendUpdate|com.example.gwt.client.models.Update|
com.example.gwt.client.models.Update/2498603623|[Ljava.lang.String;/
2600011424|xxx|yyy||updateUserStatus|StatusController|1|2|3|4|1|5|6|7|
2|8|9|10|11|12|

[the details in the rpc request are not important]

How practical is it to generate such a request in the perl programme
and push the POST requests to my servlets?
Can anyone help me understand the details of the body in the above
request?

I guess otherwise I need to set up some kind of SOAP arrangement
between this perl programme and the java servlets, but seeing as my
servlets are already set up to receive gwt-rpc I thought why not use
that.
--~--~-~--~~~---~--~~
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: Upgrade 1.5.3 to 1.7.1

2009-11-11 Thread Vince

SmartKiller : Thank you... I will surely turn to this board if I get
tied along the process. I greatly appreciate the help.




On Nov 11, 5:46 am, SmartKiller  wrote:
> I have successfully migrated to ver 1.7.1 from 1.5.3  start with
> the GWT 1.6 release note. Whatever problem you face i will be here.
>
> On Nov 11, 3:26 am, Vince  wrote:
>
>
>
> > Hello,
>
> > I am thinking of upgrading to version 1.7.1 from 1.5.3... I read the
> > "Getting Started" guide for 1.7.1 and it seems that a considerable
> > amount of change has taken place in terms of the base GWT project's
> > structure and the means to deploy it, e.g. The utilization of Ant.
>
> > Can anyone provide a kind of checklist to follow as guide to this
> > task? I would appreciate the assistance...
>
> > Thanks,
> > Vince- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Upgrade 1.5.3 to 1.7.1

2009-11-11 Thread Vince

Thomas : Thank you for the tip... I greatly appreciate the assistance.




On Nov 10, 7:33 pm, Thomas Broyer  wrote:
> On 10 nov, 23:26, Vince  wrote:
>
> > Hello,
>
> > I am thinking of upgrading to version 1.7.1 from 1.5.3... I read the
> > "Getting Started" guide for 1.7.1 and it seems that a considerable
> > amount of change has taken place in terms of the base GWT project's
> > structure and the means to deploy it, e.g. The utilization of Ant.
>
> > Can anyone provide a kind of checklist to follow as guide to this
> > task? I would appreciate the assistance...
>
> Something like 
> this?http://code.google.com/webtoolkit/doc/1.6/ReleaseNotes_1_6.html#Upgra...
>
> (path: what's new in 1.7.1 -> how to upgrade -> 1.6 release notes ->
> how to upgrade)
--~--~-~--~~~---~--~~
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: Upgrade 1.5.3 to 1.7.1

2009-11-11 Thread Vince

SmartKiller : Is the /war directory name fixed or can it be renamed to
something like /web?




On Nov 11, 5:46 am, SmartKiller  wrote:
> I have successfully migrated to ver 1.7.1 from 1.5.3  start with
> the GWT 1.6 release note. Whatever problem you face i will be here.
>
> On Nov 11, 3:26 am, Vince  wrote:
>
>
>
> > Hello,
>
> > I am thinking of upgrading to version 1.7.1 from 1.5.3... I read the
> > "Getting Started" guide for 1.7.1 and it seems that a considerable
> > amount of change has taken place in terms of the base GWT project's
> > structure and the means to deploy it, e.g. The utilization of Ant.
>
> > Can anyone provide a kind of checklist to follow as guide to this
> > task? I would appreciate the assistance...
>
> > Thanks,
> > Vince- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: collaped Panel

2009-11-11 Thread Marcelo Emanoel

check the incubator they have a collapsiblePanel that you could use

On Nov 10, 4:52 am, muhannad nasser  wrote:
> urgent help..
>
> does anybody have build a collapsed panel in GWT pure GWT
>
> i need to build it as the Horizontal splitter, but i do not need it to be
> dragged, i need it only as a small button when click on it it will be opened
> and if click on it again it will be closed..
>
> thanks
>
> --
> ~~~With Regards~~~
> Muhannad Dar-Nasser
> ~~Computer Systems Engineering~~
--~--~-~--~~~---~--~~
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: Upgrade 1.5.3 to 1.7.1

2009-11-11 Thread Olivier

You can specify the war directory with the option -war when using 
DevMode or compiling.

http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#What_are_the_options_that_can_be_passed_to_hosted_mode
http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.html#What_are_the_options_that_can_be_passed_to_the_compiler

Vince wrote:
> SmartKiller : Is the /war directory name fixed or can it be renamed to
> something like /web?
> 
> 
> 
> 
> On Nov 11, 5:46 am, SmartKiller  wrote:
>> I have successfully migrated to ver 1.7.1 from 1.5.3  start with
>> the GWT 1.6 release note. Whatever problem you face i will be here.
>>
>> On Nov 11, 3:26 am, Vince  wrote:
>>
>>
>>
>>> Hello,
>>> I am thinking of upgrading to version 1.7.1 from 1.5.3... I read the
>>> "Getting Started" guide for 1.7.1 and it seems that a considerable
>>> amount of change has taken place in terms of the base GWT project's
>>> structure and the means to deploy it, e.g. The utilization of Ant.
>>> Can anyone provide a kind of checklist to follow as guide to this
>>> task? I would appreciate the assistance...
>>> Thanks,
>>> Vince- Hide quoted text -
>> - Show quoted text -
> > 

-- 

Olivier
Digiworks




Política de Protección de Datos de Carácter Personal
En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre,  sobre 
protección de Datos de Carácter Personal (LOPD) DIGIWORKS SPAIN, S.L. 
informa a los usuarios de que:

Los Datos de Carácter Personal que recoge son objeto de tratamiento 
automatizado y se incorporan en los ficheros correspondientes, 
debidamente registrados en la Agencia Española de Protección de Datos. 
El usuario podrá,  en todo momento, ejercitar los derechos reconocidos 
en la LOPD, de acceso, rectificación, cancelación y oposición. El 
ejercicio de estos derechos puede realizarlo el propio usuario mediante 
comunicación escrita en la siguiente dirección postal:

DIGIWORKS SPAIN, S.L.
AVDA SAN RAFAEL, 11, LOCAL 2
03580 ALFAZ DEL PI
ALICANTE

También pueden ejercitar estos derechos en los términos que la normativa 
aplicable establece y que puede consultar en www.agpd.es.


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



best practices on dependency between gwt projects

2009-11-11 Thread Lucas de Oliveira
Hello there,
before you burn me on the holy inquisition fire, I started this thread to
have a (hopefully) constructive discussion about the best practices on how
to create dependency between gwt projects. I know, some cases have been
discussed before (like
hereand
here),
but they look as clumsy as my way of doing it, so I would like to know
what's your experience on it.

Here is mine (with a little background):

My company have adopted gwt (gxt in fact) to all its web projects. When the
decision was made 2 projects were being started, so we decided to make them
gwt projects. Since we want to reuse some of the common code (let's say the
UI common classes) on both projects, and hopefully on all other web projects
coming, we decided to modularize the scenario in 3 projects: (1) the UI lib,
(2) project A, (3) project B. Obviously (2) and (3) depend on (1) and there
comes the trouble: using (1) as a jar module in (2) and (3) can become
massively tedious since (1) is being developed together with (2) and (3) and
loads of change will occur on (1), therefore generating a jar file for each
ui lib change is not happening. I've searched for good ways of doing that
and, unfortunately, none of them convinced me.

In our case, in order to overcome this scenario and not generate the jar
files (at least not until the release), we did the following:
- created project dependency between (2),(3) with (1);
- annotated the module on (2) and (3) with the main module name on (1). E.g.
added  to the modules on (2) and
(3);
- on the ant file on (2),(3) I added code compile for (1);
- make sure that the source code of (1) is on the compiled class folder of
(2),(3)

Until now this thing works, but again, it looks very clumsy and I'm not sure
if this is a nice way of doing gwt project dependency. So I really would
like to know: what's your way of creating dependency between gwt (non jared)
projects?

thanks in advance!

-- 
Lucas de Oliveira Arantes

--~--~-~--~~~---~--~~
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: Upgrade 1.5.3 to 1.7.1

2009-11-11 Thread Vince

Thanks, Olivier...

On Nov 11, 10:47 am, Olivier  wrote:
> You can specify the war directory with the option -war when using
> DevMode or compiling.
>
> http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.h...http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.h...
>
>
>
>
>
> Vince wrote:
> > SmartKiller : Is the /war directory name fixed or can it be renamed to
> > something like /web?
>
> > On Nov 11, 5:46 am, SmartKiller  wrote:
> >> I have successfully migrated to ver 1.7.1 from 1.5.3  start with
> >> the GWT 1.6 release note. Whatever problem you face i will be here.
>
> >> On Nov 11, 3:26 am, Vince  wrote:
>
> >>> Hello,
> >>> I am thinking of upgrading to version 1.7.1 from 1.5.3... I read the
> >>> "Getting Started" guide for 1.7.1 and it seems that a considerable
> >>> amount of change has taken place in terms of the base GWT project's
> >>> structure and the means to deploy it, e.g. The utilization of Ant.
> >>> Can anyone provide a kind of checklist to follow as guide to this
> >>> task? I would appreciate the assistance...
> >>> Thanks,
> >>> Vince- Hide quoted text -
> >> - Show quoted text -
>
> --
>
> Olivier
> Digiworks
>
> Política de Protección de Datos de Carácter Personal
> En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre,  sobre
> protección de Datos de Carácter Personal (LOPD) DIGIWORKS SPAIN, S.L.
> informa a los usuarios de que:
>
> Los Datos de Carácter Personal que recoge son objeto de tratamiento
> automatizado y se incorporan en los ficheros correspondientes,
> debidamente registrados en la Agencia Española de Protección de Datos.
> El usuario podrá,  en todo momento, ejercitar los derechos reconocidos
> en la LOPD, de acceso, rectificación, cancelación y oposición. El
> ejercicio de estos derechos puede realizarlo el propio usuario mediante
> comunicación escrita en la siguiente dirección postal:
>
> DIGIWORKS SPAIN, S.L.
> AVDA SAN RAFAEL, 11, LOCAL 2
> 03580 ALFAZ DEL PI
> ALICANTE
>
> También pueden ejercitar estos derechos en los términos que la normativa
> aplicable establece y que puede consultar enwww.agpd.es.- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Using MVP

2009-11-11 Thread Philip Alldredge

Hi,
That's a good question and I am curious about the proper way to handle
it. One way I came up with for handling it is this.:

class SpecializedObjectWrapper &
HasBlurHandlers> extends ObjectWrapper
{
public SpecializedObjectWrapper(T v)
{
super(v);
}
}

class ObjectWrapper
{
public ObjectWrapper(T value)
{
this.value = value;
}

public T getValue() { return value; }
private T value;
};

Then use:
SpecializedObjectWrapper getUsernameTextBox()

for your method.

This seems a bit bulky to me, although one can shared the
ObjectWrapper class and create a new SpecializedObjectWrapper for each
unique return type. I am interested if there is a more elegant
solutions.

On Nov 10, 12:20 pm, "P.G.Taboada"  wrote:
> Hi,
>
> I am running into Java compilation issues.
> Example:
>
> public class LoginPresenter {
>
>         public interface Display {
>
>                  & HasBlurHandlers> T 
> getUsernameTextBox
> ();
>
>                 HasValue getPasswordTextBox();
>
>                 HasValue getErrorMessageBox();
>
>                 HasClickHandlers getLoginButton();
>         }
>
> // ...
>
> }
>
> While I can define a Display that returns a TextBox, I can't use the
> getUsernameTextBox without doing the assignment type inference against
> a concrete something implementing both interfaces in my presenter.
>
> How do you handle this?
>
> brgds,
>
> Papick
--~--~-~--~~~---~--~~
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: how to use a server class in client code

2009-11-11 Thread Sanjith Chungath
@Dalla: Thanks again for those steps. As i am not familiar with those tools
am finding a bit difficult to handle it.

@Dominik:  Thanks a lot for that information. It will save a lot of life for
me. So is it enough to move my current class definitions from the server to
the client/domain package and use them at both server and client code?

-Sanjith

On Tue, Nov 10, 2009 at 11:12 PM, Dominik Steiner <
dominik.j.stei...@googlemail.com> wrote:

>
> Sanjith,
>
> I'm using GWT on GAE and I also have my data model classes with JDO
> annotations. I have those classes reside under client/domain and GWT
> 2.0 handles/ignores those JDO related annotations well and i don't
> have to use Dozer or another framework in order to be able to use
> those classes on the client.
>
> If you need more help, please let me know.
>
> HTH
>
> Dominik
>
> On Nov 9, 12:40 pm, Dalla  wrote:
> > I´m not sure you can solve this particular problem the way DaveS
> > suggested, not without modifying the class anyway.
> > Even if you created a separate .jar and referenced that from your
> > client project, the GWT compiler wouldn´t understand the annotations.
> >
> > My problem was similar to yours, and would be solved by creating a new
> > even simpler class like this:
> >
> > Public class PhotoSetStoreDTO {
> >
> > private String setid;
> > private String title;
> > private String description;
> >
> > private String primaryPhotoURL;
> > public PhotoSetStore(String id, String title, String descString,
> > String photoURL) {
> > setSetID(id);
> > setTitle(title);
> > setDescrption(descString);
> > setPrimaryPhotoURL(photoURL);
> >
> > }
> > }
> >
> > Then use Dozer or a similar mapping framework to do the mapping
> > between server side and client side objects.
> > I haven´t been working with GAE at all to be honest, so there might be
> > a better approach.
> >
> > On 9 Nov, 18:39, Sanjith Chungath  wrote:
> >
> > > Thanks to all for your suggestions.
> >
> > > As my application needs to be deployed in google app engine, I doubt
> whether
> > > I can move those classes from server to client. I use JDO to persist
> objects
> > > to the GAE data store. The class is a simple class and I have mentioned
> it
> > > below,
> >
> > > @PersistenceCapable(identityType = IdentityType.DATASTORE)
> > > public class PhotoSetStore {
> > > @PrimaryKey
> > > @Persistent
> > > private String setid;
> >
> > > @Persistent
> > > private String title;
> >
> > > @Persistent
> > > private String description;
> >
> > > @Persistent
> > > private String primaryPhotoURL;
> >
> > > public PhotoSetStore(String id, String title, String descString,
> > > String photoURL) {
> > > setSetID(id);
> > > setTitle(title);
> > > setDescrption(descString);
> > > setPrimaryPhotoURL(photoURL);
> >
> > > }
> > > }
> >
> > > Dave, it looks simple approach to have a (java) project to have common
> > > classes defined. I need few clarifications, do you have seperate
> projects
> > > for GWT client code and server code? If not, how did you added the
> common
> > > .jar file to the client code?
> >
> > > Also, I didnt quiet get how the common .jar file is different from the
> class
> > > existing in a server package of same GWt project!
> >
> > > -Sanjith
> >
> > > On Mon, Nov 9, 2009 at 5:10 PM, sathya  wrote:
> >
> > > > Hi,
> > > >You can serialize classes only defined in client side(not server
> > > > side).Class you defined on server side should be moved to client side
> > > > to serialize.
> >
> > > > On Nov 9, 4:01 pm, DaveS  wrote:
> > > > > That's how we did it originally, but then we created a separate GWT
> > > > > project (well, actually it's just a JAR project) that defines all
> our
> > > > > types that are common over the RPC interfaces. We reference that
> > > > > project in both the server and client projects, and the JAR gets
> > > > > pulled into the client side and GWT happily generates JS code from
> it.
> > > > > We now also use it for some 'shared' client-side classes as well so
> > > > > it's effectively just a library project.
> >
> > > > >   DaveS.
> >
> > > > > On Nov 9, 3:35 am, rjcarr  wrote:
> >
> > > > > > Hi Sanjith-
> >
> > > > > > I don't completely follow your question but any shared code
> between
> > > > > > the client and the server has to reside in the client package (by
> > > > > > default).  This is because GWT can only see code in the modules
> you
> > > > > > have defined and the server package isn't a GWT module (again, by
> > > > > > default).
> >
> > > > > > Hope this helps!
> >
> > > > > > On Nov 8, 10:30 am, Sanjith Chungath  wrote:
> >
> > > > > > > Greetings to all,
> > > > > > >I have defined a class in the server and want to get a
> list of
> > > > > > > objects (of that class) as return parameter of an async call.
> But
> > > > while
> > > > > > > compile I got  following error "No source code is available for
> type
> > > > > > > com.abc.pqr.data.XXX; did you forget to inherit a required
> module?".
> > > > I know
> > > > 

Re: RequestBuilder returning "empty argument" result?

2009-11-11 Thread dk

Hello Ian,

the full url is: 
http://apache-dev.itg.beckman.illinois.edu/communications/forum2/

I forgot a major thing in the environment I listed above.  The site is
being run through Perl's Template::Toolkit to manage an overall "look
and feel".  Basically, in this case, there is a local index.cgi script
that runs the TT stuff.  There is a local index.html file that is the
"normal" GWT encrusted index.html.  The index.cgi sucks in the local
index.html, parses it, wraps the content in the site decoration and
displays it.

All of the paths are local to the host machine.  If this is a SOP
issue please educate me.

Also, I don't think I am configuring "hosted" mode correctly.  It is
not bringing up a browser.

On Nov 10, 5:09 pm, Ian Bambury  wrote:
> What is the full url that the cgi is at, and what is the url in hosted mode?
>
> I can't see anything else it can be but SOP.
>
> Try putting a plain text file in the /public/ directory (or the doc root if
> using -noserver) and I think you'll find it will pick it up. You might have
> to restart hosted mode for it to pick up the new file.
>
> Ian

--~--~-~--~~~---~--~~
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: Compile Error on latest build

2009-11-11 Thread John O'Conner

I also got this error last night. I peformed the following, which
seemed to fix the error:

ant clean
ant

On Nov 11, 6:58 am, shahid  wrote:
> I updated from SVN and trying to build the latest using ant 1.7.1. I
> am getting the following error:
>
> [ERROR] Unexpected
> java.lang.NoSuchMethodError: com.google.gwt.dev.cfg.Rule.isApplicable
> (Lcom/google/gwt/core/ext/TreeLogger;Lcom/google/gwt/core/ext/
> GeneratorContext;Ljava/lang/String;)Z
>         at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind
> (StandardRebindOracle.java:98)
>         at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind
> (StandardRebindOracle.java:54)
>         at com.google.gwt.dev.shell.StandardRebindOracle.rebind
> (StandardRebindOracle.java:154)
>         at com.google.gwt.dev.shell.StandardRebindOracle.rebind
> (StandardRebindOracle.java:143)
>         at com.google.gwt.dev.Precompile
> $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers
> (Precompile.java:330)
>         at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile
> (JavaToJavaScriptCompiler.java:409)
>         at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile
> (JavaScriptCompiler.java:32)
>         at com.google.gwt.dev.Precompile.precompile(Precompile.java:509)
>         at com.google.gwt.dev.Precompile.precompile(Precompile.java:427)
>         at com.google.gwt.dev.Compiler.run(Compiler.java:194)
>         at com.google.gwt.dev.Compiler$1.run(Compiler.java:145)
>         at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:
> 87)
>         at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger
> (CompileTaskRunner.java:81)
>         at com.google.gwt.dev.Compiler.main(Compiler.java:152)
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Paging in java application

2009-11-11 Thread Sanjith Chungath
Greetings to All,
  I found this documentation
http://code.google.com/appengine/articles/paging.html on paging in python.
Can some one suggest the best way to implement pagin in a java application
deployed in GAE and data store in GAE data store. I want to show say 10
images in every page out of around 1000 (available in DB).

Also please let me know any widgets available to implement pagination.

-Sanjith

--~--~-~--~~~---~--~~
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 + cross site

2009-11-11 Thread John O'Conner

I'm not sure what you mean when you say "any object/data" but yes,
when you use cross site GWT, you will inject 

Re: RequestBuilder returning "empty argument" result?

2009-11-11 Thread Ian Bambury
Hi Dean,

So when I go to
http://apache-dev.itg.beckman.illinois.edu/communications/forum2/ this is
where you get the problem and I should be seeing Calendar for Fall 2009 and
so on?

I assumed that you were having trouble testing it somewhere before you
uploaded it to the web.

So is it working in test? Or are you unable to test like that and testing by
uploading to the live site? Or have I got it completely A about F?

You may have tried this, but I suppose you *do* get the right url if you
log URL.encode(baseURL + "archive.cgi") ?

There's no way to see where baseURL comes from in the code you supplied, but
it's not a silly error like a missing '/' is it?

The reason I said I thought it was an SOP problem was because your code
works for me with a dummy file and the cgi page sends me data back.

So somewhere the two aren't matching up.

Sorry I can't be more help.

Ian

http://examples.roughian.com


2009/11/11 dk 

>
> Hello Ian,
>
> the full url is:
> http://apache-dev.itg.beckman.illinois.edu/communications/forum2/
>
> I forgot a major thing in the environment I listed above.  The site is
> being run through Perl's Template::Toolkit to manage an overall "look
> and feel".  Basically, in this case, there is a local index.cgi script
> that runs the TT stuff.  There is a local index.html file that is the
> "normal" GWT encrusted index.html.  The index.cgi sucks in the local
> index.html, parses it, wraps the content in the site decoration and
> displays it.
>
> All of the paths are local to the host machine.  If this is a SOP
> issue please educate me.
>
> Also, I don't think I am configuring "hosted" mode correctly.  It is
> not bringing up a browser.
>
> On Nov 10, 5:09 pm, Ian Bambury  wrote:
> > What is the full url that the cgi is at, and what is the url in hosted
> mode?
> >
> > I can't see anything else it can be but SOP.
> >
> > Try putting a plain text file in the /public/ directory (or the doc root
> if
> > using -noserver) and I think you'll find it will pick it up. You might
> have
> > to restart hosted mode for it to pick up the new file.
> >
> > Ian
>
> >
>

--~--~-~--~~~---~--~~
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 1.7 + Eclipse, JPA, Spring configuration

2009-11-11 Thread Yaakov

Well, I am using Toplink, not hibernate... I did finally figure out my
problem. Since Marco's blog is what helped point me in the right
direction, I posted the complete explanation there:

http://codetrips.blogspot.com/2009/05/gwt-spring-and-jpa-not-really-friendly.html

See the comments to that blog.

Thanks,
Yaakov.

P.S. I would disagree though that my post has nothing to do with GWT.
The whole thing started only because of how GWT Eclipse plugin is (is
not?) working. As you'll see from my comment to that blog, it's GWT
Eclipse plugin that was part of the problem.

On Nov 4, 1:16 pm, Davis Ford  wrote:
> This is from the spring page you linked:
>
> Not all JPA providers impose the need of a JVM agent (Hibernate being an
> example). If your provider does not require an agent or you have other
> alternatives (for example applying enhancements at build time through a
> custom compiler or an ant task) the load-time weaver *should not* be used.
>
> This really is more of a hibernate/spring/maven config issue.  Apologies to
> the list...
>
> Are you using JpaTemplate?  I have a blog post here that shows how to setup
> JPA with Hibernate/Spring:http://zenoconsulting.wikidot.com/blog:8-- you
> might find it helpful.  I don't use a load-time weaver.
>
>
>
> On Wed, Nov 4, 2009 at 10:32 AM, Yaakov  wrote:
>
> > > to be honest, this sounds like it is not so much a gwt thing as it is a
> > > hibernate/spring thing.
>
> > It IS a GWT thing in the sense that it is the Jetty server which the
> > GWT Eclipse plugin starts up which refuses to recognize that I am
> > starting its JVM with a -javaagent. Why it does that? I don't know...
> > All I want to get to is being able to refresh the hosted browser after
> > I make some change in the GWT code and see it in the hosted browser
> > instantly.
>
> > > i've used hibernate/spring a lot with jpa, and never had to specify a
> > weaver
> > > via an extra JVM argument.  it seems a bit odd.
>
> > Well, I didn't make this up, really. Take a look at Spring
> > documentation for 2.5.5:
> >http://static.springsource.org/spring/docs/2.5.x/reference/orm.html#o...
>
> > ALL 3 options mention weaving.
>
> > > i'm not trying to dodge the
> > > question, but typically i solve these issues with google searches.
>
> > I haven't found anything wrt GWT provided servlet engine, i.e. jetty
> > bundled with GWT. The only link I found, I provided, but that doesn't
> > seem to work anyway.
>
> > If anyone has any ideas, please suggest.
>
> > Thanks,
> > Yaakov.
>
> --
> Zeno Consulting, Inc.
> home:http://www.zenoconsulting.biz
> blog:http://zenoconsulting.wikidot.com
> p: 248.894.4922
> f: 313.884.2977
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Dealing with Pop-Up Blocker and Browser Refresh

2009-11-11 Thread davis

Hi, part of the app I built with GWT has links to download PDF from
the server.  I basically just pull the pdf content from the server and
do Window.open( .. ).

The first time you do this, the pop-up blocker takes over and blocks
it.  If you enable it, the browser reloads the page, which takes the
user back to the login page -- which can be a real UI annoyance.

This is perhaps more a problem with me not dealing with Refresh/
History correctly.  I have implemented rudimentary history that has
only two tokens (login/homepage).  The homepage is the entire app and
all navigation is with tabs, etc...but if the user does F5/Refresh, it
takes them back to the login page.

What is the recommended path for solving this?

Regards,
Davis
--~--~-~--~~~---~--~~
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: Dealing with Pop-Up Blocker and Browser Refresh

2009-11-11 Thread Jeff Chimene
On Wed, Nov 11, 2009 at 11:33 AM, davis wrote:

>
> Hi, part of the app I built with GWT has links to download PDF from
> the server.  I basically just pull the pdf content from the server and
> do Window.open( .. ).
>
> The first time you do this, the pop-up blocker takes over and blocks
> it.  If you enable it, the browser reloads the page, which takes the
> user back to the login page -- which can be a real UI annoyance.
>
> This is perhaps more a problem with me not dealing with Refresh/
> History correctly.  I have implemented rudimentary history that has
> only two tokens (login/homepage).  The homepage is the entire app and
> all navigation is with tabs, etc...but if the user does F5/Refresh, it
> takes them back to the login page.
>
> What is the recommended path for solving this?
>

Serve the document into a frame?

OTOH, you might also instruct your users to whitelist your site.


>
> Regards,
> Davis
> >
>

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



UnmodifiableList Serialization

2009-11-11 Thread fedy2

Hi,
I'm using GWT 1.5.3 and I'm trying to send a List by RPC but I'm
getting a serialization exception:

Caused by: com.google.gwt.user.client.rpc.SerializationException: Type
'java.util.Collections$UnmodifiableList' was not included in the set
of types which can be serialized by this SerializationPolicy or its
Class object could not be loaded. For security purposes, this type
will not be serialized.

How can make the UnmodifiableList type serializable?

The object transmitted by RPC contains a List type variable.
I set the list variable taking the value from a method that return a
List type value
so I can't assume to receive an UnmodifiableList.

Thanks
Federico
--~--~-~--~~~---~--~~
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: RequestBuilder returning "empty argument" result?

2009-11-11 Thread Dean Karres

> So when I go
> to http://apache-dev.itg.beckman.illinois.edu/communications/forum2/ this is
> where you get the problem and I should be seeing Calendar for Fall 2009 and
> so on?

Yes, you should see that... I am not currently.

> I assumed that you were having trouble testing it somewhere before you
> uploaded it to the web.
> So is it working in test? Or are you unable to test like that and testing by
> uploading to the live site? Or have I got it completely A about F?

Correct, you can think of the apache-dev site as the live-test area if
you like.  The whole site at that URL is under development and will go
"live" in a few weeks.

> You may have tried this, but I suppose you *do* get the right url if you
> log URL.encode(baseURL + "archive.cgi") ?

Yes, I just added that back to the current version to make sure

> There's no way to see where baseURL comes from in the code you supplied, but
> it's not a silly error like a missing '/' is it?

I don't think so.

> The reason I said I thought it was an SOP problem was because your code
> works for me with a dummy file and the cgi page sends me data back.
> So somewhere the two aren't matching up.
> Sorry I can't be more help.


... Oh crap... Thank you Ian.  You made me look at all of this yet
again and your comment about the URL made me triple check that.  It
turns out that our sysadmin (bless his heart) changed the DNS on this
machine which modified the default URL.  So it WAS a SOP issue after
all.  I never saw the URL change until just now and the embedded URL
in the code was, of course, the old one.

Thanks again, silly me

-- 
Dean Karres

--~--~-~--~~~---~--~~
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: Upgrade 1.5.3 to 1.7.1

2009-11-11 Thread Vince

Phase : Change version 1.5.3 - 1.6.4

I'm in the process of changing the compilation build script from using
GWTCompile to Compile and I am encountering a StackOverFlow error on
my code. This error didn't use to be thrown when using version
1.5.3...

Does anybody have any idea on where this error could be originating
from? A concept change perhaps from 1.5.3... The only clue I have is
that it's coming from an ArrayList invocation.

Thanks,
Vince

P.S. Here's a few iterations of the stack trace of that exception...

   [ERROR] Unexpected internal compiler error
java.lang.StackOverflowError
at java.io.ObjectOutputStream$HandleTable.hash(Unknown Source)
at java.io.ObjectOutputStream$HandleTable.lookup(Unknown
Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields(Unknown
Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.ArrayList.writeObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields(Unknown
Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.ArrayList.writeObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields(Unknown
Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.ArrayList.writeObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields(Unknown
Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.defaultWriteFields(Unknown
Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at java.util.ArrayList.writeObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)...




On Nov 11, 10:47 am, Olivier  wrote:
> You can specify the war directory with the option -war when using
> DevMode or compiling.
>
> http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.h...http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.h...
>
>
>
>
>
> Vince wrote:
> > SmartKiller : Is the /war directory name fixed or can it be renamed to
> > something like /web?
>
> > On Nov 11, 5:46 am, SmartKiller  wrote:
> >> I have successfully migrated to ver 1.7.1 from 1.5.3  start with
> >> the GWT 1.6 release note. Whatever problem you face i will be here

Re: ant giving me strange Unknown argument: -style which is not even there

2009-11-11 Thread misterln2

style parameter is no longer support but the plugin keeps on using it

see here for a dirty workaround:
http://groups.google.de/group/google-web-toolkit/browse_thread/thread/aa74940787785f51
--~--~-~--~~~---~--~~
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: how to use a server class in client code

2009-11-11 Thread Dominik Steiner

Sanjith,

you can move the model classes to anywhere under the client folder,  
the client/domain example is just what i use here with me. And then  
the server will reuse those classes on server side where he will read  
the jdo annotations.

Let me know if it works for you

Dominik


--~--~-~--~~~---~--~~
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: Upgrade 1.5.3 to 1.7.1

2009-11-11 Thread Vince

Hello,

Is this script correct?

@java -Xmx256M -cp "%~dp0\src;%~dp0\web\WEB-INF\classes;C:\workspace
\env\GWT 1.6.4\gwt-windows-1.6.4\gwt-user.jar;C:\workspace\env\GWT
1.6.4\gwt-windows-1.6.4\gwt-dev-windows.jar"
com.google.gwt.dev.Compiler -war "%~dp0\www" %*
com.timelink.falco.wui.wuigwt.TestApp

Thanks,
Vince


On Nov 11, 2:33 pm, Vince  wrote:
> Phase : Change version 1.5.3 - 1.6.4
>
> I'm in the process of changing the compilation build script from using
> GWTCompile to Compile and I am encountering a StackOverFlow error on
> my code. This error didn't use to be thrown when using version
> 1.5.3...
>
> Does anybody have any idea on where this error could be originating
> from? A concept change perhaps from 1.5.3... The only clue I have is
> that it's coming from an ArrayList invocation.
>
> Thanks,
> Vince
>
> P.S. Here's a few iterations of the stack trace of that exception...
>
>    [ERROR] Unexpected internal compiler error
> java.lang.StackOverflowError
>         at java.io.ObjectOutputStream$HandleTable.hash(Unknown Source)
>         at java.io.ObjectOutputStream$HandleTable.lookup(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>         at java.io.ObjectOutputStream.writeObject(Unknown Source)
>         at java.util.ArrayList.writeObject(Unknown Source)
>         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
> Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
>         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>         at java.io.ObjectOutputStream.writeObject(Unknown Source)
>         at java.util.ArrayList.writeObject(Unknown Source)
>         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
> Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
>         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>         at java.io.ObjectOutputStream.writeObject(Unknown Source)
>         at java.util.ArrayList.writeObject(Unknown Source)
>         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
> Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
>         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
>         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>         at java.io.ObjectOutputStream.writeObject(Unknown Source)
>         at java.util.ArrayList.writeObject(Unknown Source)
>         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
> Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)...
>
> On Nov 11, 10:47 am, Olivier  wrote:
>
>
>
> > You can spe

GWT: JUnit & Google App Engine Tutorial assumes intelligence

2009-11-11 Thread Angel Marquez
I am running into difficulties getting through the last 2 sections of the
GWT Getting Started Tutorial:
1. When I check the available plugins for my fresh eclipse galileo install
it looks like JUnit is already installed. I have tried both on a Mac & PC
(Mac OS X.5, Windows 7 release candidate) using the Mac terminal and cygwin
to path to the SW directory and run the -junit commands and help and I
am robbed of my satisfaction
*http://code.google.com/webtoolkit/tutorials/1.6/JUnit.html*
*In order to run this tutorial, you will need to have JUnit 3 installed on
your system. If you are using Eclipse, check your Eclipse plugins.*

2. So, I skipped the above to move on to the final section and again I am
not passing the acceptance test of competence to move further (will my bank
account begin to take money away from me until I figure this out?). The xml
config files need some info to be filled in; but, their is no reference to
what to fill them with. Example:
http://code.google.com/webtoolkit/tutorials/1.6/appengine.html



2.1 The ladder example brings up another question. When I install GWT it
appears to me the App Engine is installed. Do I need to install more than
this?
http://code.google.com/appengine/downloads.html

I am assuming for item [1] I need to install something and am not sure what,
where or how. Would any one offer up the Add Site, Name: and Location,
please. For item [2] I think I need to set the App Engine project settings
before I do anything and am hesitant because I'm no sure if that Application
ID is binded to something more important than I am aware & I think I need to
download the SDK for the specific platform and make my best guess of where
to put the jar(s). For item [2.1] I think I need download more than just the
GWT plugin but the SDK as well as mentioned prior and this path is really
important for anything to work.

I'm just guessing about everything above. I'm sure this is good for my
learning experience but not apparent when following a tutorial that holds
your hand and then all the sudden the slow let go is more complicated than
the low barrier to entry.

I would appreciate any suggestion, refs etc...

Thank you in advance.

-Angel

--~--~-~--~~~---~--~~
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 include Incubator using Maven build?

2009-11-11 Thread David C. Hicks

Can anyone point me to an example or document that describes how to
include the Incubator project code into a GWT build using Maven?  We'd
love to try out some of the spinner widgets, but I'm having trouble
figuring out how to get the source code available to the GWT compiler.

Thanks,
Dave


--~--~-~--~~~---~--~~
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: Upgrade 1.5.3 to 1.7.1

2009-11-11 Thread tskaife

There was an issue like that in 1.6 which I think has been fixed in
1.7

http://code.google.com/p/google-web-toolkit/issues/detail?id=3510

try adding -Xss1024k

On Nov 11, 2:23 pm, Vince  wrote:
> Hello,
>
> Is this script correct?
>
> @java -Xmx256M -cp "%~dp0\src;%~dp0\web\WEB-INF\classes;C:\workspace
> \env\GWT 1.6.4\gwt-windows-1.6.4\gwt-user.jar;C:\workspace\env\GWT
> 1.6.4\gwt-windows-1.6.4\gwt-dev-windows.jar"
> com.google.gwt.dev.Compiler -war "%~dp0\www" %*
> com.timelink.falco.wui.wuigwt.TestApp
>
> Thanks,
> Vince
>
> On Nov 11, 2:33 pm, Vince  wrote:
>
>
>
> > Phase : Change version 1.5.3 - 1.6.4
>
> > I'm in the process of changing the compilation build script from using
> > GWTCompile to Compile and I am encountering a StackOverFlow error on
> > my code. This error didn't use to be thrown when using version
> > 1.5.3...
>
> > Does anybody have any idea on where this error could be originating
> > from? A concept change perhaps from 1.5.3... The only clue I have is
> > that it's coming from an ArrayList invocation.
>
> > Thanks,
> > Vince
>
> > P.S. Here's a few iterations of the stack trace of that exception...
>
> >    [ERROR] Unexpected internal compiler error
> > java.lang.StackOverflowError
> >         at java.io.ObjectOutputStream$HandleTable.hash(Unknown Source)
> >         at java.io.ObjectOutputStream$HandleTable.lookup(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> >         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> >         at java.io.ObjectOutputStream.writeObject(Unknown Source)
> >         at java.util.ArrayList.writeObject(Unknown Source)
> >         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
> > Source)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > Source)
> >         at java.lang.reflect.Method.invoke(Unknown Source)
> >         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
> >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> >         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> >         at java.io.ObjectOutputStream.writeObject(Unknown Source)
> >         at java.util.ArrayList.writeObject(Unknown Source)
> >         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
> > Source)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > Source)
> >         at java.lang.reflect.Method.invoke(Unknown Source)
> >         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
> >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> >         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> >         at java.io.ObjectOutputStream.writeObject(Unknown Source)
> >         at java.util.ArrayList.writeObject(Unknown Source)
> >         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
> > Source)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > Source)
> >         at java.lang.reflect.Method.invoke(Unknown Source)
> >         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
> >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> >         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> >         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > Source)
> >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> >         at java

Hosted Mode: Limit on number of External Stylesheets?

2009-11-11 Thread Erik Uzureau

I am debugging some style related issues with my application and I'm
noticing that some of my stylesheets are not getting loaded.

I have a ton of them (40 or so*) and no matter what I do, it seems
like only 31 of them get loaded. Never 32, 31. Always 31.

Has anyone else seen this?

Erik

* I realize this is outrageous but I plan to reduce the # later as the
project reaches maturity and approaches production.
--~--~-~--~~~---~--~~
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: Upgrade 1.5.3 to 1.7.1

2009-11-11 Thread Vince

Hello tskaife,

Yep! I just figured it out... I did insert the java thread size
specifier, e.g. -Xss16M. Is that overkill?

Anyhow, thanks for the feedback... Appreciate it. Now I'm back on
track.

Thanks,
Vince




On Nov 11, 4:50 pm, tskaife  wrote:
> There was an issue like that in 1.6 which I think has been fixed in
> 1.7
>
> http://code.google.com/p/google-web-toolkit/issues/detail?id=3510
>
> try adding -Xss1024k
>
> On Nov 11, 2:23 pm, Vince  wrote:
>
>
>
> > Hello,
>
> > Is this script correct?
>
> > @java -Xmx256M -cp "%~dp0\src;%~dp0\web\WEB-INF\classes;C:\workspace
> > \env\GWT 1.6.4\gwt-windows-1.6.4\gwt-user.jar;C:\workspace\env\GWT
> > 1.6.4\gwt-windows-1.6.4\gwt-dev-windows.jar"
> > com.google.gwt.dev.Compiler -war "%~dp0\www" %*
> > com.timelink.falco.wui.wuigwt.TestApp
>
> > Thanks,
> > Vince
>
> > On Nov 11, 2:33 pm, Vince  wrote:
>
> > > Phase : Change version 1.5.3 - 1.6.4
>
> > > I'm in the process of changing the compilation build script from using
> > > GWTCompile to Compile and I am encountering a StackOverFlow error on
> > > my code. This error didn't use to be thrown when using version
> > > 1.5.3...
>
> > > Does anybody have any idea on where this error could be originating
> > > from? A concept change perhaps from 1.5.3... The only clue I have is
> > > that it's coming from an ArrayList invocation.
>
> > > Thanks,
> > > Vince
>
> > > P.S. Here's a few iterations of the stack trace of that exception...
>
> > >    [ERROR] Unexpected internal compiler error
> > > java.lang.StackOverflowError
> > >         at java.io.ObjectOutputStream$HandleTable.hash(Unknown Source)
> > >         at java.io.ObjectOutputStream$HandleTable.lookup(Unknown
> > > Source)
> > >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> > >         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> > > Source)
> > >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> > >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > > Source)
> > >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> > >         at java.io.ObjectOutputStream.writeObject(Unknown Source)
> > >         at java.util.ArrayList.writeObject(Unknown Source)
> > >         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
> > > Source)
> > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > > Source)
> > >         at java.lang.reflect.Method.invoke(Unknown Source)
> > >         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
> > >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> > >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > > Source)
> > >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> > >         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> > > Source)
> > >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> > >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > > Source)
> > >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> > >         at java.io.ObjectOutputStream.writeObject(Unknown Source)
> > >         at java.util.ArrayList.writeObject(Unknown Source)
> > >         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
> > > Source)
> > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > > Source)
> > >         at java.lang.reflect.Method.invoke(Unknown Source)
> > >         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
> > >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> > >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > > Source)
> > >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> > >         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> > > Source)
> > >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> > >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > > Source)
> > >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> > >         at java.io.ObjectOutputStream.writeObject(Unknown Source)
> > >         at java.util.ArrayList.writeObject(Unknown Source)
> > >         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown
> > > Source)
> > >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > > Source)
> > >         at java.lang.reflect.Method.invoke(Unknown Source)
> > >         at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
> > >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> > >         at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> > > Source)
> > >         at java.io.ObjectOutputStream.writeObject0(Unknown Source)
> > >         at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> > > Source)
> > >         at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
> > >         at java.io.ObjectOutputStream.w

DatePicker starting week on Monday

2009-11-11 Thread santins

Is there a way to change the first day of the week from Sunday to
Monday?
--~--~-~--~~~---~--~~
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: Hosted Mode: Limit on number of External Stylesheets?

2009-11-11 Thread Thomas Broyer


On 11 nov, 23:07, Erik Uzureau  wrote:
> I am debugging some style related issues with my application and I'm
> noticing that some of my stylesheets are not getting loaded.
>
> I have a ton of them (40 or so*) and no matter what I do, it seems
> like only 31 of them get loaded. Never 32, 31. Always 31.
>
> Has anyone else seen this?

Every single web developer trying to load more than 31 stylesheets in
Internet Explorer ;-)

That's a known limitation: http://support.microsoft.com/kb/262161/en-us/
(well, Microsoft says the limit is 30, not 31, but it's really a hard
limit in Internet Explorer)


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



Looking for HasHandlers example

2009-11-11 Thread ARGold

I am creating a composite widget which calls an RPC.  On return from
the server, the widget may (or may not) need to fire a custom event to
be handled by the parent.

Can someone point me to an example of how to do this?

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



DatePicker Custom MonthSelector CSS

2009-11-11 Thread Craigo

Hello,

I wanted to add year selection to my date picker, so I extended
MonthSelector and added the extra buttons.  Everything worked
great.  ...except the setStyleName.

I wanted to do this:
  yearBack.setStyleName(css().previousButton());

However, the method css() returns a class DatePicker.StandardCss which
only has package level visibility.  So I couldn't use it.

I worked around it by hard coding the values:
  yearBack.setStyleName("datePickerPreviousButton");

But that is bad coding.

Does anyone know how I can use the same CSS styles without hard coding
the values?

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: Looking for HasHandlers example

2009-11-11 Thread Thomas Broyer



On 12 nov, 01:08, ARGold  wrote:
> I am creating a composite widget which calls an RPC.  On return from
> the server, the widget may (or may not) need to fire a custom event to
> be handled by the parent.
>
> Can someone point me to an example of how to do this?

It's pretty easy, and the best example is probably GWT itself (you'd
have to find a simple class though). Here's sample code:

// You don't necessarily need this interface
interface HasCustomHandlers extends HasHandlers {
   HandlerRegistration addCustomHandler(CustomHandler handler);
}

interface CustomHandler extends EventHandler {
   void onCustom(CustomEvent event);
}

class MyComposite extends Composite implements HasCustomHandlers {
   ...
   public HandlerRegistration addCustomHandler(CustomHandler handler)
{
  addHandler(handler, CustomEvent.getType());
   }
   ...
   // on RPC response:
   fireEvent(new CustomEvent(...));
   // or you can have a static fire() method on the CustomEvent class:
   CustomEvent.fire(this, ...);
}

For the implementation of CustomEvent, see event classes in
com.google.gwt.event.shared.logical.*

--~--~-~--~~~---~--~~
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 render a HTTPResponse getText()

2009-11-11 Thread Einstein0970

I'm using GWT 1.7 to implement an EAI (External Authentication
Interface) application to handle WebSeal authentication. To make a
very long story short, WebSeal responds to my RequestCallback, from my
RequestBuilder, with a full html file in the Response variable. What I
was expecting is that the browser would contain this HTML page and not
receive a response in the RequestCallback onResponseReceived method.
My goal is to show this web page to the user. How can I render this
html page that I receive in the Response variable? I'm not sure I want
to use a IFrame because it's not supported on all browsers. Is there
an other way?

Thanks,

Erick
--~--~-~--~~~---~--~~
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, JPA, Derby and Datanucleus Exception

2009-11-11 Thread Marco Massenzio

Hiya,

you may want to check out my blog entry:
http://codetrips.blogspot.com/2009/05/gwt-spring-and-jpa-not-really-friendly.html
also remember to check out the comments there, as there are some
useful pointers from Yaakov.

I will also be posting a contribution from Yaakov soon as I'm back
from the US.

But the short answer is, trying to make GWT and JPA play ball, it's
gonna be a tough one!


On Nov 8, 9:41 pm, Nik  wrote:
> Hi,
>
> I have serious trouble setting up my GWT Project.
> I have to use Derby and JPA.
>
> I installed the eclipselink plugin and tried the following:
>
> Set up a new GWT Project (with GWT 1.7.1). Didn't touch anything there
> yet.
> Then converted it into a JPA Project. (Which added persistence.xml and
> some Libraries)
> Created a annotated class. And changed the standard
> GreetingServiceImpl.java which is installed with the new web project
> wizard. In it I get a EntityManagerFactory and create a Entity out of
> it.
>
> That's all i want to do for now.
>
> My persistence.xml looks like that:
>
> 
> http://java.sun.com/xml/ns/
> persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://java.sun.com/xml/ns/persistencehttp://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";>
>         
>                 
> org.eclipse.persistence.jpa.PersistenceProvider
>                 myproject.TestClass
>                         
>                          value="org.apache.derby.jdbc.ClientDriver"/>
>                          value="jdbc:derby://localhost:
> 1527/sample;create=true"/>
>                         
>                          value="app"/>
>                          value="create-tables"/>
>                 
>         
> 
>
> But when i try to run it, i get this Exception:
>
> Caused by: org.datanucleus.exceptions.NucleusUserException: No
> available StoreManager found for the datastore URL key "". Please make
> sure you have all relevant plugins in the CLASSPATH (e.g datanucleus-
> rdbms?, datanucleus-db4o?), and consider setting the persistence
> property "datanucleus.storeManagerType" to the type of store you are
> using e.g rdbms, db4o
>
> I've been looking over the web for a solution the last 12 hours, but
> just don't seem to find the right thing.
>
> Can somebody help me?
>
> Regards,
> Nik
--~--~-~--~~~---~--~~
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 Eclipse and GWT

2009-11-11 Thread Marco Massenzio

actually the error tells all you need to know :)

undefined symbol: PR_GetPhysicalMemorySize

clearly the upgrade to 9.10 has replaced the /usr/lib/
xulrunner-1.9.1.4/libxul.so
library, and the new one does not export that method/function

I'm having a similar error (one library has been upgraded to
whatever.so.5 to .6 -- don't have it here, can't quite recall what it
was)

It all stems from the fact that hosted mode is using Jetty and SWT,
which (in my uninformed opinion) are old, brittle and unmaintained --
thank God Hosted Mode is going away in 2.0, in favor of OOPHM, or,
easier on the tongue... Dev Mode

I honestly don't really think there is a workaround (if anyone knows
of one, short of re-installing Ubuntu 9.04... which may actually be a
good idea anyway... 9.10 was a complete mess of a release if I've ever
seen one), so it's nailbiting time for 2.0 to become publicly
available and HM going aways for good

On Nov 9, 12:39 pm, Christoph Breidert  wrote:
> Hi everyone,
>
> I had Eclipse 3.4 and GWT running perfectly under Ubuntu 9.04.
>
> Since I updated Ubuntu to the latest version 9.10 I cannot start the
> hosted mode browser any more. It just starts briefly and the closes
> again. Also nothing responds onhttp:// localhost:8080. I tested this
> with Eclipse 3.4 and 3.5 both give the same error.
>
> The console log is this:
>
> 09.11.2009 20:30:44 com.google.apphosting.utils.jetty.JettyLogger info
> INFO: jetty-6.1.x
> 09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
> INFO: Filter EncodingFilter initializing...
> 09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
> INFO: Using encoding: UTF-8
> 09.11.2009 20:30:46 com.google.apphosting.utils.jetty.JettyLogger info
> INFO: Started selectchannelconnec...@0.0.0.0:8080
> The server is running athttp://localhost:8080/
> /usr/lib/jvm/java-6-openjdk/bin/java: symbol lookup error: /usr/lib/
> xulrunner-1.9.1.4/libxul.so: undefined symbol:
> PR_GetPhysicalMemorySize
>
> The error tells me nothing, googling also does not bring anything that
> makes sense to me. If anybody has an idea or hint it would be
> appreciated, I have spent too much time and headbanging on this.
>
> Cheers and thx, Christoph
--~--~-~--~~~---~--~~
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: RequestBuilder returning "empty argument" result?

2009-11-11 Thread Ian Bambury
Glad it's sorted. Sounds like a very understandable left-hand/right-hand
confusion.

Ian

http://examples.roughian.com


2009/11/11 Dean Karres 

>
> > So when I go
> > to http://apache-dev.itg.beckman.illinois.edu/communications/forum2/ this
> is
> > where you get the problem and I should be seeing Calendar for Fall
> 2009 and
> > so on?
>
> Yes, you should see that... I am not currently.
>
> > I assumed that you were having trouble testing it somewhere before you
> > uploaded it to the web.
> > So is it working in test? Or are you unable to test like that and testing
> by
> > uploading to the live site? Or have I got it completely A about F?
>
> Correct, you can think of the apache-dev site as the live-test area if
> you like.  The whole site at that URL is under development and will go
> "live" in a few weeks.
>
> > You may have tried this, but I suppose you *do* get the right url if you
> > log URL.encode(baseURL + "archive.cgi") ?
>
> Yes, I just added that back to the current version to make sure
>
> > There's no way to see where baseURL comes from in the code you supplied,
> but
> > it's not a silly error like a missing '/' is it?
>
> I don't think so.
>
> > The reason I said I thought it was an SOP problem was because your code
> > works for me with a dummy file and the cgi page sends me data back.
> > So somewhere the two aren't matching up.
> > Sorry I can't be more help.
>
> 
> ... Oh crap... Thank you Ian.  You made me look at all of this yet
> again and your comment about the URL made me triple check that.  It
> turns out that our sysadmin (bless his heart) changed the DNS on this
> machine which modified the default URL.  So it WAS a SOP issue after
> all.  I never saw the URL change until just now and the embedded URL
> in the code was, of course, the old one.
>
> Thanks again, silly me
>
> --
> Dean Karres
>
> --~--~-~--~~~---~--~~
> 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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=.




Unknown argument: -style

2009-11-11 Thread doboloh
hi, i tried the trunk version 6868, and i got this error "Unknown
argument: -style"

maybe i need to update my gwt eclipse plugin, where can i get the gwt
eclipse plugin source?

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




GWT 2 mailstone 2+selenium+testng+firefox 3.5,keep asking to install plugin

2009-11-11 Thread Alex Luya
(All uitilities are latest version )
I use following code to test my login page:
-
import com.thoughtworks.selenium.DefaultSelenium;
import com.thoughtworks.selenium.Selenium;

public class Login
{
@Test
public void Login() throws Exception
{
Selenium selenium = new DefaultSelenium("localhost", ,
"*firefox","http://localhost:/";);
selenium.start();
selenium.open("/CRM.html?gwt.hosted=127.0.0.1:9997");
selenium.type("gwt-debug-userName", "admin");
selenium.type("gwt-debug-password", "admin");
selenium.click("gwt-debug-login");
selenium.stop();
}
}
--
after firefox opened,it keeps asking me to install gwt plugin(but the
plugin has been installed and functioned properly),and I try to
refresh page,no changes,then I copy the url,close firefox and reopen
it,pasted url just copied,it works.that is strange.why is it when I
use Selenium to open firefox,it asked me to install already installed
plugin.

--

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