Re: Getting rid of Dev mode for future GWT releases

2015-12-10 Thread Dennis Haupt
it depends on how you work.
i have worked in situations where debuggers added no benefit (aka many
automated tests), but also some where they really turned hours into minutes
because you could simply directly look into the computers brain instead of
pondering about what might have gone wrong (feeding your software with
new/unexpected data that made it do strange things)

2015-12-10 10:39 GMT+01:00 Frank :

> I am always amazed how hard some people rely on debuggers.
> I almost never use any breakpoints or things like that. Maybe because in
> my early years you just did not have any debuggers at all.
>
> I find SuperDevMode more than enough and I am using it for over more than
> a year and never missed DevMode. On the contrary, I love the speed
> SuperDevMode gives me.
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: GWT 2.6 Compatibility with Java 1.5

2015-06-16 Thread Dennis Haupt
i should write something in java 1.4 again
generics are so next century

2015-06-16 15:11 GMT+02:00 Suleman Butt suleman.b...@gmail.com:

 H all,

 Just wanted to know if GWT 2.6 is compatible with Java 1.5? Or in other
 words which maximum GWT version we can go considering we have Java 1.5
 available on Tomcat AS 7 server?

 Didn't find the info on the GWT project page.

 Thanks.

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


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


Re: Main Advantages of using GWT against other technology like [jsp,spring,javascript...]

2014-09-06 Thread Dennis Haupt
ide support. less technologies in total.


2014-09-06 4:53 GMT+02:00 abdullah mohammedsameen@gmail.com:

 Hi,
  I am newbie to GWT and started developing my application using GWT.I
 would like to know what is the main advantages for going to GWT since we
 have lot of technology like JSP,Struts,..Can anyone give me suggestion on
 this?

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


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


Re: GWT Developer Plugin

2014-07-02 Thread Dennis Haupt
use an old version


2014-07-02 17:18 GMT+02:00 Francesco Viscomi fvisc...@gmail.com:

 Hi all

 i need to use GWT Developer Plugin and I have windows 8 at 64bit

 either chrome and firefox i'm not able to use the plugin;

 when i try to download it i get:

 (firefox)
 Sorry, the GWT Developer Plugin only supports Firefox 3.0 - 26.0.
 Perhaps download Firefox 24
 http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/24.3.0esr/?

 (chrome)
 start to download but a pop up inform me that the installation has been
 disabled because it is necessary plugin NPAPI;

 how i can resolve this issue? thanks a lot
 Francesco

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


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


Re: SuperDevMode and APT

2014-05-24 Thread Dennis Haupt
i'd stick to old versions and switch to sdm once ides support good browser
remote debugging with good sourcemap support.
if i still used the gwt.


2014-05-24 12:39 GMT+02:00 Paul Robinson ukcue...@gmail.com:


 On 24 May 2014 05:03, Frank Ren renfeng...@gmail.com wrote:
 
  It's been two years. And, I was just push into this problem by Chrome
 dropping support for GWT plugin. i.e. I have to downgrade Firefox to
 version 24, or to struggle with super dev mode.
 
  However, both running a Firefox version 24, and a super dev mode lead me
 to the following exception, even with Paul's code to override
 RemoteServiceServlet.
  com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: This
 application is out of date, please click the refresh button on your browser.

 It should still work, at least with 2.5.1. I've not used 2.6.1 yet.

 
  Is GWT going to get a death sentence?
 Eventually, yes because everything dies. But not now.

 It was a technological miracle that DevMode worked, and it's not really a
 surprise that the browsers are moving away from supporting the kind of
 synchronous plugins that it required.

 SDM is not perfect, but it's quite usable. If you'd never seen DM, you
 might well have thought SDM amazingly good. It's getting better too, with
 Eclipse support on the way.

 Paul

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


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


Re: The benefit of using UiBinder

2014-02-23 Thread Dennis Haupt
i use custom code in 90% of the cases. to me, the ui binder is just
another way of describing the ui.
i'd use it if i wanted to outsource the ui work to some css-guy that has no
java skills.
what is cleaner depends on what you do, imho. if you're going to do a
dynamic panel with components that depend on which setting you made
elsewhere in the ui, i don't see how to do that cleaner using the ui binder.


2014-02-23 15:19 GMT+01:00 Jens jens.nehlme...@gmail.com:

 You should use whatever fits best to your use case. I use UiBinder 90% of
 the time. The remaining 10% are custom widgets/view that would have an
 empty UiBinder XML file because their content is generated dynamically.

 The main benefit of UiBinder is that your code becomes cleaner and you can
 quickly see the structure of an UI component by looking at the UiBinder XML
 file.

 -- J.

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


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


Re: GWT 2.6.0 now available

2014-01-30 Thread Dennis Haupt
it already was available for download for days :D


2014-01-30 Matthew Dempsky mdemp...@google.com:

 Hi GWT community,

 We're excited to announce the GWT 2.6.0 release!  Many of you noticed it
 was uploaded a few days ago, but if you missed it, you can download
 it 
 herehttps://code.google.com/p/google-web-toolkit/downloads/detail?name=gwt-2.6.0.zip.
  This release has also been uploaded to Maven Central with the version
 string of 2.6.0.

 GWT 2.6.0 contains over 100 new bug fixes since GWT 2.5.1, more than 400
 changes in total, and greater than 20% of all contributions came from the
 community.  Thanks so much to everyone who reported issues and/or submitted
 patches!

 For a summary of user-visible changes, please see the GWT release 
 noteshttp://www.gwtproject.org/release-notes.html.
  And as always, please report any issues using the GWT issue 
 trackerhttps://code.google.com/p/google-web-toolkit/issues/list
 .

 Happy hacking!

 -Matthew, on behalf of the GWT developers

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


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


regexp only matches on first match ;(

2014-01-22 Thread Dennis Haupt
this is my code
final RegExp gim = RegExp.compile(pattern, gim);
final MatchResult re = gim.exec(text);

this is my pattern
(/?.*?)

this is my input:
hsbdfdifs/i/bid/ifud sdf fsd/unbsp; fsdbrbr

why doesn't it match on all the tags?

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


Re: GWT HashMap VS Javascript Object

2014-01-15 Thread Dennis Haupt
i would expect similar performance characteristics, since both things are
basically the same^^
the browser might be able to apply optimizations if the mapping are known
at compile time, but other than that. i would either go all out and
do a lot of research, or don't care


2014/1/15 Danilo Reinert danilorein...@gmail.com

 What are the pros/cons of using a simple Javascript Object instead a
 HashMap for mapping purposes? Would it perform better for few items cases,
 say 10 ?

 --
 D. Reinert

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


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


Re: How to convert from java to js

2014-01-02 Thread Dennis Haupt
as long as you have the java source files and feed them to the gwt
compiler, there are basically no limitations - except for some features
that do not exist in javascript at all (synchronisation, threads,
reflection)
also, not all jdk classes are available for gwt compilation. just go
through some tutorials to get your first generated js file


2014/1/2 Amir Abudubai amirabudu...@gmail.com

 What I want to know is, can I make a program in java and convert it to js,
 or is there a limited amount of things that can be converted, and most
 importantly, how do I do it.

 As you probably guessed, I am new to GWT and I am not really sure how it
 works.




 P.S. I already got it installed in eclipse. I know C++, I hate js, and I
 am learning java.

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


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


Re: Multi Modules

2013-12-19 Thread Dennis Haupt
you have to check if an enty point should run inside the method onModuleLoad
i use div markers, i.e. i put div id=moduleX/div into the html if i
want a specific entry point to run


2013/12/19 Davide Micheletti d.michelett...@gmail.com

 Hi all, i'm trying to do a multi modules Project in GWT. These are my
 passes:
 1- Create a GWT project
 2- Modify HTML page and Entry Point class (for ex a button that if pressed
 allow me to go in the new HTML page)
 3- Create a new Module (in the same project)
 4- Create a new Entry Point class for the NEW module (for ex a DialogBox
 with a message)
 5- Create a new HTML page for the new module
 6- Inherit other module in the modules
 7- Compile and Running

 Now there is my problem. The code that i write works but in the same page
 and in the same moment. How can i say at the second Entry Point class to
 write only in the new HTML page and only when i call that page?

 Thanks in advance and sorry for my english.

 Davide

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


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


Re: Thoughts on GWT 3.0 re: Java 8 and IE 8/9

2013-10-25 Thread Dennis Haupt
there should be simply no frameworks which support anything below ie9 at
all, so the enterprise is forced to adjust :)


2013/10/25 Andy pula...@gmail.com

 I just read through the notes from the GWT steering 
 committeehttps://groups.google.com/d/msg/gwt-steering/ldyo7OXUnHQ/ogtT-kPFoaoJand
  would like to share our perspective. I know you have a lot of survey
 results and we're just 1 company, but here's some more info based on our
 needs.

 *Java 8 only*

 I would encourage and support this move. I've been writing a ton of
 Javascript for the past few weeks and really miss the functional style when
 I come back to Java. Lambdas in Java 8 are going to be powerful and fun and
 they should be used liberally throughout the GWT 3.0 APIs. We won't be able
 to move our backend to Java 8 for a while, but since we only ship the JS
 output of the GWT compiler, I'm happy to use Java 8 for front-end
 development.

 *Dropping IE 8/9*
 *
 *
 We just decided on Tuesday to drop IE7 with our next release. We got tired
 of working around hasLayout bugs, etc. We have several major customers that
 still have users with XP/IE7, but after consulting with them, we decided we
 could go ahead with dropping support. Unfortunately, many of our customers
 are using IE8 and we won't be able to drop IE 8/9 anytime soon. As a
 developer this is extremely frustrating, but it's the sad reality of the
 enterprise.

 So Java 8 would be awesome, but dropping support for IE 8/9 would prevent
 us from being about to use GWT 3.0 until our enterprise customers upgrade
 their browsers.

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


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


dev mode: fallback to 1.3.3 serialization after making a change

2013-10-15 Thread Dennis Haupt
what can cause this (the hashcode-rpc-file is not found), and how can i fix
it?
this problem forces me to restart my server and rebuild my gwt module a lot

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


Re: dev mode: fallback to 1.3.3 serialization after making a change

2013-10-15 Thread Dennis Haupt
can this be avoided somehow? it also happend when i make a change that
really shouldn't break serialization (change code, but no fields)


2013/10/15 Jens jens.nehlme...@gmail.com

 First reload DevMode / Recompile app, then deploy to server (or tell the
 server to reload the exploded war directory if you use a local server).

 Whenever you make a change to a serializable class that is used in a
 GWT-RPC service the hash.rpc file for that service will be updated and
 thus gets a new file name hash. This file will be updated if you reload
 DevMode or recompile your app. Thus you always need to redeploy/reload your
 server AFTER reloading your client side.

 Thats by far the most annoying thing when using GWT-RPC and working on
 serializable classes that are transferred through it.


 -- J.

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


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


Re: why is my class not serializable?

2013-05-15 Thread Dennis Haupt
i have created dummy methods in my remote interface that use them (both
parameter and return type) to make sure the compiler knows they have to be
serialized. this helped in another case, but not here.


2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 And you have already used them in rpc calls ? Sorry for those basic
 questions but it is to be sure that, before searching for complex things,
 simple one have been discarded.
 Le 14 mai 2013 17:59, Dennis Haupt d.haup...@gmail.com a écrit :

 yes, they are all serializable


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Are they serializable ? Or is their implementation serialiazable ? Try
 to replace for test purpose with a string for instance to identify faulty
 fields.
 Le 14 mai 2013 17:54, Dennis Haupt d.haup...@gmail.com a écrit :

 does it matter if the fields are interfaces?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 yes, the compiler can access them. i use the classes in an rpc call


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Are the type of your fields available on the client side ?
 Le 14 mai 2013 17:40, Dennis Haupt d.haup...@gmail.com a écrit :

 the package the problematic class is in cannot access the gwt
 classes, so it must use serializable. but i have done this several times
 now, it always worked. removing all fields fixed the problem.
 why doesn't the gwt complain about the fields at all, if they are
 the problem?


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Consider also the interface other than serializable. It must be
 somerhung around those things...
 Le 14 mai 2013 17:31, Dennis Haupt d.haup...@gmail.com a
 écrit :

 i'm removing fields step by step now (since it has only 3)


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Did you try by just including step by step the class ? I mean
 just add an empty class and check if it is working. I know you made 
 a lot
 of classes so you are skilled. So I guess this is a silly problem. 
 Perhaps
 restarting from scratch may highlight the issue.
 Le 14 mai 2013 17:24, Dennis Haupt d.haup...@gmail.com a
 écrit :

 can i debug *why* the class is not included?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 please assume that i have already checked the dumb errors. i
 have about 200 serializable classes here, so i know how it works
 (usually...)
 the error message is the one that says not included in the
 list of serializable types. i don't see how posting the code 
 would help
 without providing access to the complete project. it's just a class
 implementing an interface which extends serializable with fields 
 that are
 all not final and all serializable.
 can an interface prevent the class from being serializable?


 2013/5/14 Juan Pablo Gardella gardellajuanpa...@gmail.com

 It does implement Serializable?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 i deactivated the rpc blacklist
 the class has a default contructor and no final fields
 is it directly used in an rpc method
 there is no error message during compilation

 i have no idea what the reason could be. any ideas?

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




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





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



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




  --
 You received

Re: why is my class not serializable?

2013-05-15 Thread Dennis Haupt
as i said, i have already completed my obvious mistakes checklist


2013/5/14 Travis travis.schm...@gmail.com

 Every time I get this it is because I have coded a constructor that takes
 args, but forgot to add a no-arg constructor for rpc to use.


 On Tuesday, May 14, 2013 8:08:14 AM UTC-7, HamsterofDeath wrote:

 i deactivated the rpc blacklist
 the class has a default contructor and no final fields
 is it directly used in an rpc method
 there is no error message during compilation

 i have no idea what the reason could be. any ideas?

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




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




Re: why is my class not serializable?

2013-05-15 Thread Dennis Haupt
the problem is, the server side decides that the class is simply not
serializable. it's not in the serializables whitelist. where is this list
created? maybe i can see why my class is skipped.


2013/5/15 Dennis Haupt d.haup...@gmail.com

 i have created dummy methods in my remote interface that use them (both
 parameter and return type) to make sure the compiler knows they have to be
 serialized. this helped in another case, but not here.


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 And you have already used them in rpc calls ? Sorry for those basic
 questions but it is to be sure that, before searching for complex things,
 simple one have been discarded.
 Le 14 mai 2013 17:59, Dennis Haupt d.haup...@gmail.com a écrit :

 yes, they are all serializable


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Are they serializable ? Or is their implementation serialiazable ? Try
 to replace for test purpose with a string for instance to identify faulty
 fields.
 Le 14 mai 2013 17:54, Dennis Haupt d.haup...@gmail.com a écrit :

 does it matter if the fields are interfaces?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 yes, the compiler can access them. i use the classes in an rpc call


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Are the type of your fields available on the client side ?
 Le 14 mai 2013 17:40, Dennis Haupt d.haup...@gmail.com a écrit :

 the package the problematic class is in cannot access the gwt
 classes, so it must use serializable. but i have done this several 
 times
 now, it always worked. removing all fields fixed the problem.
 why doesn't the gwt complain about the fields at all, if they are
 the problem?


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Consider also the interface other than serializable. It must be
 somerhung around those things...
 Le 14 mai 2013 17:31, Dennis Haupt d.haup...@gmail.com a
 écrit :

 i'm removing fields step by step now (since it has only 3)


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Did you try by just including step by step the class ? I mean
 just add an empty class and check if it is working. I know you made 
 a lot
 of classes so you are skilled. So I guess this is a silly problem. 
 Perhaps
 restarting from scratch may highlight the issue.
 Le 14 mai 2013 17:24, Dennis Haupt d.haup...@gmail.com a
 écrit :

 can i debug *why* the class is not included?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 please assume that i have already checked the dumb errors. i
 have about 200 serializable classes here, so i know how it works
 (usually...)
 the error message is the one that says not included in the
 list of serializable types. i don't see how posting the code 
 would help
 without providing access to the complete project. it's just a 
 class
 implementing an interface which extends serializable with fields 
 that are
 all not final and all serializable.
 can an interface prevent the class from being serializable?


 2013/5/14 Juan Pablo Gardella gardellajuanpa...@gmail.com

 It does implement Serializable?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 i deactivated the rpc blacklist
 the class has a default contructor and no final fields
 is it directly used in an rpc method
 there is no error message during compilation

 i have no idea what the reason could be. any ideas?

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




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





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



  --
 You received this message because you are subscribed to the
 Google Groups Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from
 it, send an email to
 google-web-toolkit+unsubscr...@googlegroups.com

Re: why is my class not serializable?

2013-05-15 Thread Dennis Haupt
found the problem: one of the members of the class was implementing an
interface which extended serializable, but was not public. it was package
local. once i made it public, the compiler gave me useful errors again.


2013/5/15 Dennis Haupt d.haup...@gmail.com

 the problem is, the server side decides that the class is simply not
 serializable. it's not in the serializables whitelist. where is this list
 created? maybe i can see why my class is skipped.


 2013/5/15 Dennis Haupt d.haup...@gmail.com

 i have created dummy methods in my remote interface that use them (both
 parameter and return type) to make sure the compiler knows they have to be
 serialized. this helped in another case, but not here.


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 And you have already used them in rpc calls ? Sorry for those basic
 questions but it is to be sure that, before searching for complex things,
 simple one have been discarded.
 Le 14 mai 2013 17:59, Dennis Haupt d.haup...@gmail.com a écrit :

 yes, they are all serializable


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Are they serializable ? Or is their implementation serialiazable ? Try
 to replace for test purpose with a string for instance to identify faulty
 fields.
 Le 14 mai 2013 17:54, Dennis Haupt d.haup...@gmail.com a écrit :

 does it matter if the fields are interfaces?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 yes, the compiler can access them. i use the classes in an rpc call


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Are the type of your fields available on the client side ?
 Le 14 mai 2013 17:40, Dennis Haupt d.haup...@gmail.com a
 écrit :

 the package the problematic class is in cannot access the gwt
 classes, so it must use serializable. but i have done this several 
 times
 now, it always worked. removing all fields fixed the problem.
 why doesn't the gwt complain about the fields at all, if they are
 the problem?


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Consider also the interface other than serializable. It must be
 somerhung around those things...
 Le 14 mai 2013 17:31, Dennis Haupt d.haup...@gmail.com a
 écrit :

 i'm removing fields step by step now (since it has only 3)


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Did you try by just including step by step the class ? I mean
 just add an empty class and check if it is working. I know you 
 made a lot
 of classes so you are skilled. So I guess this is a silly problem. 
 Perhaps
 restarting from scratch may highlight the issue.
 Le 14 mai 2013 17:24, Dennis Haupt d.haup...@gmail.com a
 écrit :

 can i debug *why* the class is not included?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 please assume that i have already checked the dumb errors. i
 have about 200 serializable classes here, so i know how it works
 (usually...)
 the error message is the one that says not included in the
 list of serializable types. i don't see how posting the code 
 would help
 without providing access to the complete project. it's just a 
 class
 implementing an interface which extends serializable with fields 
 that are
 all not final and all serializable.
 can an interface prevent the class from being serializable?


 2013/5/14 Juan Pablo Gardella gardellajuanpa...@gmail.com

 It does implement Serializable?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 i deactivated the rpc blacklist
 the class has a default contructor and no final fields
 is it directly used in an rpc method
 there is no error message during compilation

 i have no idea what the reason could be. any ideas?

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




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





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

why is my class not serializable?

2013-05-14 Thread Dennis Haupt
i deactivated the rpc blacklist
the class has a default contructor and no final fields
is it directly used in an rpc method
there is no error message during compilation

i have no idea what the reason could be. any ideas?

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




Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
please assume that i have already checked the dumb errors. i have about 200
serializable classes here, so i know how it works (usually...)
the error message is the one that says not included in the list of
serializable types. i don't see how posting the code would help without
providing access to the complete project. it's just a class implementing an
interface which extends serializable with fields that are all not final and
all serializable.
can an interface prevent the class from being serializable?


2013/5/14 Juan Pablo Gardella gardellajuanpa...@gmail.com

 It does implement Serializable?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 i deactivated the rpc blacklist
 the class has a default contructor and no final fields
 is it directly used in an rpc method
 there is no error message during compilation

 i have no idea what the reason could be. any ideas?

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




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




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




Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
can i debug *why* the class is not included?


2013/5/14 Dennis Haupt d.haup...@gmail.com

 please assume that i have already checked the dumb errors. i have about
 200 serializable classes here, so i know how it works (usually...)
 the error message is the one that says not included in the list of
 serializable types. i don't see how posting the code would help without
 providing access to the complete project. it's just a class implementing an
 interface which extends serializable with fields that are all not final and
 all serializable.
 can an interface prevent the class from being serializable?


 2013/5/14 Juan Pablo Gardella gardellajuanpa...@gmail.com

 It does implement Serializable?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 i deactivated the rpc blacklist
 the class has a default contructor and no final fields
 is it directly used in an rpc method
 there is no error message during compilation

 i have no idea what the reason could be. any ideas?

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




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






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




Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
i'm removing fields step by step now (since it has only 3)


2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Did you try by just including step by step the class ? I mean just add an
 empty class and check if it is working. I know you made a lot of classes so
 you are skilled. So I guess this is a silly problem. Perhaps restarting
 from scratch may highlight the issue.
 Le 14 mai 2013 17:24, Dennis Haupt d.haup...@gmail.com a écrit :

 can i debug *why* the class is not included?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 please assume that i have already checked the dumb errors. i have about
 200 serializable classes here, so i know how it works (usually...)
 the error message is the one that says not included in the list of
 serializable types. i don't see how posting the code would help without
 providing access to the complete project. it's just a class implementing an
 interface which extends serializable with fields that are all not final and
 all serializable.
 can an interface prevent the class from being serializable?


 2013/5/14 Juan Pablo Gardella gardellajuanpa...@gmail.com

 It does implement Serializable?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 i deactivated the rpc blacklist
 the class has a default contructor and no final fields
 is it directly used in an rpc method
 there is no error message during compilation

 i have no idea what the reason could be. any ideas?

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




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





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



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




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




Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
the package the problematic class is in cannot access the gwt classes, so
it must use serializable. but i have done this several times now, it always
worked. removing all fields fixed the problem.
why doesn't the gwt complain about the fields at all, if they are the
problem?


2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Consider also the interface other than serializable. It must be somerhung
 around those things...
 Le 14 mai 2013 17:31, Dennis Haupt d.haup...@gmail.com a écrit :

 i'm removing fields step by step now (since it has only 3)


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Did you try by just including step by step the class ? I mean just add
 an empty class and check if it is working. I know you made a lot of classes
 so you are skilled. So I guess this is a silly problem. Perhaps restarting
 from scratch may highlight the issue.
 Le 14 mai 2013 17:24, Dennis Haupt d.haup...@gmail.com a écrit :

 can i debug *why* the class is not included?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 please assume that i have already checked the dumb errors. i have
 about 200 serializable classes here, so i know how it works (usually...)
 the error message is the one that says not included in the list of
 serializable types. i don't see how posting the code would help without
 providing access to the complete project. it's just a class implementing 
 an
 interface which extends serializable with fields that are all not final 
 and
 all serializable.
 can an interface prevent the class from being serializable?


 2013/5/14 Juan Pablo Gardella gardellajuanpa...@gmail.com

 It does implement Serializable?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 i deactivated the rpc blacklist
 the class has a default contructor and no final fields
 is it directly used in an rpc method
 there is no error message during compilation

 i have no idea what the reason could be. any ideas?

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




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





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



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




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



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




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email

Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
yes, the compiler can access them. i use the classes in an rpc call


2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Are the type of your fields available on the client side ?
 Le 14 mai 2013 17:40, Dennis Haupt d.haup...@gmail.com a écrit :

 the package the problematic class is in cannot access the gwt classes, so
 it must use serializable. but i have done this several times now, it always
 worked. removing all fields fixed the problem.
 why doesn't the gwt complain about the fields at all, if they are the
 problem?


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Consider also the interface other than serializable. It must be
 somerhung around those things...
 Le 14 mai 2013 17:31, Dennis Haupt d.haup...@gmail.com a écrit :

 i'm removing fields step by step now (since it has only 3)


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Did you try by just including step by step the class ? I mean just add
 an empty class and check if it is working. I know you made a lot of 
 classes
 so you are skilled. So I guess this is a silly problem. Perhaps restarting
 from scratch may highlight the issue.
 Le 14 mai 2013 17:24, Dennis Haupt d.haup...@gmail.com a écrit :

 can i debug *why* the class is not included?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 please assume that i have already checked the dumb errors. i have
 about 200 serializable classes here, so i know how it works (usually...)
 the error message is the one that says not included in the list of
 serializable types. i don't see how posting the code would help without
 providing access to the complete project. it's just a class 
 implementing an
 interface which extends serializable with fields that are all not final 
 and
 all serializable.
 can an interface prevent the class from being serializable?


 2013/5/14 Juan Pablo Gardella gardellajuanpa...@gmail.com

 It does implement Serializable?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 i deactivated the rpc blacklist
 the class has a default contructor and no final fields
 is it directly used in an rpc method
 there is no error message during compilation

 i have no idea what the reason could be. any ideas?

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




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





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



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




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



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




  --
 You

Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
does it matter if the fields are interfaces?


2013/5/14 Dennis Haupt d.haup...@gmail.com

 yes, the compiler can access them. i use the classes in an rpc call


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Are the type of your fields available on the client side ?
 Le 14 mai 2013 17:40, Dennis Haupt d.haup...@gmail.com a écrit :

 the package the problematic class is in cannot access the gwt classes, so
 it must use serializable. but i have done this several times now, it always
 worked. removing all fields fixed the problem.
 why doesn't the gwt complain about the fields at all, if they are the
 problem?


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Consider also the interface other than serializable. It must be
 somerhung around those things...
 Le 14 mai 2013 17:31, Dennis Haupt d.haup...@gmail.com a écrit :

 i'm removing fields step by step now (since it has only 3)


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Did you try by just including step by step the class ? I mean just
 add an empty class and check if it is working. I know you made a lot of
 classes so you are skilled. So I guess this is a silly problem. Perhaps
 restarting from scratch may highlight the issue.
 Le 14 mai 2013 17:24, Dennis Haupt d.haup...@gmail.com a écrit :

 can i debug *why* the class is not included?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 please assume that i have already checked the dumb errors. i have
 about 200 serializable classes here, so i know how it works 
 (usually...)
 the error message is the one that says not included in the list of
 serializable types. i don't see how posting the code would help 
 without
 providing access to the complete project. it's just a class 
 implementing an
 interface which extends serializable with fields that are all not 
 final and
 all serializable.
 can an interface prevent the class from being serializable?


 2013/5/14 Juan Pablo Gardella gardellajuanpa...@gmail.com

 It does implement Serializable?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 i deactivated the rpc blacklist
 the class has a default contructor and no final fields
 is it directly used in an rpc method
 there is no error message during compilation

 i have no idea what the reason could be. any ideas?

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




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





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



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




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



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

Re: why is my class not serializable?

2013-05-14 Thread Dennis Haupt
yes, they are all serializable


2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Are they serializable ? Or is their implementation serialiazable ? Try to
 replace for test purpose with a string for instance to identify faulty
 fields.
 Le 14 mai 2013 17:54, Dennis Haupt d.haup...@gmail.com a écrit :

 does it matter if the fields are interfaces?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 yes, the compiler can access them. i use the classes in an rpc call


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Are the type of your fields available on the client side ?
 Le 14 mai 2013 17:40, Dennis Haupt d.haup...@gmail.com a écrit :

 the package the problematic class is in cannot access the gwt classes,
 so it must use serializable. but i have done this several times now, it
 always worked. removing all fields fixed the problem.
 why doesn't the gwt complain about the fields at all, if they are the
 problem?


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Consider also the interface other than serializable. It must be
 somerhung around those things...
 Le 14 mai 2013 17:31, Dennis Haupt d.haup...@gmail.com a écrit :

 i'm removing fields step by step now (since it has only 3)


 2013/5/14 Boris Lenzinger boris.lenzin...@gmail.com

 Did you try by just including step by step the class ? I mean just
 add an empty class and check if it is working. I know you made a lot of
 classes so you are skilled. So I guess this is a silly problem. Perhaps
 restarting from scratch may highlight the issue.
 Le 14 mai 2013 17:24, Dennis Haupt d.haup...@gmail.com a
 écrit :

 can i debug *why* the class is not included?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 please assume that i have already checked the dumb errors. i have
 about 200 serializable classes here, so i know how it works 
 (usually...)
 the error message is the one that says not included in the list
 of serializable types. i don't see how posting the code would help 
 without
 providing access to the complete project. it's just a class 
 implementing an
 interface which extends serializable with fields that are all not 
 final and
 all serializable.
 can an interface prevent the class from being serializable?


 2013/5/14 Juan Pablo Gardella gardellajuanpa...@gmail.com

 It does implement Serializable?


 2013/5/14 Dennis Haupt d.haup...@gmail.com

 i deactivated the rpc blacklist
 the class has a default contructor and no final fields
 is it directly used in an rpc method
 there is no error message during compilation

 i have no idea what the reason could be. any ideas?

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




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





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



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




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



  --
 You received this message because you are subscribed

Re: Does GWT optimize inefficient code?

2013-02-01 Thread Dennis Haupt
the first one: unlikely - the size might change in the loop
the second one is more likely

Am 01.02.2013 19:27, schrieb Joel Cairney:
 Dear forum,
 
 I've searched as hard as I can, but I haven't found any information on
 what specific developer practices GWTs compiler optimizations might
 optimize out.  For instance:
 
 for(int i = 0; i  myList.size(); i++) {...}
 
 or in the presenter:
 
 getView().doAction();
 
 for every action, instead of:
 
 _view.doAction();
 
 
 Note that I'm not suggesting I plan to go through my code base and fix
 these, so please, please spare me the discussion on whether premature
 optimization is the root of all evil.  I would just like my curiousity
 satisfied.  Does GWT compiler change these code imperfections?
 
 -Joel
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  


-- 

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




Re: Intellij for GWT app development. Is it worth it?

2013-01-17 Thread Dennis Haupt
i have made a lot of good experiences with that combo (intellij + gwt)
it understand the native js parts, the asnc/sync interface stuff,
debugging/running works out of the bugs


2012/10/19 Jens jens.nehlme...@gmail.com

 I am thinking about moving away from Eclipse (IMHO 4.2 feels really
 sluggish) and switching to Intellij IDEA 12 when its released.

 Is anybody here that has used both Eclipse + GPE and Intellij + GWT Plugin
 and can share his/her experience? Having Jetbrains joining the GWT steering
 group I guess GWT support in Intellij will never fall behind.

 So is it worth its money?

 I already tested Intellij 11 and it seems ok, but having some opinions
 from people that have used Eclipse and Intellij for a longer period of time
 would be nice. For example I quickly noticed this:
 http://stackoverflow.com/questions/9763801/why-intellij-idea-prefers-not-to-extend-composite-when-use-gwt-uibinderand
  wonder whats the rational behind it (UiBinder plays better with Widget
 instead of IsWidget) and if there are other differences that have the
 potential of being annoying.

 Thanks in advance

 -- J.

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


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



Re: Interface vs implementation

2012-11-25 Thread Dennis Haupt
1. this only applies to gwt-rpc. for pure client code, everything is
completely known at compile time, so the compiler knows which
implementation is possibly going to be used.
2. you can use gwt's configurable blacklist/whitelist to prevent it from
making every possible subclass serializable and still use interfaces. i do
it that way.


2012/11/25 Gal Dolber gal.dol...@gmail.com

 As I understand that only applies to gwt-rpc


 On Saturday, November 24, 2012, shippi wrote:

 Hi!

 I am aware of the fact that the GWT best practices are slightly different
 from the regular java recommendations. There is one question i would like
 to clarify. I am



 aware of the fact that when writing RPCs than the best practice is to use
 implementations as a return value f.e. ArrayList instead of List, because
 using less-specific classes forces the GWT compiler to generate
 serialization code for every serializable subclass of List. This make
 sense! My question is regarding the regular Widgets or (Presenter+View), is
 this still true in case of the ui code? To have

 private ArrayListString myList = new ArrayListString();

 is more effective than,

 private ListString myList = new ArrayListString();

 Does the GWT compiler generate the JavaScript for each subclass of the
 List?

 Thank you very much!!!



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



 --
 A world citizen



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


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



Re: generate and execute javascript at runtime?

2012-11-08 Thread Dennis Haupt
the reason i am using the GWT is so that i do NOT have use javascript. so
obviously, eval seems like totally harmless to me :) what's wrong with it?


2012/11/7 Joseph Lust lifeofl...@gmail.com

 True, but *eval() *is one of the Cardinal sins of programming. Think
 deeply if there is any way around it. But then again, you are the *Hamster
 of Death*, so you may be prone to sin.


 Sincerely,
 Joseph

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/gJbGP4bKspcJ.

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


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



Re: generate and execute javascript at runtime?

2012-11-05 Thread Dennis Haupt
i remember there being some magic rules, but i'll try


2012/11/3 Sebastian Rothbucher sebastian.rothbuc...@clarities.de

 Hi, is it not possible to make a function like eval() (doing just that)
 available via JSNI?


 On Friday, November 2, 2012 3:10:23 PM UTC+1, HamsterofDeath wrote:

 i'm trying to integrate jqxgrid and write a gwt wrapper around it. (it's
 some jquery grid) i know i can write native js methods, but this isn't
 enough. i need to dynamically build the call and then execute it as if it
 was sent from the server inside a script tag. how can i do that?

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


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



generate and execute javascript at runtime?

2012-11-02 Thread Dennis Haupt
i'm trying to integrate jqxgrid and write a gwt wrapper around it. (it's
some jquery grid) i know i can write native js methods, but this isn't
enough. i need to dynamically build the call and then execute it as if it
was sent from the server inside a script tag. how can i do 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: Intellij for GWT app development. Is it worth it?

2012-10-22 Thread Dennis Haupt
i mean full js editor support for the code fragments, including interop
between java and js code (like find usage, go to, rename)

2012/10/22 Jens jens.nehlme...@gmail.com


 Am Montag, 22. Oktober 2012 11:21:19 UTC+2 schrieb Thomas Broyer:


 Not with the Google Plugin for Eclipse.


  I think he means full JS auto complete. Doesn't GPE only provides auto
 complete for calls from JSNI back to Java?

 -- J.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/0ns0guuc0jAJ.

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


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



Re: Intellij for GWT app development. Is it worth it?

2012-10-22 Thread Dennis Haupt
intellij costs a few hundred dollars per year, eclipse costs a few hours
per week. make your choice.

Am 22.10.2012 18:18, schrieb Thomas Broyer:
 
 
 On Monday, October 22, 2012 5:31:02 PM UTC+2, Joseph Lust wrote:
 
 I seem to recall Ray Cromwell preaching about his love for IntelliJ
 during Google IO this year (Future and History of GWT). If it works
 well for him, I'm convinced.
 
 
 I actually hear many preaching about their love for IntelliJ. I'll
 definitely have to try it, but I fear that I'll get too used to it and
 need features of the Ultimate version, and my boss is unlikely to start
 buying licenses (well, actually, who knows?)
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/SXB7o7ZapssJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



Re: Intellij for GWT app development. Is it worth it?

2012-10-22 Thread Dennis Haupt
Am 22.10.2012 18:01, schrieb Jens:
 
 Am Montag, 22. Oktober 2012 17:31:02 UTC+2 schrieb Joseph Lust:
 
 
 However, I fear I'm also too invested in Eclipse and in many ways it
 does all that IntelliJ does. However IntelliJ is quicker and has
 support behind it. If I didn't have 3 years of memorizing every
 button/preference and keyboard shortcut for Eclipse, I'd make the
 switch.
 
 
 Valid point, however Intellij comes with an optional Eclipse key map
 (windows bindings, mac bindings can be found on github). This gives you
 a good start if you are a heavy eclipse shortcut user. Personally I
 probably do not use that many shortcuts as you do so its not a big
 drawback for me.

it's not that hard. i used eclipse and netbeans for fun and had the most
important hotkeys down in a few days and was using them without thinking.

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


-- 

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



Re: Intellij for GWT app development. Is it worth it?

2012-10-21 Thread Dennis Haupt
except for the not existing gui builder, i prefer intellij. refactorings
understand the async interfaces, native javascript in supported (for
eclipse it's just a comment), there are gwt specific inspections
so either intellij is a lot better or my collegues suck at using the gwt
plugin for eclipse ;)

2012/10/19 Jens jens.nehlme...@gmail.com

 I am thinking about moving away from Eclipse (IMHO 4.2 feels really
 sluggish) and switching to Intellij IDEA 12 when its released.

 Is anybody here that has used both Eclipse + GPE and Intellij + GWT Plugin
 and can share his/her experience? Having Jetbrains joining the GWT steering
 group I guess GWT support in Intellij will never fall behind.

 So is it worth its money?

 I already tested Intellij 11 and it seems ok, but having some opinions
 from people that have used Eclipse and Intellij for a longer period of time
 would be nice. For example I quickly noticed this:
 http://stackoverflow.com/questions/9763801/why-intellij-idea-prefers-not-to-extend-composite-when-use-gwt-uibinderand
  wonder whats the rational behind it (UiBinder plays better with Widget
 instead of IsWidget) and if there are other differences that have the
 potential of being annoying.

 Thanks in advance

 -- J.

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


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



Re: Are you happy with GWT?

2012-10-09 Thread Dennis Haupt
there are a few wtfs, yes - but they only come once. once you know them,
they are no problem.

Am 09.10.2012 12:05, schrieb Richard:
 A couple warnings.
 
 I
 http://www.thehubsa.co.za/forum/index.php?app=hubmarketdo=view_itemitem_id=40056'd
 suggest starting off slowly, rather than dumping the whole team onto GWT
 on day 1. There are a ton of gotchas or WTF's that the good GWT devs
 likely don't remember. Adding an intermediate layer can frustrate you if
 you're used to bare-metal web dev, so you'll definitely get some
 pushback at some point.
 
 Also, since Java's now considered a bit of an older language compared to
 the dynamic stuff the cool kids are using, that can affect resourcing.
 Are the cool kids happy to write Java for their front-end work? Are they
 happy that it'll have a positive effect on their career and not paint
 them into a corner?
 
 Personally, I love it. It can drive me nuts at times, but it gives me
 too many benefits to ignore. Once you learn the intricacies, it's very
 powerful.
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/R436N4yJOKQJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



Re: Super dev mode w/o jetty

2012-10-06 Thread Dennis Haupt
sounds like you never tried to use it.

just start the super dev mode nd give it all sources in the classpath.
it's a server which will give you two buttons when you access it with a
browser. both are magic javascript links (you can use them as
bookmarks) which will make your browser load its javascript sources from
the code server instead of the javascript on the web server.
it has nothing to do with perl scripts.

Am 06.10.2012 17:40, schrieb Jeffrey Chimene:
 Hi:
 
 For those not using Jetty as their codeserver, is super dev mode available?
 
 It's not clear to me how http://localhost:9876 will run my server-side
 Perl scripts. I run Perl scripts on the server, and Jetty does not
 provide that service.
 
 I've been using classic dev mode for years, with no issues.
 
 Now, we have 2.5 rc2 and super dev mode.
 
 I can use the -workDir argument to write the super dev mode compiler
 output to a directory seen by Apache. How can Apache know about super
 dev mode?
 
 Cheers,
 jec
 


-- 

-- 
You received 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: Are you happy with GWT?

2012-10-05 Thread Dennis Haupt
YES!

if i had to mess (and i mean mess) around with jsp files, webflows,
generated javascript in tags, embedded javascript in jsp files... i
wouldn't keep that job. javascript is nice for almost logic-less things
like the whole jquery stuff, but as soon as you have to run logic in the
browser, javascript (or rather its lack of mandatory documentation aka
static typing - or worse: it expects a special context that is
dynamically generated on in random files that are mentioned nowhere)
will come back and bite you.
of course the GWT isn't the only way to avoid melee fights with
javascript, but it's one of the good ways that works for us in
production since more than 2 years. we never had a bug where some
developer would say: yeah of course it's the GWT again.

Am 05.10.2012 17:53, schrieb Charlie Youakim:
 I'm deciding on whether to switch my team to GWT.  I think the biggest
 thing for me as the tech lead for the company is Are you happy with
 your choice to use GWT?
 
 My reasons for thinking to switch:
 
 -Javascript is a fast and free language, sometimes too fast and free for
 a large team.  Coding standards can vary from developer to developer,
 and maintaining architectures can be difficult
 -Javascript mistakes are only caught in runtime.  The fact that
 GWT(Java) would catch 90+% of our simple mistakes makes me more
 confident that our clients won't.
 -Javascript allows for rapid development, but not so rapid bug fixing.
 -Strict Java coding + a strong architecture at the outset creates a
 great foundation to build from.  I've even seen this in my firm's
 Android apps.  They are very stable.
 
 But for me, I'd really like to hear from developers active in the
 community.  Are you happy?  Or do you wish you went a different route? 
 My goal is to have my dev team work more on new projects rather than
 fixing old projects.  I am hoping that GWT can help with that.  thoughts?
 
 -Charlie
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/7HVAiaphHqwJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



Re: My email account has been hacked. Do not click on any links or attachments I have sent you

2012-08-21 Thread Dennis Haupt
open every attachment? ok, no problem

Am 21.08.2012 19:19, schrieb Paul Hargreaves:
 My email account has been hacked. Do not click on any links or
 attachments I have sent you in the last day.
 
 Cheers
 Paul
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



Re: Centering content in a panel?

2012-08-20 Thread Dennis Haupt
i'm still voting for the flextable

Am 20.08.2012 05:50, schrieb markww:
 Ok so that works (calling setHorizontalAlignment() before widgets are
 added). So now the labels are horizontally centered. 
 
 Still can't seem the vertically center them though. I think it's because
 the VerticalPanel keeps wrapping its contents vertically, even though
 I've set its height to 100% (the red area is the VerticalPanel with
 height=100%):
 
 http://cl.ly/image/0u0k3c3y1H1X
 
 Any ideas here?
 
 Thanks
 
 On Sunday, 19 August 2012 16:55:01 UTC-4, markww wrote:
 
 Hi,
 
 I'd like to make a vertical group of Buttons, and have them centered
 horizontally and vertically in the page.
 
 This page will likely be used on mobile devices, so the contents
 might be taller than the device - so I'll need a scroll bar in those
 cases:
 
 http://cl.ly/image/1x3u2A053S01 http://cl.ly/image/1x3u2A053S01
 
 I'm not sure which set of panels to use for this. A VerticalPanel
 was my first choice, tried the following:
   
 VerticalPanel vp = new VerticalPanel();
 for (int i = 0; i  15; i++) {
 vp.add(new Label(Test  + i));
 }
 vp.setWidth(100%);
 vp.setHeight(100%);
 vp.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
 vp.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
 
 but the contents are still top-left aligned (vertical panel
 background-color is red in this example):
 
 http://cl.ly/image/2V3p0k3E1h15 http://cl.ly/image/2V3p0k3E1h15
 
 There's probably a GWT pattern to do this, any ideas?
 
 Thanks
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/u-l2m4UfhmcJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



Re: Centering content in a panel?

2012-08-19 Thread Dennis Haupt
 vp.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
 vp.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);

this alignes the panel itself, not the content.
if you want to do fancy layout stuff, use a flextable:

table.getFlexCellFormatter().set...Alignment(x,y,...)

Am 19.08.2012 22:55, schrieb markww:
 Hi,
 
 I'd like to make a vertical group of Buttons, and have them centered
 horizontally and vertically in the page.
 
 This page will likely be used on mobile devices, so the contents might
 be taller than the device - so I'll need a scroll bar in those cases:
 
 http://cl.ly/image/1x3u2A053S01
 
 I'm not sure which set of panels to use for this. A VerticalPanel was my
 first choice, tried the following:
   
 VerticalPanel vp = new VerticalPanel();
 for (int i = 0; i  15; i++) {
 vp.add(new Label(Test  + i));
 }
 vp.setWidth(100%);
 vp.setHeight(100%);
 vp.setVerticalAlignment(HasVerticalAlignment.ALIGN_MIDDLE);
 vp.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
 
 but the contents are still top-left aligned (vertical panel
 background-color is red in this example):
 
 http://cl.ly/image/2V3p0k3E1h15
 
 There's probably a GWT pattern to do this, any ideas?
 
 Thanks
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/IaS1mJU90FQJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



Re: ValueChangeEvent String is not fired in IE9

2012-08-17 Thread Dennis Haupt
no problem here. are you doing anything special?

Am 18.08.2012 00:31, schrieb Joey Li:
 I tried to add a ValueChangeHandler to textbox.
 In IE 9, I found that the event is not fired at all. But it works fine
 in Chrome and FF. 
 I google it and some said the changeHandler event is not fired as well. 
 Anyone has workaround for it?
 
 Thanks.
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/tl1QS3whUDEJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



[no subject]

2012-08-16 Thread Dennis Haupt
i'm trying to add widgets into a flextables header. the header itself
required me to add native th / tr elements and add my widgets there:
if (model.header().totalHeaderRowCount()  0) {
final Element head = DOM.createElement(thead);
for (final int headerRowIndex :
CollectionFunctions.range(model.header().totalHeaderRowCount())) {
final Element headerRow = DOM.createElement(tr);
DOM.appendChild(head, headerRow);
for (int col = 0; col  totalColumnCount; col++) {
final HeaderCell cell = model.header().cellAt(headerRowIndex, col);
final Widget widget = createWidget(cell.asTableCellContent());
final Element th = DOM.createTH();
DOM.setElementAttribute(th, colSpan, String.valueOf(cell.colSpan()));
col += cell.colSpan() - 1;
DOM.appendChild(th, widget.getElement());//-- important line
DOM.appendChild(headerRow, th);
}
DOM.insertChild(grid.getElement(), head, 0);
}
}

everything works, except for events. they seem to get lost somewhere and
don't reach the listeners anymore.
how can i fix it?

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



grid, header and events

2012-08-16 Thread Dennis Haupt
i'm trying to add widgets into a flextables header. the header itself
required me to add native th / tr elements and add my widgets there:
if (model.header().totalHeaderRowCount()  0) {
final Element head = DOM.createElement(thead);
for (final int headerRowIndex :
CollectionFunctions.range(model.header().totalHeaderRowCount())) {
final Element headerRow = DOM.createElement(tr);
DOM.appendChild(head, headerRow);
for (int col = 0; col  totalColumnCount; col++) {
final HeaderCell cell = model.header().cellAt(headerRowIndex, col);
final Widget widget = createWidget(cell.asTableCellContent());
final Element th = DOM.createTH();
DOM.setElementAttribute(th, colSpan, String.valueOf(cell.colSpan()));
col += cell.colSpan() - 1;
DOM.appendChild(th, widget.getElement());//-- important line
DOM.appendChild(headerRow, th);
}
DOM.insertChild(grid.getElement(), head, 0);
}
}

everything works, except for events. they seem to get lost somewhere and
don't reach the listeners anymore.
how can i fix it?

-- 
You received 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: Where Is GWT Dev Plugin

2012-08-11 Thread Dennis Haupt
when trying to debug, chrome should automatically point you to the plugin

Am 11.08.2012 19:58, schrieb Charles Odili:
 I am running Chrome 21.0.1180.75 on Fedora 17 and eclipse Juno. I tried
 creating a sampl GWt project to see that my environment was properly set
 up but the developer plugin did not install. Chrome gave an error,
 complaining that extensions should be installed from the web store.
 However, a search for the plugin from the chrome web store did not
 return the plugin. Am I missing something please ?
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/rjWTw19CsEwJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 


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



Re: Where Is GWT Dev Plugin

2012-08-11 Thread Dennis Haupt
oh, should have read the whole email. no idea then.

Am 11.08.2012 20:07, schrieb Dennis Haupt:
 when trying to debug, chrome should automatically point you to the plugin
 
 Am 11.08.2012 19:58, schrieb Charles Odili:
 I am running Chrome 21.0.1180.75 on Fedora 17 and eclipse Juno. I tried
 creating a sampl GWt project to see that my environment was properly set
 up but the developer plugin did not install. Chrome gave an error,
 complaining that extensions should be installed from the web store.
 However, a search for the plugin from the chrome web store did not
 return the plugin. Am I missing something please ?

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


-- 

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



Re: GWT

2012-07-29 Thread Dennis Haupt
you can put everything on one.


Am 29.07.2012 19:03, schrieb nesrine doghri:
 Hi , haw can I build a GWT web site (the interaction between the
 different pages  ? and how can I implement the navigation between
 diernt  pages ??
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



Re: GWT

2012-07-29 Thread Dennis Haupt
please read some beginner tutorials.
page switch:
RootPanel.get(content).add(page1());
RootPanel.get(content).clear();
RootPanel.get(content).add(page2());

Am 29.07.2012 19:47, schrieb nessrinovitta:
 How does this work exactly ?? As I understood in the .HTML page I define
 the divs I need and then form each Ui  java class I use the methode
 RootPanel.get(content).add(Widget());
 Is this true ?, Does anyone have an example ??


-- 

-- 
You received 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: Eclipse Update has broken all GWT Projects?

2012-07-28 Thread Dennis Haupt
i simply cannot resist
***USE INTELLIJ***
;)

what happens if you open the project with an old version? don't you have
any backups?

Am 28.07.2012 00:58, schrieb Chris:
 I just updated eclipse and now all GWT projects are broken.  I inspect
 the installation and I see everything is installed, the problem is that:
 
 *All my run configurations are gone
 
 *There is no option to run anything as Web Application.
 
 *Error log includes:  
   -Unable to restore perspective: Workspace - Java.
   -Problems occurred when invoking code from plug-in:
 org.eclipse.ui.workbench.
 
 *Errors in build path:
 [Persisted Container]
  com.google.gwt.eclipse.core.GWT_CONTAINER
 gwt-user.jar (missing)
 gwt-dev.jar (missing)
 
 
 
 Can anyone offer a suggestion what I might do to fix this? 
 
 What is a persisted container?
 
 Is there a roll-back mechanism in Eclipse?
 
  
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/DNNGpIO9l20J.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



Re: How can we save state of a GWT page?

2012-07-26 Thread Dennis Haupt
if its not too much data, you can use autobeans to serialize your data
class and store the stuff in a cookie or the url itself. i've been doing
something similar, just with a selfmade serialization mechanism instead
of the autoproxy one.

Am 26.07.2012 08:14, schrieb Rubina:
 Hi All,
 
  
 
 We have one requirement to implement in GWT application. Below example
 will clear the requirement –
 
  
 
 There are 3 screensin application. Suppose, useris on 2ndscreen after
 moving from 1^st screen to 2ndscreen. When user clicks on Next button on
 first screen, then some RPC call is executed and fetch data from some
 external database. This data is used to display on 2^nd screen. Now user
 bookmarks the browser URL (2^nd screen) and closes the browser window.
 
  
 
 Next time, now user directly wants to navigate to the 2^nd screen
 without repeating the work done on 1^st screen. We want to store the
 state of 2^nd screen somehow on browser. If this screen launches, all
 Next and Previous button should also work properly.
 
  
 
 Is this requirement achievable, if yes then which GWT APIs provides this
 feature? Please advice.
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/VH8-qdGcKvMJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



how to get the datagrid running?

2012-07-26 Thread Dennis Haupt
i tried to follow the example here:
http://gwt.google.com/samples/Showcase/Showcase.html#!CwDataGrid

but it doesn't even compile.
there is no implementation of the interface CwConstants, the field
constants is final but never initialized and the method onInitialize
has an override annotation but overrides nothing.
what am i missing?

if i skip all this and just try to get a simple datagrid running, all its
cells are invisible, but i can see they exist in the generated source code.
is there another example that works?

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



Re: how to get the datagrid running?

2012-07-26 Thread Dennis Haupt
still not working. my ui.xml is:

!DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
ui:UiBinder
 xmlns:ui=urn:ui:com.google.gwt.uibinder
 xmlns:g=urn:import:com.google.gwt.user.client.ui
 xmlns:c=urn:import:com.google.gwt.user.cellview.client

g:DockLayoutPanel
 unit=EM
!-- DataGrid. --
g:center
c:DataGrid ui:field='cellTable' visible=true/
/g:center

!-- Pager. --
g:south size=3
g:HTMLPanel
table style=width:100%
tr
td
c:SimplePager ui:field='pager' location=CENTER/
/td
/tr
/table
/g:HTMLPanel
/g:south
/g:DockLayoutPanel
/ui:UiBinder

which is a copy of the showcase example.

it does show if i create everything manually:
cellTable = new DataGridContact(15);
pager = new SimplePager(SimplePager.TextLocation.CENTER);
DockLayoutPanel ret = new DockLayoutPanel(Style.Unit.PX);
initUIComponents();//configures columns, adds data
ret.addNorth(cellTable, 500);
ret.addSouth(pager, 100);
return ret;//is added to a rootlayoutpanel

but here, i cannot see the pager even though it's on the page.

if i use a vertical panel instead of a docklayoutpanel and a celltable
instead of a datagrid, everything works as expected.

2012/7/26 Thomas Broyer t.bro...@gmail.com


 On Thursday, July 26, 2012 10:32:42 AM UTC+2, Dennis Haupt wrote:

 i tried to follow the example here:
 http://gwt.google.com/samples/**Showcase/Showcase.html#!**CwDataGridhttp://gwt.google.com/samples/Showcase/Showcase.html#!CwDataGrid

 but it doesn't even compile.
 there is no implementation of the interface CwConstants, the field
 constants is final but never initialized and the method onInitialize
 has an override annotation but overrides nothing.
 what am i missing?


 Some classes/interfaces are not really relevant to the example so they're
 not included in the Source code drop-down.
 The Showcase full source code is in the GWT SDK though (in the samples
 directory), and can thus of course be found in the source repo:
 http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/showcase/


 if i skip all this and just try to get a simple datagrid running, all its
 cells are invisible, but i can see they exist in the generated source code.
 is there another example that works?


 DataGrid is a RequiresResize, did you put it in a ProvidesResize
 container? (any kind of layout panel: RootLayoutPanel, DockLayoutPanel,
 LayoutPanel, etc.)
 Alternately you can give it explicit dimensions (preferably in pixels).


-- 
You received 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 get the datagrid running?

2012-07-26 Thread Dennis Haupt
another thing:
i can see my comparator is begin used when i click on a column header, but
the sorting of the table does not change. also, the sorted-icon does not
appear.
is there something secret i need to do before this works?

2012/7/26 Dennis Haupt d.haup...@googlemail.com

 still not working. my ui.xml is:

 !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
 ui:UiBinder
  xmlns:ui=urn:ui:com.google.gwt.uibinder
  xmlns:g=urn:import:com.google.gwt.user.client.ui
   xmlns:c=urn:import:com.google.gwt.user.cellview.client

 g:DockLayoutPanel
  unit=EM
  !-- DataGrid. --
 g:center
 c:DataGrid ui:field='cellTable' visible=true/
  /g:center

 !-- Pager. --
 g:south size=3
  g:HTMLPanel
 table style=width:100%
 tr
  td
 c:SimplePager ui:field='pager' location=CENTER/
 /td
  /tr
 /table
 /g:HTMLPanel
  /g:south
 /g:DockLayoutPanel
 /ui:UiBinder

 which is a copy of the showcase example.

 it does show if i create everything manually:
 cellTable = new DataGridContact(15);
 pager = new SimplePager(SimplePager.TextLocation.CENTER);
  DockLayoutPanel ret = new DockLayoutPanel(Style.Unit.PX);
 initUIComponents();//configures columns, adds data
  ret.addNorth(cellTable, 500);
 ret.addSouth(pager, 100);
 return ret;//is added to a rootlayoutpanel

 but here, i cannot see the pager even though it's on the page.

 if i use a vertical panel instead of a docklayoutpanel and a celltable
 instead of a datagrid, everything works as expected.

 2012/7/26 Thomas Broyer t.bro...@gmail.com


 On Thursday, July 26, 2012 10:32:42 AM UTC+2, Dennis Haupt wrote:

 i tried to follow the example here:
 http://gwt.google.com/samples/**Showcase/Showcase.html#!**CwDataGridhttp://gwt.google.com/samples/Showcase/Showcase.html#!CwDataGrid

 but it doesn't even compile.
 there is no implementation of the interface CwConstants, the field
 constants is final but never initialized and the method onInitialize
 has an override annotation but overrides nothing.
 what am i missing?


 Some classes/interfaces are not really relevant to the example so they're
 not included in the Source code drop-down.
 The Showcase full source code is in the GWT SDK though (in the samples
 directory), and can thus of course be found in the source repo:
 http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/showcase/


 if i skip all this and just try to get a simple datagrid running, all
 its cells are invisible, but i can see they exist in the generated source
 code.
 is there another example that works?


 DataGrid is a RequiresResize, did you put it in a ProvidesResize
 container? (any kind of layout panel: RootLayoutPanel, DockLayoutPanel,
 LayoutPanel, etc.)
 Alternately you can give it explicit dimensions (preferably in pixels).




-- 
You received 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 get the datagrid running?

2012-07-26 Thread Dennis Haupt
i figured out why my components did not show. in the whole panel tree,
there must no be a single non-layout-panel up to the rootlayoutpanel. once
i made sure the chain was ok, the table was visible.
sorting still doesn't work.

2012/7/26 Dennis Haupt d.haup...@googlemail.com

 another thing:
 i can see my comparator is begin used when i click on a column header, but
 the sorting of the table does not change. also, the sorted-icon does not
 appear.
 is there something secret i need to do before this works?


 2012/7/26 Dennis Haupt d.haup...@googlemail.com

 still not working. my ui.xml is:

 !DOCTYPE ui:UiBinder SYSTEM http://dl.google.com/gwt/DTD/xhtml.ent;
 ui:UiBinder
  xmlns:ui=urn:ui:com.google.gwt.uibinder
  xmlns:g=urn:import:com.google.gwt.user.client.ui
   xmlns:c=urn:import:com.google.gwt.user.cellview.client

 g:DockLayoutPanel
   unit=EM
  !-- DataGrid. --
 g:center
 c:DataGrid ui:field='cellTable' visible=true/
  /g:center

 !-- Pager. --
 g:south size=3
  g:HTMLPanel
 table style=width:100%
 tr
  td
 c:SimplePager ui:field='pager' location=CENTER/
 /td
  /tr
 /table
 /g:HTMLPanel
  /g:south
 /g:DockLayoutPanel
 /ui:UiBinder

 which is a copy of the showcase example.

 it does show if i create everything manually:
 cellTable = new DataGridContact(15);
 pager = new SimplePager(SimplePager.TextLocation.CENTER);
  DockLayoutPanel ret = new DockLayoutPanel(Style.Unit.PX);
 initUIComponents();//configures columns, adds data
  ret.addNorth(cellTable, 500);
 ret.addSouth(pager, 100);
 return ret;//is added to a rootlayoutpanel

 but here, i cannot see the pager even though it's on the page.

 if i use a vertical panel instead of a docklayoutpanel and a celltable
 instead of a datagrid, everything works as expected.

 2012/7/26 Thomas Broyer t.bro...@gmail.com


 On Thursday, July 26, 2012 10:32:42 AM UTC+2, Dennis Haupt wrote:

 i tried to follow the example here:
 http://gwt.google.com/samples/**Showcase/Showcase.html#!**CwDataGridhttp://gwt.google.com/samples/Showcase/Showcase.html#!CwDataGrid

 but it doesn't even compile.
 there is no implementation of the interface CwConstants, the field
 constants is final but never initialized and the method onInitialize
 has an override annotation but overrides nothing.
 what am i missing?


 Some classes/interfaces are not really relevant to the example so
 they're not included in the Source code drop-down.
 The Showcase full source code is in the GWT SDK though (in the samples
 directory), and can thus of course be found in the source repo:
 http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/showcase/


 if i skip all this and just try to get a simple datagrid running, all
 its cells are invisible, but i can see they exist in the generated source
 code.
 is there another example that works?


 DataGrid is a RequiresResize, did you put it in a ProvidesResize
 container? (any kind of layout panel: RootLayoutPanel, DockLayoutPanel,
 LayoutPanel, etc.)
 Alternately you can give it explicit dimensions (preferably in pixels).





-- 
You received 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 create a grouped column with the Data Grid?

2012-07-26 Thread Dennis Haupt
Am 26.07.2012 19:03, schrieb John99:
 tableheaderbuilder from gwt 2.5
 


-- 
yay

-- 
You received 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: DevMode for Firefox 14

2012-07-17 Thread Dennis Haupt
maybe we should all vote somewhere to make jetbrains/the eclipse guys
support source maps in their javascript debuggers asap? seems like a
better option to me than maintaining an unmaintained plugin in the long run

Am 18.07.2012 05:30, schrieb David Guo:
 Hi Alan,
 
 Too bad to hear this news. Hope someone can continue to work on this
 devmode.
 
 
 On Wednesday, July 18, 2012 8:08:06 AM UTC+8, Alan Leung wrote:
 
 While I am technically no longer on the team, I got curious and
 started looking at the FF14 changes.
 
 There were some slight changes in the JS Object layout again but
 they seem easy enough to fix.
 
 I have built it for Linux 32 bit:
 http://acleung.com/ff14-linux32.xpi
 http://acleung.com/ff14-linux32.xpi
 
 -Alan
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/pHnt595PlN4J.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



Re: Flow charts in GWT

2012-07-16 Thread Dennis Haupt
take a look at the google chart ypi. there's a gwt wrapper for it
Am 16.07.2012 21:10, schrieb Bharath Kumar:
 Hi,
 
 I am new to GWT. Can someone point me out some good GWT library for
 drawing FlowCharts.
 
 ~Bharath.
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/lbV8PlkiWBsJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 



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



code splitting in depth

2012-07-10 Thread Dennis Haupt
hi community,

i'm trying to figure out if i can use code splitting effectively.
i have about 20 entry points which all inherit from a basic entry point. if
i simply wrap the content of each onModuleLoad-implementation in a
gwt.runasync, will the gwt figure out the dependencies by itself - no
matter how complicated - or will it just give up at some point? how can i
check?

-- 
You received 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: Super Dev Mode general question

2012-07-09 Thread Dennis Haupt
i don't know about eclipse, but intellij can remote-debug chrome and
firefox, including the evaluation of expressions.
it probably won't be long before they add support for source maps, too.
i wouldn't worry too much.

Am 09.07.2012 16:51, schrieb Thomas Broyer:
 
 
 On Monday, July 9, 2012 3:24:19 PM UTC+2, sanny...@gmail.com wrote:
 
 Hello, 
 
 I recently found this topic about Super Dev Mode appearing in GWT 2.5.
 I am happy that new way of debugging is coming to the GWT
 development process.
 But I am not happy that there are plans to discard current DevMode
 in the future. At least, each official mentioning of SuperDevMode
 means that it will replace current DevMode.
 
 If this is true, then I am not happy at all.
 
 Debugging in the IDE of choice was always top feature of GWT for me.
 Ability to freely navigate code, use typesafe autocompletion in
 evaluate expression boxes, drop stack frame feature and all other
 hundreds of java-specific little features is great joy. Forcing
 developers to discard all this and be tied to browser is at least
 major regress.
 
 I could not find any discussion on this topic, if there's any,
 PLEASE direct me to the page where it all was discussed and decision
 was made, i want to see the arguments. I found only browser plugins
 are instable topic. But people, concept is already working
 satisfactory for several years and I don't want to lose it in future
 because it is not 100% perfect and crashes sometimes. 
 
 Telling source code maps are being implemented in browsers at the
 moment and at the same time arguing that SuperDevMode will make us
 browser-independent seems like lame joke. At least, not all browsers
 will. But even if all major browsers (Chrome, FF, Safari, IE) will,
 source maps is only part of the picture. The debugging in all
 browsers has its own interface, keymaps etc, and, as I wrote above
 it never compares to the IDE/Native java debugging. In other words,
 it does not compare!
 
 TLDR: questions:
 1) Is it true that SuperDevMode will replace DevMode
 
 
 Who knows?
 More seriously, you can be assured DevMode will stay for quite some time.
  
 
 2) If yes, then for the sake of God, why such regress?
 
 
 Browser plugins are a nightmare to maintain.
 The plugin for Chrome is known to be buggy and unstable.
 Every 6 weeks, the plugin for Firefox has to be updated (we could choose
 to only support Firefox ESR, but I doubt you'd be happy; I wouldn't be).
 I've heard there had been issues with the Safari plugin on OS X at some
 point, due to a browser upgrade.
 The only stable plugin for now is the one for IE, and even that one
 required some work to make it compatible with IE9 and the newer versions
 of Windows.
 Generally, browser vendors don't help us maintain plugins.
 
 Due to this fact, no new plugin is being developed, so debugging in
 Opera, or Safari on Windows, won't ever be possible (OK, that's rhetoric
 anyway, as nobody minds ;-) ).
 
 But now we also have to support mobile development: iOS, Chrome for
 Android, Firefox Mobile, Windows 8, etc. and those browsers don't even
 allow us to use plugins!
 And that's where SuperDevMode shines with its plugin-free approach: it
 brings DevMode to any single browser out there, at the expense of using
 the browser's own dev tools.
 
 So, what the future is?
 Honestly, to me, the future is in wire protocols for JS debuggers. Opera
 has had one for long, Chrome too. Mozilla is building one. I can't tell
 for IE but at least you can debug a local IE instance so it's better
 than nothing, and we can have hopes that DevMode as we know it will be
 supported for quite a long time (compared to other browsers).
 With such protocols, your IDE could connect to your browser and use
 SourceMaps to give you (almost) the same debugging experience as if you
 were running your code natively (technically, I believe it could also
 be made so; based on an experiment I made a few years back to bring
 DevMode to Adobe AIR through the Flash debugger). This, to me, is the
 way forward. It would however require a tremendous amount of work, so
 it's not going to happen any time
 soon. http://code.google.com/p/chromedevtools/ could help here I guess,
 but it's still a very tiny part of what's needed to bring the same level
 of debugging as with the current DevMode.
 
 10 years after the Internet Bubble, web dev is only starting to make its
 revolution towards professionalization (MVC was seen as a thing of the
 past until Backbone et al. revived it). GWT is ahead of its time here
 with leveraging Java dev tools, but web dev is still for the most part
 the same as 10 years ago. console.log replaced window.alert, but it
 hasn't really changed.
 
 I believe, DevMode (as we know it) will fade away, either replaced by
 SuperDevMode or something based on it (better integrated in the IDE), or
 rewritten atop 

Re: What is the minimum Internet speed connexion that the GWT team is considering when testing their GWT application ?

2012-07-03 Thread Dennis Haupt
well, it *has* to be downloaded before it can be executed, there is no
way around it. you can try to split your code into smaller parts
(google: code splitting gwt) so you don't get over much more than your
17 seconds.

Am 03.07.2012 14:03, schrieb regnoult axel:
 Hello,
 
 I am living in Bolivia and here, I have a connection equals to 200 Kbps
 (it is very poor). :(
 
 So I was asking if google engineers are considerating a minimum bandwith
 when testing their app ?
 
 This is important, because when starting my aplication
 (www.mananaseguro.com) , even if I am trying to optimize it, I have for
 the moment 17 seconds to wait to see the first page (and my app is
 minimalist) for*the first time*. Then I think it is due to the cache, it
 loads a lot faster (4 seconds, such as when I open GMAIL here).
 
 In other terms, does '/Google/' recommend a minimum Internet connexion
 to use a GWT application in production ?
 
 Could you give me indications or details explaining why the first time
 loading is a lot slower and then why it loads quickly (I think it is
 because informations are stocked in the browser cache, but what kind of
 information exactly ?)
 
 Thank you for your help,
 
 
 
 
 
 
 
 
 
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/cKPRjyYLdoEJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 



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



Re: superdevmode when working with multiple projects

2012-06-28 Thread Dennis Haupt
loading sources from the classpath works. for me, at least.

Am 28.06.2012 18:17, schrieb Thomas Broyer:
 
 On Thursday, June 28, 2012 5:47:58 PM UTC+2, Marius Grama wrote:
 
 Hi,
 
 I've downloaded gwt 2.5.0 RC1 SDK and successfully worked with it
 for testing super devmode on a GWT helloworld application.
 Then i've tried to test super devmode on a more complex project
 structure:
 - my.gwt.web.module.standard
 - common.gwt.web.module
 - another.common.gwt.web.module
 
 When I start the CodeServer I get this exception:
 
 workDir:
 C:\Users\mga\AppData\Local\Temp\gwt-codeserver-3445187718077539929.tmp
 binding: user.agent=safari
 binding: compiler.useSourceMaps=true
 binding: locale=en
 Compiling module nts.wincash.webapplication.repairmanager.RepairManager
Finding entry point classes
   [ERROR] Unable to find type 'common.gwt.client.MyEntryPoint'
  [ERROR] Hint: Check that the type name '
 common.gwt.client.MyEntryPoint ' is really what you meant
  [ERROR] Hint: Check that your classpath includes all
 required source roots
 com.google.gwt.core.ext.UnableToCompleteException: (see previous log
 entries)
 at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:93)
 at com.google.gwt.dev.codeserver.ModuleState.init(ModuleState.java:52)
 at com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:88)
 at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:51)
 [ERROR] Compiler returned false
 
 
 I've added the source directories of all dependent GWT projects in
 the classpath.
 
 In my main module .xml file I've added the following properties:
 set-property name=compiler.useSourceMaps value=true
 /set-property
 
 
 add-linker name=xsiframe /
 set-configuration-property name=devModeRedirectEnabled
 value=true /
 
 
 Can anyone help with some sugestions on how to get rid of the
 compiler problem?
 
 
 Brian Slesinsky said not so long ago that the way they use it at Google
 is that they pass the source folders as '-src' arguments rather than on
 the classpath (where you'd only have the compiled classes), and loading
 sources from the classpath was actually untested.
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/uMWml97du7AJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 



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



Re: GWT 2.5 RC1 Is Here!

2012-06-28 Thread Dennis Haupt
same here. enabling the closure compiler almost doubles the compilation
time. but i don't care, i only have to run the compiler in this mode
before a release. the code server takes about 10 seconds to handle a
change in the same app.

Am 28.06.2012 18:47, schrieb Stefano Ciccarelli:
 Our project compiles in 9 minutes with GWT 2.4 and 17 minutes with GWT
 2.5.rc1.
 I think this is not acceptable to save only a 10% in Javascript size.
 
 -- 
 Inviato con Sparrow http://www.sparrowmailapp.com/?sig
 
 Il giorno mercoledě 27 giugno 2012, alle ore 22:39, Rajeev Dayal ha
 scritto:
 
 Hey all,

 We're excited to announce the GWT 2.5 Release Candidate! Read about it
 on the GWT Blog
 http://googlewebtoolkit.blogspot.com/2012/06/gwt-2.html, and
 download it here
 http://developers.google.com/web-toolkit/download (bottom of the
 page). The RC has been uploaded to Maven Central with the version
 string of 2.5.0-rc1.

 Please give it a try and let us know your feedback! Also, many thanks
 to all of you for your contributions. Without your help, we wouldn't
 have had a GWT 2.5 release at all!


 -Rajeev, on behalf of the GWT team

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


-- 



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



Re: GWT 2.5 RC1 Is Here!

2012-06-28 Thread Dennis Haupt
since it's a java app - can you profile it? there should be a pretty
obvious reason, may be massive garbage collection?

Am 28.06.2012 19:40, schrieb Stefano Ciccarelli:
 My times are with closure disabled!!! And code server takes never less
 than two minutes to compile a single permutation of the same app.
 
 -- 
 Sent with Sparrow http://www.sparrowmailapp.com/?sig
 
 Il giorno giovedì 28 giugno 2012, alle ore 19:21, Dennis Haupt ha scritto:
 
 same here. enabling the closure compiler almost doubles the compilation
 time. but i don't care, i only have to run the compiler in this mode
 before a release. the code server takes about 10 seconds to handle a
 change in the same app.

 Am 28.06.2012 18:47, schrieb Stefano Ciccarelli:
 Our project compiles in 9 minutes with GWT 2.4 and 17 minutes with GWT
 2.5.rc1.
 I think this is not acceptable to save only a 10% in Javascript size.

 -- 
 Inviato con Sparrow http://www.sparrowmailapp.com/?sig

 Il giorno mercoledě 27 giugno 2012, alle ore 22:39, Rajeev Dayal ha
 scritto:

 Hey all,

 We're excited to announce the GWT 2.5 Release Candidate! Read about it
 on the GWT Blog
 http://googlewebtoolkit.blogspot.com/2012/06/gwt-2.html, and
 download it here
 http://developers.google.com/web-toolkit/download (bottom of the
 page). The RC has been uploaded to Maven Central with the version
 string of 2.5.0-rc1.

 Please give it a try and let us know your feedback! Also, many thanks
 to all of you for your contributions. Without your help, we wouldn't
 have had a GWT 2.5 release at all!


 -Rajeev, on behalf of the GWT team

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

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


 -- 



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


-- 



-- 
You received 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 2.5

2012-06-22 Thread Dennis Haupt
is there a precompiled package?

Am 22.06.2012 19:54, schrieb Daniel Kurka:
 this is already in trunk if you want to try it out.
 
 Am 19.06.2012 um 10:33 schrieb Jens:
 
 I am pretty sure it will be released during/after the Google IO 2012.


 What you have seen is SuperDevMode which can do a pretty fast draft
 compile of your app. Its already available in GWT trunk if you want to
 try it. You can read a bit about its current performance in
 https://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit-contributors/RApHAZBy348
  

 -- J.

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


-- 

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



Re: How far does the optimizations of the GWT compiler go..?

2012-06-21 Thread Dennis Haupt
i would not rely on that. there are tools which are better suited for
this. my first choice would be intellij idea because it can also detect
calls to methods from those native js gwt thingies that other tools
don't understand. they would detect methods called only from native js
as unused.

and yes you can check: compile in pretty mode. the code won't be
obfuscated and you can search for the class name and specific methods.

Am 21.06.2012 22:17, schrieb Carsten:
 Hi,
 
 I was wondering how well the GWT compiler is able to remove unused
 parts? Can it even remove methods and fields from a class which are
 never used?
 
 Example:
 
 VeryComplexObject vco = null;
 
 initVCO() {
 ...
 };
 
 If initVCO is never called from my code, will the GWT compiler remove
 the method initVCO(), the field vco, or even the VeryComplexObject class
 itself?
 
 Can I somehow check what the GWT compiler removed and what not? Is there
 a log which lists removed parts?
 
 Thanks,
 Carsten
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/y--NLNmLF8wJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



gwt 2.5

2012-06-19 Thread Dennis Haupt
hi community,

i saw a video where someone compiled an app in a few seconds instead of a
minute and we're being tortured by the gwt compiler here. as awesome as it
is, it is taking a lot of time to compile. when will the 2.5. release be
available?

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



convert dom element to widget

2012-06-06 Thread Dennis Haupt
i am trying to write a function which generically collections dom elements
and adds them to complexpanels. i can get the dom elements, but how do i
add them to panels? panels need widgets. is there a way to convert them?

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



Re: Google IO 2012 : no GWT session ?

2012-05-20 Thread Dennis Haupt
that's not something big. something big would be hey, we can now
compile to javascript AND dart. and we're 10x faster since 2.4.

Am 20.05.2012 12:17, schrieb Andrés Testi:
 The session topic is Migrating code from GWT to Dart... sorry, but it
 scares me.
 
 - Andrés
 
 El domingo, 20 de mayo de 2012 07:09:11 UTC-3, dflorey escribió:
 
 Yeah, the first GWT session just arrived:
 https://developers.google.com/events/io/sessions/gooio2012/1414/
 https://developers.google.com/events/io/sessions/gooio2012/1414/
 
 ;-)
 
 On Thursday, May 17, 2012 12:23:59 PM UTC+2, Thomas Broyer wrote:
 
 
 
 On Thursday, May 17, 2012 8:00:00 AM UTC+2, Celinio Fernandes wrote:
 
 Hello,
 I just noticed that the schedule for Google IO 2012 is now
 available : https://developers.google.com/events/io/sessions
 https://developers.google.com/events/io/sessions
 Not sure whether it is definitive or not.
 I see that this year there is no session dedicated to GWT.
 How come ?
 But there are 2 sessions dedicated to Dart. Is this a sign ?
 
 
 I've been told (by the GWT manager) that they're planning a
 session about GWT. No worries, GWT is healthy and something
 big is coming (I'm afraid I can't share details, sorry). 
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/QzLO5yCrTwMJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



Re: Inserting a DIV in a GWT Panel

2012-05-06 Thread Dennis Haupt
if you can wait until tomorrow, i can take a look at a method that cuts
 pasted a div into a gwt panel and works.

Am 06.05.2012 17:05, schrieb yves:
 I'm not sure, but try to remove the style display:none or change it
 (something like footer.setProperty(display, xxx)) when you append
 the element.
 Yves
 


-- 

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



code splitting question

2012-04-05 Thread Dennis Haupt
hi there,

my gwt app it getting pretty big, so i looked into code splitting - but it
looks like magic to me in non trivial cases.
i have about 20 gwt modules, and all entry points implement an abstract
entry point:

public void onModuleLoad() {
this.LOGGER.info(initializing module);
try {
initModule();
} catch (Throwable t) {
this.LOGGER.info(error while initializing module);
ErrorHandling.handleEverything(t);
}
}

if i put gwt.runasync around initModule, will every module be compiled
into its own js source file? if not, how can i achieve that? so i have to
change every implementation of initmodule?

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



call method before page is loaded

2012-02-22 Thread Dennis Haupt
is it possible to call my onModuleLoad-method before the page is completely
loaded?
for example, i know the module needs a div id=foo on the page - nothing
else - and as soon as foo exists, the gwt can do an async call while the
rest of the page loads.

-- 
You received 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 debug

2011-12-29 Thread Dennis Haupt
Am 29.12.2011 17:15, schrieb Anky:
 Hi All,
 
 I am not sure if it is a problem with my application.
 
 Initially when we started development, the debug worked fine, with few
 exceptions of hitting the browser refresh button couple of times to
 get the code picked by debugger.
 
 Now our application has grown up considerably and our debug
 environment does not work often. We change code, hit the browser
 refresh and we get a message that 'response cant be deserialized' and
 sometime on second hit of browser refresh it display message related
 to JNSI. This forces us to recompile the GWT code and deploy again. I
 think it eats up considerable development time.
 
 Has anyone experienced this problem with large app development using
 GWT?
 
 Thanks,
 Ankit
 

if you change a class that is being serialized - for example add a field
- you'll get this error because the server and client are no longer in
sync. if there is a way to fix that, i'll be glad to know.

-- 

-- 
You received 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: Dev mode in intellij IDEA

2011-12-26 Thread Dennis Haupt
no idea what gae is, but i use idea+gwt. using devmode is easy. you just
need to make sure all the sources are in the classpath. go to
settings|compiler|resource pattern and add a pattern for all source
files. then simply run devmode and point it at a *.gwt.xml

when making a change, i recompile, causing idea to copy all modified
sources and press f5 in my browser. the devmode will recompile
everything by itself.

i do not start the application as a dev-mode-gwt-page from idea. the app
server runs independently from devmode, i just hook it in when i need
it. someone else in my team took care of the hooking in. i can check
how it works if you need to know. afaik it's just another parameter in
the URL that makes browser connect to a running devmode instance.

Am 26.12.2011 13:21, schrieb Kayode Odeyemi:
 Hello friends,
 
 Is anyone using Intellij IDEA for GWT/GAE development?
 
 If you are, could you please share your experience on how
 you run your application in dev mode?
 
 Thanks
 
 -- 
 Odeyemi 'Kayode O.
 http://www.sinati.com. t: @charyorde
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



Re: Java for back end coding

2011-12-25 Thread Dennis Haupt
Am 25.12.2011 16:45, schrieb Mohamed Turki:
 Hello everyone
 I'm new to GWT but I have a modest experience with Java.
 I never used Java for back end coding tho. I'm used to PHP and MySQL.
 Can anybody here give me an idea on how to use Java for back end work,
 like which libraries do I need and how things work.
 Thanks a lot
 

there are about 3000 frameworks and applications servers to choose from.
you probably want to take a look at tomcat or jetty and hibernate. or
db4o, if you want to be a pirate.

-- 

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



popuppanel always has an offsetwidth of 10 and offsetheight of 0

2011-12-20 Thread Dennis Haupt
i use:
popup.showRelativeTo(widget...)

in my debugger i can see that during the callback:

  public final void showRelativeTo(final UIObject target) {
// Set the position of the popup right before it is shown.
setPopupPositionAndShow(new PositionCallback() {
  public void setPosition(int offsetWidth, int offsetHeight) {
position(target, offsetWidth, offsetHeight);
  }
});
  }


offsetWidth and height are wrong (too small). this seems to have been a
problem since at least 2006 (google found some old stuff) and causes the
popup to be rendered to the lower right into non existing space instead of
to the left or top where it might still fit. is it fixable? if yes, what
can i do?

i tried different browsers (firefox  crhome), but the error is the same.

-- 
You received 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: Viewport layout

2011-12-17 Thread Dennis Haupt
use firefox  firebug (a firefox plugin) or chrome. both offer very good
support if you want to know why something is there, and you can change
the styles and everything on the fly and see what happens. there is no
faster way to learn all the css/layout stuff that you will need.

Am 17.12.2011 09:21, schrieb Z.A Jafari:
  
 Hello there,
  
 i am a begginer to GWT/ExtGWT and when i run my first app,i have some
 gap on the top and right corner.please see the picture i have attached.
 I am using Viewport and BorderLayout.
  
 cheers
 Zolf
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



attach listeners/handlers to widget, then do some DOM-stuff - listeners gone?

2011-11-25 Thread Dennis Haupt
hi community,

i wrote a little logic-attacher in gwt that is called from hand written
javascript. i get an element by its id, wrap it in a flowpanel, wrap that
in a table, put some buttons in the table and attach mouseover 
clickhandlers to the buttons.

then i attach the whole thing to a div. everything works except the
handlers - they simply are never called.

when doing everything in puregwt (no native dom manipulation, just gwt
widgets  panels) it works fine. does moving elements in the dom tree
destroy the handlers? if yes, are they repairable?

-- 
You received 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: BigBill has a newbie question...

2011-11-25 Thread Dennis Haupt
same goes for intellij which

- doesn't have a gui builder
but
+ offers javascript support for inline javascript.



i advise reading some tutorials, too. the vogella one was pretty simple
and worked at my first try:

http://www.vogella.de/articles/GWT/article.html

Am 25.11.2011 17:06, schrieb Lukasz Plotnicki:
 Wouldn't it be easier to just use the eclipse GWT wizard for a new GWT
 project - which will create a well documented, simple
 project containing all the basic stuff which you can run and analyse and
 therefore understand quite quickly... (I'm assuming that you installed
 the google plugin for eclipse)
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-web-toolkit/-/EXwnkXUELp8J.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.


-- 

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



call static gwt method from js file?

2011-11-23 Thread Dennis Haupt
is there any way to call a static method of one of my gwt client classes
from pure js code? i'm not talking about calling a method from inline
javascript inside the gwt class, that works fine. the gwt class and the
calling js method are completely separate at compile time. at runtime, the
gwt has access to all the js code.

i'm a javascript noob, so maybe i'm missing an obvious solution.

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



jquery?

2011-10-25 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

hi there,

a coworker told me that jquery has a bunch of advantages over gwt and
that gwt offers pretty much nothing that jquery doesn't - and is going
to infest our source code if i can't stop him.
has anyone here experience with both? the last time some expert told
me to use technology X because it was 10x better than Y it turned out
that X had problems that were just not obvious at the beginning but
messed up everything once it was deeply integrated.

my question is: what would i loose if i switched from GWT to jquery?
i'd just use both since they don't exclude each other and use whatever
seems to be better on a case by case basis.




-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOpvz7AAoJENRtux+h35aGDHgQAK1OqSXIYPtRB3Bzl4+iWhje
KjnLNxHq/J/5AaMp88IOviyS0cIKb2rWsLpC1nJ2O/PDYCpds698eMabqSthXdIW
S8bMlq/menighftxl6KAxwE8NU2yjTi0i2ACAHcStxs8njuj76EveRJZEEneNc9H
q1HEw2zgFCMgPiBN1teo1OX+6cNVuhza9C8Gobt1hf7pLnWQNWJJm9qdAgpDEAUh
MqLYvSfzQ2i9ntRn8LDIzn2ylsxNBwGkJit1XxFL9XaLVFAcW0QRQMRV7Ulza5sU
VsT7Yx3WFcb9qIGA8rAt0p/4c6CtkjNdtQcZckj10aeOWTEGfEuPCoqIRl9ow83M
dSNHWm3z7lER/KdPBElICKKoCSO/e70BmBgjz9pJK49QywSh4sc+1K86gZcEojyz
ashfI563/qez1aNJY2MD1LW/tZaRjG6NhsqsS3ar3VcZCp2gmsSfhIzqxvClPUfL
CprIwuelNQfZgA7dKee1ntI7gWxdRKCrAN8Ls/aMTbQWzdslCekV3JBvl9B24TQL
gEFjog95lCmP3P+tacW2NK5NEPcxfJ31BL+pIOF18rrZyNK4+51mGAfBo6vAIuHN
jlo7aOuvwrLBt3eIUgW/Os486zv+4JQeF3RXb8Mc1Q+A8on7kOb1Ntm2lBNe59lX
WK1oC9arKyZBE/GJrG8w
=K3m8
-END PGP SIGNATURE-

-- 
You received 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: jquery?

2011-10-25 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

i' not interested in a flamewar like this, there are much better
topics (religion a vs religion b)

just wanted to gather some intel.

Am 25.10.2011 21:15, schrieb András Csányi:
 On 25 October 2011 20:57, Jeff Chimene jchim...@gmail.com wrote:
 On 10/25/2011 11:16 AM, Dennis Haupt wrote:
 hi there,
 
 a coworker told me that jquery has a bunch of advantages over
 gwt and that gwt offers pretty much nothing that jquery doesn't
 - and is going to infest our source code if i can't stop him.
 
 This is a typical first moment of a flame war. :)
 
 1) There's always the port of jQuery to GWT called GQuery. It
 does add some value, and seems to work well for the limited use
 I've made of it.
 
 2) GWT is much more than just widgets (as is jQuery). Does your 
 co-worker know that GWT provides the benefits of type-safe code,
 code optimization, leveraging IDEs for Java?
 
 3) jQuery is a fine library. At the end of the day, you're still
 writing and debugging pure JavaScript. As some Italians say, I'd
 rather pound on 'it' with large rocks.
 
 4) There's probably a happy medium here, somewhere. But, in my
 IMNSHO, if your team hasn't settled on a set of technology
 solutions, and management hasn't supported that decision, then
 you have other, more substantial issues.
 
 I have experience at both side. In my thesis I made a small php 
 framework which generate jQuery source code to avoid writing 
 javascript. If you do something like this ever you know this is
 could be a hard way. This was a hell itself for me. Debugging
 javascript It's a terrible thing even you have such a good
 application as firebug. I like jQuery because it's easy to use and
 fancy and etc, etc, etc. But, this is only a javascript library. By
 the way, my job is testing a huge website based on .NET technology
 and I hear every day they cursing my developer colleagues because
 they have to write javascript, html and C# code. And they have to
 debug it. Not to mention the fact you can't write junit tests for
 javascript. In my opinion here is the biggest advantage of gwt. You
 have to write only java code! From here you have all of advantage
 of using only one programming language, in this case java. For
 example, debugging, type safe, OOP and not to mention the IDEs. And
 top of that if you use other java technologies you have deal with
 only one programming language and as a consequence you can find
 employers easier, for example.
 


- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOpxFFAAoJENRtux+h35aGQz8P/0VXdUkfpsx+C1IaJuUc4Spq
ke5saoznTWQDai8KljPWohqXtjL34duJv4dRFEVvjccqWCCAE9uH3rdzod/gNrh7
+PHeHglYscRy1+Qyz3b7x3KQSIDC8Cr5fKq/drV24mWpbVUejfpCjVT+Q83Z7Qt+
snMDRTdchWNZJDbpNNDvEKDcHFQvK2sE6NpZed46cRNpuzG65yx1AHc4EA3aqAIe
ktbIdmZ4eQsas1+8nHJVz1V0/EK9Btd9otdAFdoUnzOP+tfN/R17smFOk99XKTIc
BEujNpFXZRPGv3wTgtuqs81x5FIo22qOmFMZZhhNRjH08dMVP+CoDPLzU/lL4X+O
gth/dXZt8j23dy/ZR9DUm7aiCJMwMDUUKD8jDmh8/ivwz75PX0iLvlV8d98bDRMB
lLZYPhfZIRNuBzo0RvZkRrcnaIXrIOTi4pr9WWUUK3vppC3d7T2X2sgUjl8gMJ+w
6kuPTx4mtSHFZuvqcOjuVUVq4iIUeHK7uEttSdRH2RfjTxwYiL+SBp8FSqjMWL4h
S6VbJ/ZIlRaJYndZbA5IZRUNIR7V/h8Vp5lwsysCIGWfvrBEYNzoCdZxMyNTw8os
yABfo2tIsSCYLEpZAlzeTCd7TjSLMlmFBsR+8l6Bn4Bv4BPXXTq59gd0G3DQPUUz
wIBF/roe/nfsfzgT9rE9
=9UAA
-END PGP SIGNATURE-

-- 
You received 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 advantages

2011-10-23 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

what about telling them why you chose to use the GWT? :)

as someone who just worked on a google maps integration (for 2 month)
using the GWT, i would say that the GWT gives the programmer a lot
more power in general, development speed and possibilities to debug
everything than any other technology that runs on the client that i've
seen so far.




Am 23.10.2011 15:17, schrieb Navindian:
 Hi
 
 We have decided to go with GWT and dropping the option of JSF for
 google maps application. I need to prepare a slide to support the
 same. Please suggest the parameters where GWT passes and JSF fails.
 It should be very generic such that Quality people appreciate it.
 
 thanks navajyothi
 
 -- You received 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.


- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOpFqoAAoJENRtux+h35aGSYQP/0yciaOpU/JhI/tocmeBASTD
MfVIBzUfwYgDpwZPSuZvHi12OKLdqo36VpPsJpgeSaemowMBn2rAUWQmfc5/9sVt
5+u0dXo/+BlepS5AE3VHaCKHBHJWG6+UV/7jA151yvEmbXd6iFpVq9y4P69+hjb1
K3vauIH0NkNb0QKNcvSZwEbhfTzehY2wHFRQ5481T1QFv4vT4rsoeJ4kvk1Iarsg
KO1syyuJrRqNGnjhU97ga8zhtgLt23/lISOMgG7ykY7CXz6l2FuqBZ/NWsVzG+M/
5J4AECBmoRU1BTfO8E8o43DX0JqOQAB+MhgrGCaX3EIAbp1VBpLZdZ6eKMifce1F
4gRGiKThCmWedHoDeN8utDN7DKab2J7+R547dcqhIg8M1z64tqd0AQOutyhmkuis
d9LKgA1We5R/MDTwJUFwu/qL+8ORxPfg2HwhBbCNv0BzHBrjh7Cmxm/ZtNr0YP2K
QVPyZCjbOgl9Eq1Nsg3z4UaYu5LJT66tci46AGgc4KbqhOw9ylc/5ubiSDRNgE6U
lESQYPrIXdRsJTRuUNuzy1KEkLikPNcLFwB5WK7GOTUZfET2pyk2DWV4IKzd7ltQ
7afOBO1hCoO/U9LzEdwOT8lFPy1HRVGJdA0oNBUpE6k3rBDOzlS6+kJ6AuC3X915
R9F9U+AsP0tMF6ESmzja
=Zfsk
-END PGP SIGNATURE-

-- 
You received 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: future of gwt who use gwt

2011-10-22 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

is there a good dart ide? no. question answered. :)

Am 22.10.2011 13:28, schrieb krespo:
 I asked it becouse I will start new project(single page app)
 scalable app, and I'm thinking when is it wort to start new  GWT
 project, or wait for some time(for example 5months) and start it
 with Dart ?
 
 -- You received this message because you are subscribed to the
 Google Groups Google Web Toolkit group. To view this discussion
 on the web visit 
 https://groups.google.com/d/msg/google-web-toolkit/-/iQTQiyaRzkUJ. 
 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.


- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOoqzcAAoJENRtux+h35aGx/YP/39fZP9QNQqYzYza80roPiys
UKvKjk2Ua7WBmqB5mv00lhVEkbH6k0kcJ2ihrs6MOBLfKqPIdknzTXhBujUhgmku
09f5/jkE6TYSpUe7sZbx6rjUrSgZ5o+dGip+JvCYhzoZ4KErMipxCXQKjUR1SWCE
KYKpaoFS6EnaJwVvW1Xc3paH056fDMX/oK1n3M+muqtnaozFTXlUTY78GzJSe+eE
FYwtFHqvf99baxwg3UlpBB4O7fubpfh4EESp8jHRDTfqd0+LoUtw5TOCLAkGXdS0
cFkxU5FH6sYoBJY34Oi/byq1urzz+uL/8uHHwMizwQJ2vnRdtNJpFay/0kkFDajb
1FwFsIY82ADjzNxBZPVpFNEKAI0/nb2/CGJNAbNWou/j1LyPS5xMOBuPEbSZJQDj
Q8T5bi0KOP1HTy6sGkWdb+Ah4QoNQ+BqRiiFu+r8r/Vyj9blgNpmtAztdPg1X2IU
LJ1W4trCQ+a25y/dn9RG68e6VTcN0T3m6pVnz58zEvh/T9YXECjgvIHzSLtl5cIC
rBWjZ2rH2s0hJzjPnwVPwRiu3s1NkPXbUJbtinkgq/zqcrX7QLsvELKiEy4CUlWZ
5VKE9xa9GAzqwYXWBLuYaPeUF1eU7H4yDg1HhKTzAav0CyOPYLWYGu33f3Fjaae5
Ri9BwYMWLUa/1YiTCUK8
=n6PZ
-END PGP SIGNATURE-

-- 
You received 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: native callback going into the eternal void

2011-10-14 Thread Dennis Haupt
that was it. makes sense.

2011/10/13 Tomasz Gawel tomaszga...@op.pl

 use double ()()

 @com.webfair.gwt.components.client.CalendarBox::test() is only the
 signature of method
 to call it use @com.webfair.gwt.components.client.CalendarBox::test()
 ();

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



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



native callback going into the eternal void

2011-10-13 Thread Dennis Haupt
hi,

i am using a javascript calendar component. to be notified on changes, i
want to pass a callback function to it:

private native void setup(CalendarBox self, String displayAreaId, String
inputFieldId, String buttonId,
 String dateString,
 String format) /*-{
function delegate() {
@com.webfair.gwt.components.client.CalendarBox::test()
se...@com.webfair.gwt.components.client.CalendarBox
::fireDateChangedEventFromJS()
};

$wnd.Calendar.setup({
displayArea:displayAreaId,
inputField:inputFieldId,
daFormat:format,
ifFormat:'%d.%m.%Y',
date:dateString,
button:buttonId,
singleClick:true,
cache:true,
onUpdate : delegate
});
}-*/;

in my javascript-debugger i can see that delegate is executed properly,
but neither my test nor my actual listener method are called. there is no
error message and no exception.
i thought maybe it doesn't work in hosted mode, but in native mode - still
nothing.

here's the java source:

private static void test() {
LOGGER.info(test called);
System.out.println();
}

private void fireDateChangedEventFromJS() {
LOGGER.info(date changed);
if (isAttached()  setupDone) {
LOGGER.info(firing event);
fireDateChangedEvent();
}
}

any ideas?

-- 
You received 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: Development Mode Hangs

2011-10-05 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 05.10.2011 23:08, schrieb Steve:
 I am trying to load a GWT project to run in development mode
 within Eclipse.  It worked fine for a while, but now it's stuck.
 
 In the Development Mode tab, I get the message Development mode
 is loading... and Waiting for launch URLs.  This remains
 indefinitely until I finally shut down the process.  When I change
 the logging level to DEBUG I see that it goes to Loading
 modules and then sticks on the lone module in my project.
 
 It is a very small project, literally just 3 small panels.  When I 
 build the WAR and deploy it within JBoss, it runs fine.  But when
 I try to debug, it just hangs.
 
 Anybody have any idea of where I can try to look to figure out
 what's happening?  Thanks in advance!
 
run it in debug mode (java debugger), wait for it to get stuck, press
pause and look at the threads. you should see what they are doing.

a simple thread dump might also help

- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOjM18AAoJENRtux+h35aGJKcP/19EdhCZC+fUKGcVMb3Nc3jf
iXcJdoF6fTxKW5KCGdBLjWXta62HV4Y90DQaAO1soxWQcW1F4JQ89mCDKvkq8tUc
ly0KzjKjzCV8jplARyToBhQqWkEtJvYkoQl/rlhag2V13M08rlskv5IJD8byrsxO
RgdEy9bJbhf1ZVmK9NNR07IGIW8uPg8JVrqS/J22QTgm6o4ZM/RLhYmncZDAY58R
L6GFMyuM805TP/Ry40cyzAZLEUi1lX7yEeXU/zbA2EnAMCGo+Gv5YDUKUjBgLjv6
ul0XG2h274Qqguz8S8P1UGz9Gxi76Atf/61FAOl2hAHREu+CkYtet27HmGAog5No
D7PMRopCbsjNy8ToZQYVvlzyOoc9maSnM1/FFKLBnk9LdQ4F9Vrj4A/0cHIlU03F
ndBdv/tMAVeTPv+wfiqIuPrmv1WzQto7bNToyEfX7R1NvYVhTJGHxKksXACAZlWm
B0yvX1qfRYoRySLh6jjFyzYSeleJ7e45+s21Ei4OmusAfLUylz5O9V5tAI+J2sJa
9Lpwzwzke4WcC2cfQb44KkBzERMJWCwteo9GjcDYeeig69zW99uA8cazn8kjr8Ay
MeybC6456Zn/Q3VeZlWzKN/lc0utJQbU1xMYyMnkvkWGFR0LCsgcNYX2QhcPM/fN
faMAdgY5VyhO1qD4vGul
=aLT/
-END PGP SIGNATURE-

-- 
You received 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 Tutorial, and then ? How to learn reald world GWT development

2011-10-04 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

i'd say the best way to learn it is to do something with it. doesn't
really matter what it is. you'll stumble over a lot of small random
problems (i did) that are written down nowhere, but the answers are
scattered everywhere.

Am 04.10.2011 07:51, schrieb Ashton Thomas:
 This may help from a higher level:
 http://ashtonthomas.posterous.com/building-a-gwt-framework
 
 -- You received this message because you are subscribed to the
 Google Groups Google Web Toolkit group. To view this discussion
 on the web visit 
 https://groups.google.com/d/msg/google-web-toolkit/-/pACBnsveQbkJ. 
 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.


- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOiqQRAAoJENRtux+h35aGOccQAJNk6al5mBu5udAKtGClPsWq
UrVwEvtao2fNQAi9EVm/O8Bt3rmvqOv9U3wnHJ4N1ABESW3zGz5An50v4PUvwvxv
DuE4ENWJvHDnPBofGYZKjLaN1oRobZbfCrp5xTAnj8keeg+FMigTIb6IW2rC0tCV
d+nA9CmQlvJkYmYDavBOLcH2sEwRBXav9aoMK8xU4k/dXc5XVjcCHTqXYwypf/4r
zDbD+jZ3FMsYFDWxAJ7pvtL390XoVubkgeDHPz4G/g1vQUG1iq1QTXX36Ibz2wLA
c/ZacPOi3DVnQ0zapdvXb3gzlMaJxN/bX/69J9huzSkraIEbtEr/9PZUBEOmch8y
jgtRK6vbUuJADER3KypZAGBnSGBpoDJ6oBT3GMzpW3LaY+p95JBcA2MYUJFIxQGD
bLy5kOGqCFfRx6N86pFLrEeqb345bO4/d27cfNnNCx0PBXC1oy2zLBsZnbL0O6qj
QeIu/Rccf7Urg0NifvdB7RinO0Ii8lQL+ICzgwW9auDGBhj9Lz+z0iWo3GIzW2XA
PTMQFLVNCJ/NymmoSNpYQe8Z1E2ygSP3iQj4MpmOB4tRSKEPul9S+dLWItEy7oQV
LXRI1uYa8lBanIZPNQaUIPeptfGzl4Oaug+BVAyvlzFHQ4S04mpTlO8ISqnyT7lV
MfO6WhU8gDGCULIQt1K0
=iNIM
-END PGP SIGNATURE-

-- 
You received 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: Firefox v. Dev Plugin

2011-10-03 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 03.10.2011 16:19, schrieb Gregory Dougherty:
 For those of us who debug our GWT apps in Firefox, and would kind
 of like to keep up to date on Firefox releases, could someone from
 Google give a quick rundown on why it is that each of the last
 three (four ?) Firefox releases has broken the Dev Plugin,
 apparently each in new ways?  Are the people working of Firefox
 just doing stupid things? Does the GWT Developer Plugin just assume
 that it must be incompatible with any X+1.0 release?
 
 Why is it that the Developer Plugin for Firefox only seems to get 
 cleared for the current version of Firefox less than a week
 before the next (hyper critical, be sure to replace your previous
 version) version comes out?
 
 TIA,
 
 Greg
 

i ignore the newest firefox release for exactly this reason

- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOif8QAAoJENRtux+h35aGmZUQAIZoo32AcjtHDzRpYRI+WaXo
qOwkqTMedBtYH0r82P8MV4iv6FDxi89jBtFMqO1feNV5Pu35AdIVOwG8bEo1/7GB
GU64qGOSLJ0VoXpq2w4AVzkdoJ+QTwNelb7HPtIctJ058WtPMcfBN9yjIFc1BmnS
F0OECB5zCYFMpaelHmIYeknThSy82qEK/iyPrK2ZVzVMTtp4McqzNHtIc1e1MRf5
Qfz9im7d3cQ5pp6vymi/YbCBgIH8F564yo4jDQeruWr91wbX90RSkR/djvQFEKCE
GJmQ6VIpIobGAouTftGNvinZWvZpVoJiXrxSvUIAFuZO8y/oCPHutfee+w/AaKsR
PjWxtxur+Ly53UawGvyTm9ldnoz+KyeXSxjUFeTnUjXFehae688Fj2sPZb8wTwVv
qEBXaW/qO9Rdt0nJRhJqOF4fiuoXIxf9MIMfSWkRxtgBSnOEepDWK+dXLMDCBFGH
uzmRB75r890km/f1gcJPXgc2e2USZdlDh4/Zvn6IDikbQYpAFCDcVA+WcUEJ1Sdc
c2QCaIOksUIbVWVEG6gtL+qFt4avlhLAfIW+Xx+wgdDFMzrX6tv4BMZPtlsEUB9k
C2BZzHpKt6n0GRzuAR3LUmkqM62naVh1WSFjYdWM+R2beVcMOejatC6Lnb+tmGxf
ngjWqCpVid9/oyCGteOi
=A1sD
-END PGP SIGNATURE-

-- 
You received 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: Any decent java.util.Calendar, Locale, TimeZone emulation?

2011-09-30 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

no. i tried, believe me.

Am 30.09.2011 23:31, schrieb David Given:
 Does anyone know of any decent libraries to emulate the above
 classes? So far I've found this:
 
 http://code.google.com/p/gwt-calendar-class/
 
 ...but it doesn't appear to be quite complete and I'm having
 trouble making it work. Anyone know of anything else?
 
 (This is to make existing code work, so switching to a different
 date library won't help, I'm afraid.)
 


- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOhjYaAAoJENRtux+h35aGawEP/A6as/MEcaYzdHUsmn7zFGr6
u958Ewmrbx89kaklzsACTbGZ6OC1PNwaq/WYI7Zx/MEwl3xlJehICkATr5IJ3lHM
IbjNkQnvlUjiIzVK5bzD5kFAjMK8Fm14SoUBLhIBoFA/fDMFKpQCtUoKP1vkip6D
dY5ISiE/kMkJkx9cYMcjgCO0RICAGpdOm/KZ3C/W2ADHQzsXlfYXVmkD/9mzg9WR
QZw8ddo7SNEoytQ+cqT0QCRorhYpuHzHklyYY4wV0wPEl87BgyFefN5M9/U0Uh7Q
qK8xgAqVxzaunjrsrqXAkaf/gsAzgOoYE+KTdL1aAeZAvNBARBTNkrHv1ZXzHuQ+
ECoy4Gqr9f9v8EXQRIC+ItOxXBDbDpTMRvmeIWYWNIB1QAuqPtcM5m1UES48cRNe
5h6tK9pOXdIPi/2wzYuwj8ekTOfniENvvZ1WrU6Vfa96dBCOFjQY+iigHRXSfvu8
bjOReZb2DFWrMnb4SfuIyIZNnc+ww5cAU/s8T7BATieWEOm72rBN3Y2rXTbZrCRi
7sTkZaqc3WZfYcVGeVwckel/piYyitLMThhLr1Sfx7+jZ2ZcJvU3AYv6aPfe2b84
GvNfr/Zk0N3/gqK5eErq+yp1O4/74Um4lMK0RjcsTj5SIYxSYfDNxOu1V2Gggihs
CJ6QqmcC5diCgWiKAhuJ
=E1TZ
-END PGP SIGNATURE-

-- 
You received 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: Random SerializationException

2011-09-25 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

you don't send the same data the second time. my experience says that
this can have a thousand reasons which are not even hinted at by the
error message.
something in your class makes the gwt compiler think that it cannot be
serialized or the gwt compiler assumes the class is never serialized
(it's generally confused by generics)

Am 25.09.2011 20:57, schrieb Maverick:
 Hi all I'm experiencing a problem that seems pretty absurd: I have
 a complex GWT app, which spans over several projects; from a while
 ago (not sure when it started exactly) the app is loaded
 successfully and a data structure is sent over RPC, but, if I
 reload the page, the *same* RPC call fails with this exception:
 
 com.google.gwt.user.client.rpc.StatusCodeException: 500 The call 
 failed on the server; see server log for details at 
 com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:

 
209)
 at 
 com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:

 
287)
 at com.google.gwt.http.client.RequestBuilder 
 $1.onReadyStateChange(RequestBuilder.java:395) at
 sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:

 
25)
 at java.lang.reflect.Method.invoke(Method.java:597) at
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java: 
 103) at
 com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:

 
71)
 at 
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:

 
167)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.reactToMessagesWhileWaitingForReturn(BrowserChannelServer.java:

 
326)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:

 
207)
 at 
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:

 
132)
 at
 com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:

 
561)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:

 
269)
 at 
 com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:

 
91)
 at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at
 com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) at
 sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:

 
25)
 at java.lang.reflect.Method.invoke(Method.java:597) at
 com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java: 
 103) at
 com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:

 
71)
 at 
 com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:

 
167)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:

 
281)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:

 
531)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:

 
352)
 at java.lang.Thread.run(Thread.java:680)
 
 
 And in the exception message:
 
 com.google.gwt.user.client.rpc.SerializationException: Type 
 'com.conceptle.istar.shared.ConceptualModelStatus' 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.: instance = 
 com.conceptle.istar.shared.ConceptualModelStatus@5afecc75 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:

 
615)
 at 
 com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:

 
126)
 at
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter

 
$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:

 
535)
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeClass(ServerSerializationStreamWriter.java:

 
705)
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:

 
744)
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:

 
617)
 at 
 com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:

 
126)
 at
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter

 
$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
 at 
 com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:

 
535)
 at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:616) 
 at 
 

set element name in ie/quirks mode

2011-09-09 Thread Dennis Haupt
hi,

i've noticed that

public static void setName(final Widget widget, final String name) {
widget.getElement().setAttribute(name, name);
}

does not work in IE  quirks mode. how should i do it?

-- 
You received 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 development is UNBEARABLY slow

2011-09-05 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

i agree it's slow, but not THAT slow. the hosted mode is up to 10x
slower than the javascript mode (for me)
i assume it to be the gwt server - browser overhead for native
javascript calls

Am 05.09.2011 19:26, schrieb John Wheeler:
 The cross-browser time-savings are completely diminished when you
 take into account OOPHM or hosted mode development in ANY of the
 browsers with ALL of the optimizations on stackoverflow, in the
 newsgroups, etc. It is incredibly slow and frustrating.
 
 People considering GWT development need to know that the hosted
 mode and out of process plugins are essentially worthless because
 once your app gets to one or two screens, you'll be deploying to
 live everytime you want to test. This just sucks for app engine
 apps which take over a minute to deploy. I don't like having to
 wait 5 minutes for compile/test cycles.
 
 Seriously, it takes 5 seconds for a button to click. Do you guys
 plan on doing anything about it ever?
 
 -- You received this message because you are subscribed to the
 Google Groups Google Web Toolkit group. To view this discussion
 on the web visit 
 https://groups.google.com/d/msg/google-web-toolkit/-/q_Es5YL0ggcJ. 
 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.


- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOZQrxAAoJENRtux+h35aGTqcP/1J3WEwp5IvPg8ncpCuEnH0d
ospQW4xCp+XzPXRFiroihSzOyTfYGC2eDf1lODdhhil4ldYY5oxX2DWpsr7E4yJL
DzYlkU1zHpyjCBzalhbEoZRtSfQ7rJiFn+HienyQatLiV9YfJbbS4muRQeLp1L7q
oyKOtTEVPgESaBlAZIfZL8d9EUsalzwBlBZlBUrat1TscITltiMbhs1Ar0BMzA0W
0ZcUPun87nkoCjIF3xHJMIGvt1gRFQja/G0iKcr2zl8erhkmvql1RycnvoB5gjOV
y8k3NMMR8xLsndNK6Sq5QvDRDrvJxyxL7jVYxCIS89M+Fv369E8PkKZayvjqcPia
H2nGv1Sg9JSXb5Ty0gXvTrzpZxrJVb74KK1TELoD3nF0tBcIfGIbQPFHx1scX+Kx
J19mH56PzkqVrTV+WcwDFgIcTT43fLePTqXCI3+fy99LXLTAfSZuioo7mmovNJT0
DPE9BzTZa1s8jrHCnl6Wm1ZsaEaXphbfHCpsdqisKu2GIuVILg6VxUxcG2ICnbZL
Jw37aPuaQTw+RPfGUR9SJsCtx4ITd2p9zJyLEeN4eLobffaYlhxMAtTKos9Ymxkq
rl2kS9dvdqn/RWEAjMJsu/eC6vFiWbqVYPqrEC+m0an0DQ9mNwAi0BUjytnTPiIO
4Tp42ofBd2bn5KbastBP
=p597
-END PGP SIGNATURE-

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



number only text component

2011-08-14 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

does it exist? if not, how can i fake one?
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOR7XjAAoJENRtux+h35aGWCwQAMOLbc3ibdsm8gnp24S3SsoQ
Wv0+TDEJXUonu8+7wfSM9d5qRGIw0MRIZJcMNeqelidx8oWdPmXw68fUVwLuMgc0
oXieYzCfbZA5LyciZEnhWTeDzUo3PiboW6s3+EPmChO69V3HGWKl2dft2Ilr1STT
zJLIEkvgt1U0JXUAjg7Vg1Ep7WN6RIUkaBj0t+Xnz3xJhPG6IjDXgDXvzg4p0qWN
lhTynfvNAm6a5ccZsdr5qo16GlXpk59H7E1zVPMzPh1KyJJm/3c66xCBsFf9HJsq
8uzcO2C1zNaGmi10MiirAZvIdXITAURS3ittspVmgF6ipSpYUvUf/kMrfrlf/Dk+
9GsOzEoxVrTOLQka6BgoLhDxBlGW/qBKembpRTcAYBlbDMOBaZGGYDhzrgbppOmW
sXwn8I1v1SPJwdl8gYd2KhJYgpIoJUo0FvMCGu2WRio7KcOFbrGtvo7r81uRmvpZ
DqDVGqKOEcGveJa6LB7C4ccA+oqUTZtT1nxRuY/ai4kT5mq82j6WkcNnDCSuNEXb
+eOEIVbLzUvLD7wdXPj57khpKQfhsZKhDdvdDkl99rpb815V51sdE9kIhhWmNQ8H
e5EU5RafgEX5TxVMBWf6Zjilu346ULL92W5IaqQoQvxnygZ1f4JWBjpc15G7BQiN
uvfoXW2jr0GsBWbPOd4V
=A41c
-END PGP SIGNATURE-

-- 
You received 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: New computer for compiling gwt

2011-08-14 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

random suggestion: take a look at intellij idea. it's pretty good.

Am 14.08.2011 16:58, schrieb Navindian:
 I am also looking for a new laptop with 8 gb ram.. My requirements:
 
 1.GWT 2.3 2. Spring 3.0 3. JBoss 5.1 4. Eclipse 3.6
 
 Which dell laptop bests suits this requirement. I am looking at the 
 Dell Latitude series. I already hold latitude d630 and wish to go
 for a new laptop.
 
 
 On Sun, Aug 14, 2011 at 6:29 PM, Brendan Doherty 
 bren...@propertysimplified.com 
 mailto:bren...@propertysimplified.com wrote:
 
 I'm looking at upgrading my development computer, as my old Athlon
 64 4200+ is getting too slow for me.
 
 For the cpu I'm considering the following two intel i7 processors. 
 Does anyone have some advice on which way to go?
 
 Intel Core i7 980 3.33GHz Socket 1366 6-core (12 threads) Intel Core 
 i7 2600K 3.4GHz Socket 1155 4-core (8 threads)
 
 Most of the information I can find is targeted for gamers (which is 
 not me - unless you count angry birds on my android phone). Most of 
 the gamers are choosing the 2600k as it's better value for gaming 
 performance.
 
 I'm thinking that the 4 extra hyper-threads will help compile my 
 permutations much faster.
 
 Your thoughts?
 
 -- You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group. To view this discussion on the web
 visit 
 https://groups.google.com/d/msg/google-web-toolkit/-/tWu9X04XZSMJ.
 To post to this group, send email to 
 google-web-toolkit@googlegroups.com 
 mailto:google-web-toolkit@googlegroups.com. To unsubscribe from 
 this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com 
 mailto:google-web-toolkit%2bunsubscr...@googlegroups.com. For more 
 options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.
 
 
 -- You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group. To post to this group, send email
 to google-web-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.


- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOSAVhAAoJENRtux+h35aGBiMP/2Nn6ocZ4L9xX0fSSu/GmmVv
DfthufWJ9FOVTt+Sw8Td2R5141aUy8v9f9Y0JAWsMhOvkepZAZpDyP5/zBhm3sml
EG6Ud4bCeUZXrb7GxSxNX8wX4t7fOIUwvEw8JcYEUMuLhr2C8IXIiNwpSc6X7LL2
AF7S9SQJqLqVtkZ9rz8fc3Q5n2/L+1TDjSt/19dX64Y7g79OmqkFhBLPEkCubq0W
lNsIhH2jqA9J8ICnGj/jDzIppKkJe3u3fwN5sUaJBZFEW42/k6uscHymzivLbK8N
xeHVGgCe7BOnqA5JiQjhTc4ts5hjT26q3OqpURvHyu6KiWQxV5kooJ4wnB66bCFk
ACtm92MZNnJ480s5PXNjk/NIZHsnSqN1GEMCxF8QczdVYoyQhfKQ9mYKK/Xzzw37
xNdIryTOacdURKAMTTTOR0B06KRrvKsXEj5S7zGp1eXYnkeJO2obusb3CU3kFTow
V8s+e+6irbN/YU8NcNmPXhZk5T4p5SbKQ4K9LwW/PHNqAkEdyqKNN30KOpZLNBo+
DihFX1HPReV4W7nFtA4Pxl3MxGDl2yPzc6rEY7n8ciqAqoDgIe9IHuwFq2XVJfRX
8kKgByyxEjEz7eYWjYchbl7jdCLFpaZVmbyy7AdrX0lCweS7CofEZVQaRIb2OFhC
s1LbSTsNDD5IfpH3rXue
=knr4
-END PGP SIGNATURE-

-- 
You received 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: Is it possible to manualy edit the SerializationPolicy?

2011-08-14 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

if you don't have the source, you're screwed. if you have it, the
workaround will work.

Am 14.08.2011 19:29, schrieb Simson:
 Hello,
 
 I'm using GWT 2.3.0 with objectdb 2.2.8. Since objectdb uses proxy 
 classes for collections, maps and dates (which are subclasses of the 
 original classes) i have problems receiving data from the database 
 because those classes are not on the whitelist of GWTs 
 SerializationPolicy. So i get the following error:
 
 com.google.gwt.user.client.rpc.SerializationException: Type 
 'objectdb.java.util.ArrayList' 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.
 
 java.util.ArrayList is on the whitelist (see the *.gwt.rpc file) but 
 objectdb.java.util.ArrayList is not.
 
 I found a workaround for getting types on the list: 
 http://stackoverflow.com/questions/138099/how-do-i-add-a-type-to-gwts-serialization-policy-whitelist

 
But for me this does not work because I dont have
 objectdb.java.util.ArrayList classfile itself.
 
 Is there any posiibility to get those classes onto the list manualy?
 
 Thanks!
 
 Simson
 


- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOSBa/AAoJENRtux+h35aGZVIP/280ntZ41dzPiPrHQnrkt3qt
aLqGKBCFGbytEgYkDR4ja8kAkvmJhoMUI7eiZMrdkVWWuR3+sIhYs+xmfXp/yJP3
+Cd9EpYM1P7/BYnP5A6AlXinwTVfGW5YxBn/jwrm0ljXebtIpLS+fKIcTVYZ2Hp5
rRD1JwMQiVJlx0QJZufMABhrb9xxhFwGNCxXdio9p/OgYR+9M3+Kcj2UKvSFIKqG
fJSiJLFobjZfXH9AQDk9OkFy4X5xEM+KOoeAUNjDjOeHL4x64ngaNKf8N0N0phCh
aBhnYHmhrzM00jP7cuV7ObWqbj3tbflXgyW9xnh5s2i1j2ekqeO2lwamZiIU2Y60
8au0C9MqizV/u2TKZdZ9miAv/02lChzgqBBzg+j9nxpIp62VFk6qmeXpTATL+3/D
LrDqasq5Otz3XP3jY+0giuojqj4LS6yP7TOumVHOepcJTYPRs3Amd37ciAhV5UqC
9MA4+8ljVUHNTAcLy/mff5gLfn5Obd7lChpvMbBSnvsKQgSclPRKVD+cxtGSGFlS
UG//imLb7eCLqOmXqRTjMrr1Sl1wiOuK4ve4rdPgw8WWtketniZmxrXa9J+fYmFU
ih13oh2lYSJ7MPiJ+nahXnrSxbf3NYsT8m+1Y0vbQQe4u9iccHpXGNhr3ddVtMm/
AnBTPW7nsNReZOwEosSs
=IunQ
-END PGP SIGNATURE-

-- 
You received 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: number only text component

2011-08-14 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

yes.

Am 14.08.2011 20:33, schrieb ciosbel:
 Do you men a textbox-like wih only numbers allowed? Checkout
 IntegerBox and DoubleBox.
 
 -- You received this message because you are subscribed to the
 Google Groups Google Web Toolkit group. To view this discussion on
 the web visit 
 https://groups.google.com/d/msg/google-web-toolkit/-/FRzOfV6s7xAJ. 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.


- -- 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOSBbUAAoJENRtux+h35aGgo0QANOc6msOQKxKuucXpLEBephl
6aujgO6v4HzuMm5Me0nt7blZZVggaBrNIjl9QBSd1WaQi12aFVvcuhYocTfUPKF2
U+fHvypwmKgxKaZmrn5JqaU4CEqstkDJSfgHou3btCCcTrS4zNR2F+TIYN/mIOtS
B8ftZIi/SsgoIM4ZSVEw2W8bqa7IJyUc5/Um6ayZ5I3vKE/z9QuldPsyEEwx1MMn
WmALdW75gnHonopyefjJpt9nMnPb2MoZ1hqaZ8wJpOcs1n9/ENLkV9ByJg93T5eI
46BPADhygIZCoD/M+F7rPlsgsltlUgCdBydFHHEvQQJvL6FL8DSTfn6UEiOab1g3
577PrK60eG8VWzcHPmfMwB8UBsYnLLUu4K3gImbdjYnefsPwIGVk6vfGhXsyC7Kg
wLTByN7sCvAKl2WzISd5/VY421ozY87l7Ov9diMoxYDGMLcgB8zTRaFoJ8v+bc5f
cU6Y05miGGtvVnBBA/fIrKU3eQuCYdjfqVpT2bCavDHjlOLrrY+DJxE6HDtM6qwx
Akcuwlz91Hiywq/7EBNTfqUy22HiKmSvrXL60HjH1BfDbEpgyiQXeJwiX+2TZTMO
+l1tdcAYN4wVHKS1CsJqihTZKRdO/umPAof9M7kSsvlToLYWml3ZYX8PWLeyuvZk
hTS3NaO01S74dsxD79Eu
=Dwo1
-END PGP SIGNATURE-

-- 
You received 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 access the real session?

2011-08-12 Thread Dennis Haupt
i tried to save an attribute via an async servlet call to get it later from
another page. i did it like this:

class x extends remoteserviceservlet
...
final Object attribute =
getThreadLocalRequest().getSession().getAttribute(variableName);


but this doesn't work. the result seems to depend on a mysterious something.
i suspect it being the thread itself. if i store something on page a, it's
not visible in page b's session. if i return to page a, it's there again.
sometimes. how can i save attributes in a way that stores them in the real
session across all pages?

is the session i get via getThreadLocalRequest() depending in the current
thread? if yes how to get the actual session?

-- 
You received 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 Compiler Errors

2011-08-12 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

drive full?

Am 12.08.2011 20:38, schrieb Magno Machado:
 Isn't there any other process that may be blocking the folder/files?
 
 On Fri, Aug 12, 2011 at 1:53 PM, Matthias Rauer 
 rauer1...@googlemail.com mailto:rauer1...@googlemail.com wrote:
 
 Yes, you are right,there are some classes you cannot use on client 
 side. But in this case I ll get another compile exception.
 
 The other team member haven't these problems, that I have :-( They
 use Windows 7 64-bit.
 
 
 On 11 Aug., 15:44, Juan Pablo Gardella gardellajuanpa...@gmail.com 
 mailto:gardellajuanpa...@gmail.com wrote:
 At first, I think you can't use File classes in GWT (client side).
 
 2011/8/11 Matthias Rauer rauer1...@googlemail.com
 mailto:rauer1...@googlemail.com Hello,
 
 I am getting compile errors. Looks like caching or synchronize 
 problems. [java] Caused by: javax.imageio.IIOException: Can't
 create cache file! [java] at 
 javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:397) 
 [java] at javax.imageio.ImageIO.write(ImageIO.java:1558) 
 [java] ... 35 more [java] Caused by:
 java.io.FileNotFoundException: Z: \imageio2197704682044189508.tmp
 (Der Prozess kann nicht auf die
 Datei
 zugreifen, da sie von einem anderen Prozess verwendet wird) 
 [java] at java.io.RandomAccessFile.open(Native Method) [java]
 at
 java.io.RandomAccessFile.init(RandomAccessFile.java:
 212) [java] at
 
 
 javax.imageio.stream.FileCacheImageOutputStream.init(FileCacheImageOutput­Stream.java:

 
 73)
 [java] at
 
 
 com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.createOutputStreamInst­ance(OutputStreamImageOutputStreamSpi.java:

 
 50)
 [java] at 
 javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:393) 
 [java] ... 36 more
 
 ---
 
 C:\...\build\build.xml:459: IOException in
 C:\...\build\tmp\web\WEB-INF
 \config\coreReportInvoiceConfig.xml -
 java.io.FileNotFoundException:C:
 \...build\tmp\web\WEB-INF\config\rep1473609419171320889.tmp (Der 
 Prozess kann nicht auf die Datei zugreifen, da sie von einem
 anderen Prozess verwendet wird) in english: process cannot access
 file, another process uses
 this file
 
 --- same exception again... but different file
 
 [java] Caused by: javax.imageio.IIOException: Can't create cache 
 file! [java] at 
 javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:397) 
 [java] at javax.imageio.ImageIO.write(ImageIO.java:1558) 
 [java] ... 35 more [java] Caused by:
 java.io.FileNotFoundException: Z: \imageio5137244568657246113.tmp
 (Der Prozess kann nicht auf die
 Datei
 zugreifen, da sie von einem anderen Prozess verwendet wird) 
 [java] at java.io.RandomAccessFile.open(Native Method) [java]
 at
 java.io.RandomAccessFile.init(RandomAccessFile.java:
 212) [java] at
 
 
 javax.imageio.stream.FileCacheImageOutputStream.init(FileCacheImageOutput­Stream.java:

 
 73)
 [java] at
 
 
 com.sun.imageio.spi.OutputStreamImageOutputStreamSpi.createOutputStreamInst­ance(OutputStreamImageOutputStreamSpi.java:

 
 50)
 [java] at 
 javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:393) 
 [java] ... 36 more ---
 
 If I compile again and again, I got different exceptions, like
 these:
 
 I already changed the extra and workDir to an RamDisk, deleted
 these directories before compiling, Deleted these directories
 before the build, but got same errors again. I also changed
 number of
 workers to
 1.
 
 Any suggestions?
 
 Greetings, Matthias
 
 -- You received 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 
 mailto:google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com
 mailto:google-web-toolkit%2bunsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.
 
 -- You received this message because you are subscribed to the
 Google Groups Google Web Toolkit group. To post to this group, send
 email to google-web-toolkit@googlegroups.com 
 mailto:google-web-toolkit@googlegroups.com. To unsubscribe from
 this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com 
 mailto:google-web-toolkit%2bunsubscr...@googlegroups.com. For more
 options, visit this group at 
 http://groups.google.com/group/google-web-toolkit?hl=en.
 
 
 
 
 -- Magno Machado Paulo http://blog.magnomachado.com.br 
 http://code.google.com/p/emballo/
 
 -- You received 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.


- -- 
Mit freundlichen Grüßen,

Dennis Haupt

Re: class suddenly no longer serializable

2011-08-08 Thread Dennis Haupt
the error message explicitly states that class x is not in the
deserializationwhitelist.
i've experiences this before with another class (a simple enum, not fields
at all)

2011/8/8 Jeff Larsen larse...@gmail.com

 Does your class contain a Collection where you could be putting an object
 that is not serializable?

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


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



  1   2   >