Re: SDM incremental compiles and generators

2014-10-15 Thread Gal Dolber
I kept digging on this issue. I was wrong before, its not that the
presenters reference the injector, the problem is that on every recompile
gwt add the entry point and trace all the reachable classes on the project.
My entry point has the reference to the injector and my injector has a
reference to most presenters on the project.
I've been trying to hack on this to avoid recompiling all the generated
classes, but I can't get it to work. Any insight from the team is welcome.

On Wed, Oct 15, 2014 at 11:05 AM, Guus Bloemsma g...@bloemsma.net wrote:

 Why do you need the injector? I'm not trying to be a smartass, just
 curious.

 cheers, Guus




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


SDM incremental compiles and generators

2014-10-14 Thread Gal Dolber
I noticed that SDM incremental compiles are always running gwt generators.
I'm using gin and all my controllers have a reference to the gin injector.
After the SDM gets to the injector it goes on to regenerate all my
presenters and most dependencies.
My minimal refresh time right now is 13s, When the actual changes seem to
take less than a second to refresh (when I make them on a class that don't
reference the gin injector).
I made my generators incremental, but this didn't make an improvement.

Is there anything I can to avoid 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.


Re: SDM incremental compiles and generators

2014-10-14 Thread Gal Dolber
That looks promising!

On Tue, Oct 14, 2014 at 4:11 PM, Jens jens.nehlme...@gmail.com wrote:

 As a developer probably not. There are commits in GWT to improve recompile
 times when generators run that produce lots of output, e.g.
 https://gwt.googlesource.com/gwt/+/11b1cdcf38cacbccfb64e55bcd3a949b61528436

 In our app we don't have references to the Ginjector except for
 onModuleLoad(). Recompiles vary from 3-15 seconds depending on the changes
 we make.

 Maybe Google's Dagger fork performs better with GWT 2.7 SDM, but Dagger
 2.0 hasn't been released yet.

 -- 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/d/optout.


Re: SDM incremental compiles and generators

2014-10-14 Thread Gal Dolber
Oh, its an old change

On Tue, Oct 14, 2014 at 4:22 PM, Gal Dolber g...@dolber.com wrote:

 That looks promising!

 On Tue, Oct 14, 2014 at 4:11 PM, Jens jens.nehlme...@gmail.com wrote:

 As a developer probably not. There are commits in GWT to improve
 recompile times when generators run that produce lots of output, e.g.
 https://gwt.googlesource.com/gwt/+/11b1cdcf38cacbccfb64e55bcd3a949b61528436

 In our app we don't have references to the Ginjector except for
 onModuleLoad(). Recompiles vary from 3-15 seconds depending on the changes
 we make.

 Maybe Google's Dagger fork performs better with GWT 2.7 SDM, but Dagger
 2.0 hasn't been released yet.

 -- 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/d/optout.


Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-12 Thread Gal Dolber
Great news! thanks to all the team for all the work on SDM, did the
migration to 2.7 last week, brought me the smile again while working with
GWT.

On Sun, Oct 12, 2014 at 5:35 AM, Thomas Broyer t.bro...@gmail.com wrote:

 Hi all,

 If you're using 2.7.0-SNAPSHOT, your build might start failing as of today
 as we started unbundling dependencies from gwt-dev as published to the
 Central Repository.

 java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor


 If you get this error, be sure to also update your gwt-maven-plugin to the
 latest 2.7.0-SNAPSHOT too.

 If that doesn't work, add gwt-dev or (better) gwt-codeserver as a project
 dependency (and report the problem to
 https://groups.google.com/d/forum/codehaus-mojo-gwt-maven-plugin-users).
 This is likely to become the preferred way to use GWT in the future, and
 the gwt-maven-plugin might stop automatically adding GWT deps to the
 classpath in gwt:compile or gwt:run in a future version (probably not 2.7
 though): as we'll unbundle more dependencies from gwt-dev (and gwt-user),
 you might want to gain control over those dependencies (e.g. using a newer
 version of Guava, or ASM, etc.) and this is not possible with plugin
 dependencies as it's done today within the gwt-maven-plugin.

 Also noteworthy: that same change also turned com.google.gwt:gwt into a
 BOM (bill of material); that means that instead of including the version
 in all your GWT dependencies you can now declare com.google.gwt:gwt into
 your dependencyManagement section with scopeimport/scope. As a bonus,
 it should ensure transitive dependencies to GWT will all use the same
 version, so you'll have fewer risks of conflicts.

 I'll soon update the GWT samples, WebAppCreator templates and various
 archetypes to use those new best practices.

 --
 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: Interface vs implementation

2012-11-25 Thread Gal Dolber
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.comjavascript:_e({}, 'cvml', 
 'google-web-toolkit@googlegroups.com');
 .
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com javascript:_e({},
 'cvml', 'google-web-toolkit%2bunsubscr...@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.



Re: Use Elemental to optionally generate HTML on the server?

2012-10-10 Thread Gal Dolber
I'm also very much interested in this.

You can get Elemental to run on pure Java, but it will take a lot of work.
Before Elemental came out I did a very similar DOM abstraction and wrote a
pure Java implementation for it as well, to get the tests running.
Implementing a java version of Elemental should be pretty much the same.

Take a look here for the GuitDom java implementation:
https://github.com/galdolber/Guit/tree/master/src/main/java/com/guit/junit/dom


On Wed, Oct 10, 2012 at 5:36 PM, Andrea Boscolo andrew...@gmail.com wrote:

 I'm using Cell widgets elsewhere but don't think they'll buy me enough
 here because I can't use paging in this UI - I need to display the whole
 table.  I'm already loading using an async request.

 Even if you don't use paging, it can increase the rendering speed of a
 basic, say, flext table.


 Thanks for the pointer to ElementBuilder.  That seems promising but has
 some drawbacks - it won't help me manipulate the DOM after it's been
 created.  Also it seems incomplete - it currently only has builders for
 div, select, option and styles.  Maybe it's a dead end and is going
 to be replaced with Elemental?

 Well given a builder you can call its finish() method to return the actual
 built DOM element that can be later reused if stored somewhere, I guess.
 Also AFAICT the builders are all there
 http://gwt-code-reviews.appspot.com/1463812 and I don't think it's a dead
 end, for instance they are used internally in CellTable, they are just
 another (fast) way to build elements. And they have nothing to do with
 Elemental.


 I haven't tried any of this yet but I assumed that Elemental would work
 on non-webkit browsers so long as you kept to the DOM they support (i.e.
 keep to the simple stuff).  Is that not correct?

 Elemental is library generated automatically from the WebIDL specs, in
 particular the WebKit ones taken from the Dart project
 http://code.google.com/p/google-web-toolkit/source/browse/trunk/elemental/READMEthus
  I think they'll have problems with old IE versions (but maybe not with
 the very very basic stuff like elemental.dom.*, you need to try). Anyway I
 don't think it will buy you much in the short term.

 The IsRenderable/PotentialElement strategy seems another way to
 singnificantly cut down rendering time, although its very experimental
 state and I've not yet figured out its usage. See
 https://groups.google.com/d/topic/google-web-toolkit/neeh5YxKm-I/discussionand
 https://groups.google.com/d/topic/google-web-toolkit-contributors/g8WPRxkdqPA/discussion

 Thanks,
 Roy

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

 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email 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.



Re: GWT Compilation Time Performance Improvement

2012-09-04 Thread Gal Dolber
You could also move the compilation process to a bigger machine on the
cloud and then if you need to run the compiled site locally do a script to
download the content. That improved a lot the compilation time for me.

You can also try doing distributed builds (I personally never tried), but
here are some links:
http://code.google.com/p/google-web-toolkit/wiki/DistributedBuilds
http://code.google.com/p/gwt-distcc/
https://github.com/markovuksanovic/gwt-distributed-compiler


On Tue, Sep 4, 2012 at 10:50 AM, Abraham Lin atomknight033...@gmail.comwrote:

 What could possibly help is to precompile the modules into *.gwtar files,
 but it's something that's supposed to only be used by GWT itself (you'll
 find such gwtar files in the gwt-user.jar) AFAIK. At least it's not
 designed to build libraries, as the gwtar files depend on the version of
 GWT that produced them (IIUC).


 I've found that pre-compiling gwtar files has a negligible impact on
 overall compilation time, as most of the processing time is spent during
 the CompilePerms phase. Granted, this is dependent on the project
 architecture, but it seems unlikely that this will be a silver bullet for
 reducing overall compilation time (at least in its current state).

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

 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email 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.



Re: Google flight field

2012-07-25 Thread Gal Dolber
Its just a div with a datebox, 2 buttons and a bunch of css to make it
pretty

div
  d:DateBox /
  g:Button /
  g:Button /
/div

On Wed, Jul 25, 2012 at 5:47 PM, Twentyseven ebarthel...@gmail.com wrote:

 Hello,

 I've seen that the Google Flight page is made using GWT (
 https://www.google.com/flights/).
 I find the text field, date field, ... with the button inside very nice.

 How can I make this type of field using GWT ?

 Thank's,

 --
 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/-/u1HjfbYnn_cJ.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email 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.



Re: Submitting a FormPanel affect back button support

2012-07-24 Thread Gal Dolber
I had the same problem. After the upload is complete, remove the formpanel
from the screen (removeFromParent). IOW only show the FileUpload when
needed.

On Wed, Jul 25, 2012 at 12:42 AM, Juan Pablo Gardella 
gardellajuanpa...@gmail.com wrote:

 Hi,

 I see http://code.google.com/p/google-web-toolkit/issues/detail?id=624and at 
 now I do not see any workaround that works on all browsers. I did an
 upload file that is similar at the gmail (use FormPanel and FileUpload),
 but the only problem that had is that when do the submit affect the
 history. I did a test and in gmail, of course works well, doesn't affect
 history.

 Any know how can do an upload file that use FormPanel and FileUpload and
 doesn't affect history? If yes, I can reuse my code, if not I how I can do
 an upload file that doesn't affect back button support.

 Thanks,
 Juan


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



Re: DevMode for Firefox 14

2012-07-19 Thread Gal Dolber
The Chrome plugin has been broken for a long time and for FF just disable
automatic updates and update manually when the plugin gets updated.

Also now there's superdevmode, that unless your project is really big works
really good, in every browser and I'm even using it on the iPad.

Complaining every time a new FF version comes out wont solve anything, I
don't think having a website tested on FF13 for one week, until the plugin
gets updated, will affect anyone's business. Its not like the compiled code
is incompatible with FF14...

Use superdevmode, disable autoupdate or learn how to update the plugins
yourself.

On Thu, Jul 19, 2012 at 5:58 PM, coderinabstract
coderinabstr...@gmail.comwrote:

 Same problem with last Chrome update earlier this morning... dev mode does
 not work... any pointers.. tried reinstalling with chrome://extensions
 drop-in, redoing everything, whitelisting ips the works... keeps on wanting
 to reinstall.. completely broken with Chrome and also have noticed some
 layout behaviour change on apps, which is unrelated Maybe worthwile to
 start new thread..


 On Thursday, July 19, 2012 10:45:07 AM UTC-4, Eduardo Garcia Lopez wrote:

 Hi, I know probably this is not the appropriate thread, but I have
 problems with DevMode plugin for Chrome OSX Lion since last Chrome update,

 is it only me?

 El jueves, 19 de julio de 2012 08:25:52 UTC+2, glascaleia escribió:

 For osx lion??

 Inviato da iPhone

 Il giorno 19/lug/2012, alle ore 03:23, Alan Leung acle...@google.com
 ha scritto:

 On Wed, Jul 18, 2012 at 4:03 PM, koma k...@koma.be wrote:

 any change for Linux 64bit ?


 The 64bit Linux works now.

 http://acleung.com/ff14-**linux64.xpihttp://acleung.com/ff14-linux64.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/-/**VNv09WK9dL4Jhttps://groups.google.com/d/msg/google-web-toolkit/-/VNv09WK9dL4J
 .

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

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

 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email 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.



Re: Using Super Dev Mode on mobile devices

2012-07-05 Thread Gal Dolber
Just when I needed it! thanks!!

On Thu, Jul 5, 2012 at 2:25 PM, Daniel Kurka kurka.dan...@gmail.com wrote:

 Hi Everyone,

 I just had the time to write a blog post on how to use Super Dev Mode
 on mobile devices:

 http://blog.daniel-kurka.de/2012/07/mgwt-super-dev-mode.html

 Feel free to leave any suggestions as this is still experimental.

 -Daniel

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



Re: mgwt 1.1.0 got released

2012-06-17 Thread Gal Dolber
looks great, thanks!

On Sun, Jun 17, 2012 at 4:50 PM, Juan Pablo Gardella 
gardellajuanpa...@gmail.com wrote:

 Wow great work!!

 2012/6/17 Daniel Kurka kurka.dan...@googlemail.com:
  mgwt 1.1 just got released. Check out my blog post about whats new:
  http://blog.daniel-kurka.de/2012/06/mgwt-11-released.html
 
  Also I am starting a series of blog post that show how to use
  different features of mgwt / gwt phonegap.
  Thank you all for helping in so many ways, this would not have been
  possible without your contributions!
 
  -Daniel
 
  http://www.m-gwt.com
 
  --
  You received this message because you are subscribed to the Google
 Groups Google Web Toolkit group.
  To post to this group, send email to google-web-toolkit@googlegroups.com
 .
  To unsubscribe from this group, send email 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.




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



SuperDevMode and GwtGenerators

2012-06-07 Thread Gal Dolber
Are IncrementalGenerators working on the SuperDevMode?

I'm trying to make my gwt generators cacheable, and everything is working
on DevMode, but when running on SuperDevMode
context.isGeneratorResultCachingEnabled() is always false.

Right now the biggest project I have is taking 35s to refresh on
SuperDevMode(when it takes a few seconds on DevMode). And I'm hoping this
will speed up things.

Any help is appreciated

-- 
Guit: beautiful gwt applications

https://github.com/galdolber/Guit

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



Anyone using gwt-rpc over websockets?

2012-05-04 Thread Gal Dolber
Found http://code.google.com/p/gwt-websocketrpc/ and
https://github.com/Atmosphere/atmosphere

The first one only works with jetty and atmosphere looks good but I was
only able to get working long pull, no websockets.
Anyone had better luck?

-- 
Guit: beautiful gwt applications

https://github.com/galdolber/Guit

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



Re: Whole app as one big transmission

2012-05-02 Thread Gal Dolber
https://developers.google.com/web-toolkit/doc/latest/DevGuideCodeSplitting

On Wed, May 2, 2012 at 5:38 PM, Blake McBride blake1...@gmail.com wrote:

 Greetings,

 Unless I misunderstand something, I just found out that GWT apps get
 transmitted to, and treated by, the client as a single web page - albeit
 with JavaScript code that clears sections and puts different content on it
 to make it look like different pages are being loaded.  This is cool in
 terms of minimizing client interaction delays, but raises serious concerns
 on my part when attempting to build a very large application.

 For example, if my application had 500 screens (or what appeared to the
 user as 500 different screens), I would hate to think that, even though the
 client only currently needs 20 screens, he/she is going to get all 500 up
 front!  The initial load would take an unnecessarily long time too.

 If I understand correctly, this model is great for small apps but could be
 a very significant problem as an application grows considerably.

 I would really appreciate feedback on this issue.  Has this been an issue
 for others?  Is there a simple way to make pages load on an as-needed basis?

 Thanks for the feedback!

 Blake McBride

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




-- 
Guit: beautiful gwt applications

https://github.com/galdolber/Guit

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



Re: Firefox 12 release

2012-04-24 Thread Gal Dolber
Fuck that, someone send a death threat to Ray
Cromwellhttps://plus.google.com/u/0/110412141990454266397 to
release the super draft mode!

.. just joking (not really)

On Tue, Apr 24, 2012 at 4:46 PM, James Wendel jmwen...@gmail.com wrote:

 I'm well aware of the other threads that exist.  But these thread
 tends to act as a central place for people to go to see if a build of
 the GWT plugin is available.  Alan has been very helpful in previous
 few FF releases on getting us new plugin builds within a day or 2.

 I'm just sitting and waiting for Alan or another Googler to say they
 have a build or are working on it.  I'm not in any real rush, just
 wanted to get the ball rolling.

 On Apr 24, 2:40 pm, Qian Qiao qian.q...@gmail.com wrote:
  On Apr 25, 2012 3:00 AM, James Wendel jmwen...@gmail.com wrote:
 
   Looks like Firefox 12 was released:
 
  http://www.mozilla.org/en-US/firefox/all.html
 
 
 
   Any word on getting a GWT plugin that is compatible with it?
 
   Thanks,
   -James
 
  This question gets asked every time when there's a new Firefox release.
 
  Please search the list for similar topics on Firefox 5/6/7/8/9/10/11 and
  swap 12 for the version number.
 
  -- Joe

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




-- 
Guit: beautiful gwt applications

https://github.com/galdolber/Guit

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



Re: Automatically generating GWT web pages

2012-04-21 Thread Gal Dolber
GWT have its own generators system you can use, also it allows you to use
any template engine.

Here's an example:

http://francisshanahan.com/index.php/2010/a-simple-gwt-generator-example/

Or just google for GWT generator

On Sat, Apr 21, 2012 at 6:35 AM, vanessa vanessa vanessa032...@gmail.comwrote:


 Hello every body ,

 I have to develop a gnerator that generate from a model GWT code that will
 be after that compiled and the output is a gwt web page.
 How can i proceed ? which template engine to use .. ? is velocity a good
 solution .. ?
 I'm needing your help.

 Thanks a lot .
 Have a good day.

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




-- 
Guit: beautiful gwt applications

https://github.com/galdolber/Guit

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



Re: Source maps

2012-04-01 Thread Gal Dolber
got exited for a minute... its not there yet, I'm checking out trunk
everyday hoping to see SuperDraftMode and SourceMap commited

On Sun, Apr 1, 2012 at 7:20 AM, Andrea Boscolo andrew...@gmail.com wrote:

 Are you sure the whole machinery is already available in the public
 (trunk) repo? I thought it's not.

 https://plus.google.com/u/1/110412141990454266397/posts/Nvr6Se6eAPh


 On Sunday, April 1, 2012 12:16:05 PM UTC+2, Honza Rames wrote:

 Hi everyone,
 I tried to compile my GWT app with source maps support (as explained here
 http://stackoverflow.com/**questions/9804492/how-to-try-**
 sourcemaps-with-gwthttp://stackoverflow.com/questions/9804492/how-to-try-sourcemaps-with-gwt)
 and it failed at first (some json stuff was missing) so I added it to my
 project's class path then it compiled OK and I can see the source maps
 generated in WEB-INF/deploy/project/**symbolMaps. I should also note
 that I'm using custom build of GWT from trunk. I enabled source maps
 support in Chrome's Developer tools setting panel but I the source maps
 doesn't seem to work. I'm launching the app through jetty but not in dev
 mode (obviously ;-) ) I compiled the project in obfuscated mode as standard
 compile (no draft or anything like that). Do I have to use another version
 of Chrome? Does anyone tried this as well and succeeded?

 Honza

  --
 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/-/hcGUk2-d124J.

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




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

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

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



Re: Source maps

2012-04-01 Thread Gal Dolber
oh, my mistake, it seems SourceMap is there.. are you using trunk?

On Sun, Apr 1, 2012 at 12:31 PM, Gal Dolber gal.dol...@gmail.com wrote:

 got exited for a minute... its not there yet, I'm checking out trunk
 everyday hoping to see SuperDraftMode and SourceMap commited


 On Sun, Apr 1, 2012 at 7:20 AM, Andrea Boscolo andrew...@gmail.comwrote:

 Are you sure the whole machinery is already available in the public
 (trunk) repo? I thought it's not.

 https://plus.google.com/u/1/110412141990454266397/posts/Nvr6Se6eAPh


 On Sunday, April 1, 2012 12:16:05 PM UTC+2, Honza Rames wrote:

 Hi everyone,
 I tried to compile my GWT app with source maps support (as explained
 here http://stackoverflow.com/**questions/9804492/how-to-try-**
 sourcemaps-with-gwthttp://stackoverflow.com/questions/9804492/how-to-try-sourcemaps-with-gwt)
 and it failed at first (some json stuff was missing) so I added it to my
 project's class path then it compiled OK and I can see the source maps
 generated in WEB-INF/deploy/project/**symbolMaps. I should also note
 that I'm using custom build of GWT from trunk. I enabled source maps
 support in Chrome's Developer tools setting panel but I the source maps
 doesn't seem to work. I'm launching the app through jetty but not in dev
 mode (obviously ;-) ) I compiled the project in obfuscated mode as standard
 compile (no draft or anything like that). Do I have to use another version
 of Chrome? Does anyone tried this as well and succeeded?

 Honza

  --
 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/-/hcGUk2-d124J.

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




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

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







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

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

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



Re: GWT and how to make them better.

2012-03-30 Thread Gal Dolber
Hi Bogo,

Finally decided to get JRebel, but I'm getting this exception:

java.lang.ClassCastException:
com.google.gwt.dev.javac.CompilationState cannot be cast to
org.zeroturnaround.jrebel.integration.gwt.cbp.CompilationStateInterface


Does JRebel support gwt trunk? or only the last stable version?
Thanks!

On Fri, Mar 30, 2012 at 4:21 PM, Harpal Grover harpal.gro...@gmail.comwrote:

 This is very cool.
 --
 Harpal Grover
 President
 *Harpal Grover Consulting LLC*

 On Fri, Mar 30, 2012 at 7:33 AM, Bogo shopov.bogo...@gmail.com wrote:

 Hey guys,
 We just published an article on our blog about GWT and will be happy
 to read your thoughts about it.
 Here it is: http://j.mp/gwtgwtgwt

 Happy hacking,
 //Bogo

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




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

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

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



Re: GWT and how to make them better.

2012-03-30 Thread Gal Dolber
Got it working in another project where I'm using gwt 2.4 stable.

Server side works like a charm and browser side works pretty good.

When editing ui.xml files it doesn't know what classes to
reload(regenerate), that would be great if it could detect the uibinder
related class and regenerate it (I spend a lot of time working on ui.xml
files)

 Gwt trunk support will be also cool to have.

I may sound like I'm complaining, but I'm amazed... the server side alone
already worth my money.

Keep up the good work!

On Fri, Mar 30, 2012 at 10:32 PM, Gal Dolber gal.dol...@gmail.com wrote:

 Hi Bogo,

 Finally decided to get JRebel, but I'm getting this exception:

 java.lang.ClassCastException: com.google.gwt.dev.javac.CompilationState 
 cannot be cast to 
 org.zeroturnaround.jrebel.integration.gwt.cbp.CompilationStateInterface


 Does JRebel support gwt trunk? or only the last stable version?
 Thanks!

 On Fri, Mar 30, 2012 at 4:21 PM, Harpal Grover harpal.gro...@gmail.comwrote:

 This is very cool.
 --
 Harpal Grover
 President
 *Harpal Grover Consulting LLC*

 On Fri, Mar 30, 2012 at 7:33 AM, Bogo shopov.bogo...@gmail.com wrote:

 Hey guys,
 We just published an article on our blog about GWT and will be happy
 to read your thoughts about it.
 Here it is: http://j.mp/gwtgwtgwt

 Happy hacking,
 //Bogo

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




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

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







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

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

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



Re: Am I the only one who´s missing GWT on the new Google Developers Page?

2012-03-20 Thread Gal Dolber
I guess they are still moving everything there, Google Maps just got
there Google
Plus Posthttps://plus.google.com/u/0/111395306401981598462/posts/iB1Msh2Ur9X
and
I hope GWT is on the way..

You people keep looking for signals that GWT is dying.. its starting to be
annoying, you just need to follow some of the people working on it to know
its more alive than ever: SourceMaps in
Chromehttps://plus.google.com/u/0/110412141990454266397/posts/Nvr6Se6eAPh

On Mon, Mar 19, 2012 at 9:40 PM, Jambi michael.lukaszc...@googlemail.comwrote:

 I am worrying about the fact that GWT lost its prominent placement on
 the Google Code page. I can´t even find informations about GWT on the
 new Google Developers page (haven´t checked very well though). What´s
 the deal here? Is GWT´s silent death coming one step closer?

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




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

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

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



Using last snapshot from maven?

2012-02-25 Thread Gal Dolber
Hi,
I just added maven support to a project that was using gwt from trunk, and
as I moved back to gwt 2.4 I noticed a huge slow down on compilation and
dev mode. I guess is because of the generators caching framework thats not
available on 2.4, but I'm not really sure.
Anyway, is there any repository out there with a more updated gwt version?
Thank!

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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: Invoking C++ programs on the client-side

2012-01-25 Thread Gal Dolber
You could check out this project http://code.google.com/p/nativeclient/

On Wed, Jan 25, 2012 at 6:34 PM, mmorckos mikey.morc...@gmail.com wrote:

 Hello,

 I'm building a distributed system and I'd like to try GWT to build the
 client-side.

 I need the user to have a speech-based input. I'm using a C/C++ based
 speech recognition engine and I'd like to know if it's possible to
 call C++ code from within a GWT-based application.

 I'd really appreciate a prompt response.

  Regards,
 Michael

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




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

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

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



Re: Preload web pages

2012-01-06 Thread Gal Dolber
You could use this project http://code.google.com/p/wkhtmltopdf/

It uses webkit to render a site as pdf or as an image.
I have never used the image part but the pdf rending is great

On Fri, Jan 6, 2012 at 12:23 PM, Adolfo Panizo Touzon 
adolfo.pan...@gmail.com wrote:

 Hi,

 I want to create and event that when I do mouseover into a widget a popup
 displays a preload of a web page.

 The behaviour is similar than in Google (see the attached image).

 Is there any widget or Framework? Any ideas?

 Thank you so much.

 Adolfo.

 --
 El precio es lo que pagas. El valor es lo que recibes.
 Warren Buffet

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




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

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

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



Re: Preload web pages

2012-01-06 Thread Gal Dolber
Yes, that one is for server usage, to render a website on the client you
could try http://html2canvas.hertzen.com/

On Fri, Jan 6, 2012 at 1:35 PM, Adolfo Panizo Touzon 
adolfo.pan...@gmail.com wrote:

 Yes, it looks fine, but... Is it possible use it inside the GWT app??

 I've seen fast, but I think the basic use of this framework is to generate
 the pdf/img in the cmd and then include this img/pdf inside your app... In
 my case this task is so heavy because I have a big DB...

 Any ideas?

 Thank you so much for your response.

 Adolfo.

 2012/1/6 Gal Dolber gal.dol...@gmail.com

 You could use this project http://code.google.com/p/wkhtmltopdf/

 It uses webkit to render a site as pdf or as an image.
 I have never used the image part but the pdf rending is great

 On Fri, Jan 6, 2012 at 12:23 PM, Adolfo Panizo Touzon 
 adolfo.pan...@gmail.com wrote:

 Hi,

 I want to create and event that when I do mouseover into a widget a
 popup displays a preload of a web page.

 The behaviour is similar than in Google (see the attached image).

 Is there any widget or Framework? Any ideas?

 Thank you so much.

 Adolfo.

 --
 El precio es lo que pagas. El valor es lo que recibes.
 Warren Buffet

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




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

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




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




 --
 El precio es lo que pagas. El valor es lo que recibes.
 Warren Buffet

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




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

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

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



Issues with -XdisableClassMetadata and -XdisableCastChecking

2012-01-04 Thread Gal Dolber
Hi,

After making some random changes to a project it stopped working on chrome
(only the compiled version and only when compiling obfuscated). Pretty hard
to debug, and I actually never found the problem.
It occurred to me to disable the compilation flags -XdisableClassMetadata
and -XdisableCastChecking and it suddenly started working again.

Anyone else is having problems with those optimization flags? Any tips on
the solution?

Thanks

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

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

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



Re: Cocoa like UI API for GW

2011-12-24 Thread Gal Dolber
I think its more about extracting the styles from Cappuccino.
Personally, I stay away from widget libraries

On Sat, Dec 24, 2011 at 10:42 AM, Stefan Ollinger stefan.ollin...@gmx.dewrote:

 Do you plan to add UiBinder and GWT Designer support?

 Stefan

 Am 23.12.2011 21:10, schrieb cbruno:

 I am currently building a clean room implementation of the Cappuccino
 widgets (cappuccino.org)  in GWT. Instead of using layout classes the
 widgets utilize absolute positioning and autoresizing masks for
 layouts. The event system is based on a Responder class which
 implements mouseDown, mouseUp, KeyDown, etc.. methods to handle
 events. Aristo is the default theme.

  My ultimate goal is to release an interface builder like tool,
 similar to the tool Atlas that was being made for Cappuccino (now
 defunct)

 I will be placing greater emphasis on  wai-aria markup and
 accessibility (Including keyboard  touch) than cappuccino currently

 supports.

 What do you all think? Given the existence of gxt and smartgwt, do you
 think there is room for another widget library?

 Chris


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




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

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

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



Re: GWT Developer Plugin for Firefox 9

2011-12-22 Thread Gal Dolber
thanks Alan!

On Thu, Dec 22, 2011 at 9:29 AM, Alan Leung acle...@google.com wrote:

 Alright, FF9 tested on all OS. Let me know if you run into any problems.

 http://www.mediafire.com/?831pp1kk5p8kgjd

 -Alan

 On Thu, Dec 22, 2011 at 12:17 PM, Juan Pablo Gardella 
 gardellajuanpa...@gmail.com wrote:

 Hi,

 In Windows XP, the plugin doesn't work.

 Juan


 El 22 de diciembre de 2011 06:30, Alan Leung acle...@google.comescribió:

 I have both 32 and 64 bit linux compiled.

 http://www.mediafire.com/?5tak1zzo6a3yvn0

 Still working on mac and windows.

 -Alan

 On Wed, Dec 21, 2011 at 10:51 AM, tdk kloe...@ics.de wrote:

 it looks like we can't keep up with the development speed of Mozilla :
 (
 As they now released FF 9 the plugin is incompatible (yet again).

 Alan, can you compile it again in your usual speed and timelieness :)
 Your fans you would carry you on their shoulders, vistually ;)

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




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

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

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



Nice post about GWT

2011-12-08 Thread Gal Dolber
http://blog.oio.de/2011/12/08/future-of-gwt-and-gwt-2-5/

Its not mine, but it worth sharing

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

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

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



Re: a mistake when set backgroun-color value

2011-11-27 Thread Gal Dolber
try with backgroundColor, also you don't need to use static methods

hp.getElement().getStyle().setBackgroundColor(red);

On Mon, Nov 28, 2011 at 12:44 AM, wahaha il...@yahoo.com.cn wrote:

 i write these code :


 -
HorizontalPanel hp=new HorizontalPanel();
Label lbl=new Label(a);
hp.add(lbl);
hp.setWidth(300px);
hp.setHeight(300px);
DOM.setStyleAttribute(hp.getElement(), backgroun-color,
 red);
DOM.setStyleAttribute(hp.getElement(), border, 1px solid
 red);
RootPanel.get().add(hp);

 -

 then it wongs,the developement mod console said :
 java.lang.AssertionError: The style name 'background-color' should be
 in camelCase format

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




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

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

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



Re: CSS generator in GWT

2011-11-19 Thread Gal Dolber
I propuse something similar a time ago

http://code.google.com/p/google-web-toolkit/issues/detail?id=5301can=4colspec=ID%20Type%20Status%20Owner%20Milestone%20Summary%20Stars

On Sat, Nov 19, 2011 at 7:32 AM, emerix rafa...@gmail.com wrote:

 Hello,

 I was wondering if there was a way to generate CSS code with GWT. If for
 example I want to have a CSS background with gradient, I need to write it
 for every browser (-moz, -webkit, -o, etc...) as shown on
 http://www.colorzilla.com/gradient-editor/
 As GWT is about generating javascript tailored for each browser, it would
 be great to have the same thing for CSS. And it already 
 doeshttp://code.google.com/p/google-web-toolkit/wiki/CssResourceto some 
 extent but I would really welcome a way to generate those -moz,
 -webkit, etc...

 Maybe there is already a http://lesscss.org/ equivalent for GWT that I am
 not aware of?

 emerix

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




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

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

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



Re: Google Plugin for Eclipse (GPE) is Now Open Source

2011-11-16 Thread Gal Dolber
sooo nice to hear! thanks!!

On Wed, Nov 16, 2011 at 6:52 PM, Eric Clayberg (Google) clayb...@google.com
 wrote:

 A nice follow-up...


 http://community.jboss.org/en/tools/blog/2011/11/16/thoughts-on-google-eclipse-plugins-going-open-source

 --
 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/-/9GVfS3lPCFsJ.

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




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

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

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



Re: Different GWT compilation from Eclipse and command line

2011-11-16 Thread Gal Dolber
I'm compiling projects using gwt trunk from ant without problem

this is my base ant script http://pastebin.com/prRQEETz

and this is how I extend it for each project http://pastebin.com/t7RLmd29

the script asume you are using lombok and it support annotation processors,
but you should be able to extract the gwt compilation part.

Hope it helps

On Wed, Nov 16, 2011 at 4:48 PM, jogo stanislav.tvaru...@gmail.com wrote:

 Hi,

 I'm getting really frustrated from this, so any advice is highly
 appreciated.

 In my GWT project, there is a java native method that calls eval
 function inside. All worked fine till I updated from 2.3.0 to 2.4.0
 (on Windows XP in Eclipse). After that, when I compiled the project in
 Eclipse (GWT 2.4.0) the native method stopped working and I spent
 quite a lot of time figuring out what was the cause of this problem.

 It turned out, that the update form 2.3.0 to 2.4.0 caused it. Then I
 downgraded back to GWT SDK 2.3.0, re-configured Eclipse and then again
 all worked fine.

 Today I created a simple ant build script (generated from
 webAppCreator app using SDK 2.3.0) and used it. And again, the problem
 re-surfaced, the native method doesn't work! The ant script uses SDK
 2.3.0.

 The surprising thing is, that when I compile the project from Eclipse
 with SDK 2.3.0 all works fine. When I compile the project from command
 line using the same SDK and JRE compiled code is different and doesn't
 work.

 Any idea where the problem might be? Thanks.

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




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

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

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



Re: can we control what element will build in widget?

2011-10-23 Thread Gal Dolber
You cannot change the element a widget uses internally.

If you are looking for span implementations(instead of div) you can use:
InlineLabel, InlineHTML

Otherwise you can create your own widgets, checkout the source code of HTML
or Label, its not hard to do.

Regards

On Sun, Oct 23, 2011 at 10:13 PM, wahaha il...@yahoo.com.cn wrote:

 why there is nobody knows?

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




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

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

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



Re: The new GMail layout

2011-10-21 Thread Gal Dolber
Gmail does not use gwt but http://code.google.com/closure/

Don't use GWT because Google made it and use it in some projects.. decide by
yourself if is a good fit for your needs or not.
I didn't use Closure, but I'm sure its a great project. If you're not sure
with gwt you should definitely try Closure or some other alternative.

And finally, you can easily make those kind of adaptive panels using layout
panels with percentage sizes, or controlling the resize programmatically.

Regards

2011/10/21 Jaroslav Záruba jaroslav.zar...@gmail.com

 Hello

 Once again I wonder if/why Google doesn't use GWT on its own projects...?
 Looking at the ?leaked? video of the new GMail layout we see the window
 being resized http://youtu.be/aF2I8c3fNQs?hd=1t=20s, and the layout
 redraws/resizes *after* the window resizing is done. This doesn't look like
 GWT to me, where the new panels resize themselves instantly as you move the
 mouse. Am I mistaken? If the layout is written in GWT why do we see that
 slow resizing there?

 Regards
   J. Záruba

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




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

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

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



Re: why does the HTML widget do not have a name attribute?

2011-10-20 Thread Gal Dolber
The HTML widget is implemented with a div.. so there's no reason to set a
name...

If you still want to set the name attribute to it:
htmlWidget.getElement().setAttribute(name, SomeName);

On Fri, Oct 21, 2011 at 12:23 AM, wahaha il...@yahoo.com.cn wrote:

 can you more clearly?

 On Oct 20, 4:27 pm, Thomas Broyer t.bro...@gmail.com wrote:
  Why would 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.




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

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

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



Re: why does the HTML widget do not have a name attribute?

2011-10-20 Thread Gal Dolber
OMG

On Fri, Oct 21, 2011 at 1:05 AM, wahaha il...@yahoo.com.cn wrote:

 and the Label widget do not have a name attribute too,why??

 On Oct 21, 11:23 am, wahaha il...@yahoo.com.cn wrote:
  can you more clearly?
 
  On Oct 20, 4:27 pm, Thomas Broyer t.bro...@gmail.com wrote:
 
 
 
 
 
 
 
   Why would 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.




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

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

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



AtUnit: Easy Java unit tests with mocks (JMock or EasyMock) and dependency injection (Spring or Guice)

2011-10-19 Thread Gal Dolber
Hi all,

This is just a little post to share this awesome project
http://code.google.com/p/atunit/ (from logan.johnson) I found a few months
ago.

Anyone using guice/gin should try it!

Regards

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

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

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



Re: Convert Java bean Object to JSON in GWT 2.4

2011-10-12 Thread Gal Dolber
here's another nice project http://code.google.com/p/piriti/ to use on the
client side

On Wed, Oct 12, 2011 at 7:38 PM, Tomasz Gawel tomaszga...@op.pl wrote:

 As to JSON:
 Have you tried Google GSON library ? http://code.google.com/p/google-gson/

 And second question:
 Do you really need JSON?
 RequestFactory does not suit your case?

 http://code.google.com/intl/pl/webtoolkit/doc/latest/DevGuideRequestFactory.html

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




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

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

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



Re: Inviting you to NEXT interfaces (GWT Touch framework)

2011-10-04 Thread Gal Dolber
Looks and works amazing!
good job!

On Tue, Oct 4, 2011 at 9:38 AM, Thomas Broyer t.bro...@gmail.com wrote:

 Er, native looking? really? looks to me rather like iPhone-looking.

 (I'm by no mean criticizing your technical work, it's just that I launched
 the demo on my Android and it doesn't look native at all; same in the
 blackberry picture on the website)

 Other than that, it looks really good and is very responsive. I don't like
 how the elastic scroll is implemented; not quite native to me; but well
 maybe that's how it's done on the iPhone…

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

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




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

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

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



Re: twitter4j + GWT

2011-09-29 Thread Gal Dolber
I don't think twitter4j works on gwt.
I use this http://code.google.com/p/gwt-rest-client/ to call twitter from
gwt

On Wed, Sep 28, 2011 at 11:50 PM, Bruno Sandivilli 
bruno.sandivi...@gmail.com wrote:

 Anyone can help me with this? I want to have an ouath twitter application
 based on  on GWT. But i cant add twitter4j on client side, so how can i
 manage the callback url(for example)? Any code snippets are welcome :).
 Thanks!

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




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

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

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



Re: too much code: GWT Development with Activities and Places

2011-09-25 Thread Gal Dolber
I also agree, but I don't think google is responsable for improving the user
framework on gwt.
It is great that they put together uibinder, gwt-rpc, the editors framework
and other goodies, but its your choice to use them or not.

I am personally happy with a strong gwt core, and that just keep getting
better with each release.

On Sun, Sep 25, 2011 at 8:32 PM, camerojo jadcpub-goo...@yahoo.com.auwrote:

 I also agree - I hope the Google folk look at this.

 GWT is a wonderful concept, and we should all be very grateful for it,
 but some of the implementation is certainly over engineered.

 In particular I wish that more focus was given to fixing basic bugs
 (of which there are quite a few) rather than coming up with new high
 level architectural concepts.

 Of course all developers would prefer to be playing around with new
 concepts rather than fixing bugs in existing code, but production
 software demands that basic debugging must always take priority.


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




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

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

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



Re: Template Alternatives to UiBinder?

2011-09-09 Thread Gal Dolber
I am experimenting with Google Clousure Templates
http://code.google.com/closure/templates/.

Exploring their source code I realized that they support compilation to
Java, so you can compile your closure templates to java and use them with
gwt

On Fri, Sep 9, 2011 at 8:15 AM, Tom Carchrae carch...@gmail.com wrote:

 Does anyone use an alternatives to UiBinder for the purpose of separating
 page design from GWT source code?  I admit, I'm not a fan of UiBinder, it
 could be my innate hatred of having to work with XML documents.

 I realize GQuery is one option, if you're ok with the progressive
 enhancement approach.

 I've recently come across tools like Cambridge
 http://code.google.com/p/cambridge/ and Japid
 https://github.com/branaway/Japid/wiki/Japid-Generic-Template-Engine-Guide 
 which
 are essentially nicer versions of JSP.  Then there are things like mustache
 ( http://mustache.github.com ). While I realize that these template
 approaches are primarily designed to produce static web pages, I wonder if
 anything similar (aside from UiBinder) exists for GWT and is specifically
 designed to do generate pages from templates running in the browser (as
 compared to JSP style on the server).

 Thanks in advance if anyone can point me to some hidden gems.

 Tom





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




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

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

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



Re: scalable server backend for browser games

2011-09-09 Thread Gal Dolber
Checkout
http://code.google.com/appengine/
and
http://aws.amazon.com/ec2/

On Fri, Sep 9, 2011 at 2:36 PM, Karel karel.cromb...@gmail.com wrote:

 Hey guys,

 I'm currently investigating the possibilities of using GWT to develop
 a facebook browser game. The client should pose no problem; the main
 issue here seems to be the server. For starters, I don't want to use a
 php backend, because that would give up one of the main advantages of
 using GWT: that you can share code between client and server. So I
 need a java-based solution for the server.

 I'm not sure if Tomcat is up to the task of being the backend for a
 browser game with potentially millions of concurrent users. I looked
 into alternatives, but I can't really find any suitable. Node.js seems
 interesting; it's very scalable and powerful, but it's obviously in
 javascript. If I could somehow use the client-side compiler to
 translate the server-side code from java to js as well, then I might
 be able to use a wrapper around node.js to build a java-based server
 which runs entirely on javascript. I'm not sure if this would be
 faster or more scalable than Tomcat though...

 What's your opinion? Do you think Tomcat is up to the task of hosting
 the backend of a farmville-style game, or not? And what of potential
 alternatives such as node.js? I would like to hear your opinion!

 Kind regards,
 Karel

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




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

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

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



Re: Gwt4Titanium Mobile 1.1.0 Preview: Introducing DevMode

2011-09-07 Thread Gal Dolber
now is a good deal!
Great job!

On Wed, Sep 7, 2011 at 7:26 PM, Alain Ekambi jazzmatad...@googlemail.comwrote:

 Hello folks,
 Some days  ago we introduced *  Gwt4Titanium Mobile*, which aims to give
 developers the ability to write* native mobile applications* for Android
 and  IOS
 by leveraging  *GWT* and the* Appcelerator Titanium Platform*. Next to
 provide a *100% coverage of the Titanium API*, we added other features
  like :

 - I18N Support.
 - GWT-RPC, RequestFactory as well as RequestBuilder
 - Dependency Injection support via GIN.
 - JSON and XML to POJOs support.
 - Event Bus support.
 - etc...

 But a really important part was missing: The ability to run and debug the
 Java code right frm the GWT project without compiling it to JavaScript.
 At Emitrom we have been working really hard to provide this missing part.

 With version 1.1 coming out soon we are glad to introduce* DevMode
 for Gwt4Titanium Mobile*.
 Please visit : http://www.youtube.com/watch?v=HYa_ctox6iw   to see it in
 action.

 We are looking forward to hearing your inputs.

 To find out more visit us at:
 http://www.emitrom.com/ 
 http://www.emitrom.com/gwt4timobilegwt4timobilehttp://www.emitrom.com/gwt4timobile


 Happy Coding from the Emitrom Team!






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




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

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

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



Re: TextShadow won't apply

2011-09-07 Thread Gal Dolber
that should work,
why don't you use myLabel.getElement().getStyle().setProperty(textShadow,
...) ?

On Wed, Sep 7, 2011 at 10:54 PM, Evan Ruff evan.r...@gmail.com wrote:

 I think I might be going crazy. I have a Label element. I'm trying to apply
 a simple text shadow using:

 myLabel.getElement().getStyle().setProperty( textShadow, #000 5px 5px
 5px );

 and it does not show up.

 I've also tried:

 DOM.setStyleAttribute( myLabel.getElement(), textShadow, #FFF 5px 5px
 5px );

 but still, I never get the shadow. If I apply text-shadow directly to the
 element using the Chrome dev tools, it displays as expected.

 Why does GWT hate my textShadow property?

 Any way around it?

 Thanks!

 Evan


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




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

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

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



Re: TextShadow won't apply

2011-09-07 Thread Gal Dolber
never mind...

On Thu, Sep 8, 2011 at 1:55 AM, Gal Dolber gal.dol...@gmail.com wrote:

 that should work,
 why don't you use myLabel.getElement().getStyle().setProperty(textShadow,
 ...) ?


 On Wed, Sep 7, 2011 at 10:54 PM, Evan Ruff evan.r...@gmail.com wrote:

 I think I might be going crazy. I have a Label element. I'm trying to
 apply a simple text shadow using:

 myLabel.getElement().getStyle().setProperty( textShadow, #000 5px 5px
 5px );

 and it does not show up.

 I've also tried:

 DOM.setStyleAttribute( myLabel.getElement(), textShadow, #FFF 5px 5px
 5px );

 but still, I never get the shadow. If I apply text-shadow directly to
 the element using the Chrome dev tools, it displays as expected.

 Why does GWT hate my textShadow property?

 Any way around it?

 Thanks!

 Evan


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




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

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







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

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

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



Re: Java's Write Once, Run Anywhere for Mobile with GWT is Here!

2011-08-29 Thread Gal Dolber
This still have a great problem, we need to compile on every change, and we
cannot debug in java.

I am not even sure if its possible to solve that problems.

Any plans?

On Mon, Aug 29, 2011 at 4:58 PM, Alain Ekambi
jazzmatad...@googlemail.comwrote:

 Hi Thomas, Hi Leandro, Hi all

 Indeed i joined forces with the Emitrom team to provide not only  better
 products in the future but also the professional support that s goes with
 it.
 @Emitrom we trully believe in Open Source that a why all our products are
 open and free to use under GPL.


 Like Fredo said before sorry about the missing code in the Linker. This
 shoud be fixed now.

 We have more new things coming in the next days/weeks and we are looking
 forward to get your inputs.

 Cheers,

 Alain


 2011/8/29 Alfredo Quiroga-Villamil laww...@gmail.com

 Hello Thomas:

 Yes indeed, long story; but yes it's a running joke here between us. We
 are talking about Alain.

 Bear with us as we will slowly try to make things easier and better. We
 truly appreciate you catching up that we missed the linker class, it was
 under a different package and we simply just missed it in the build. Nothing
 fancy there, it'll be included right away.

 Please feel free to reach out if you have any other concerns or
 suggestions.

 Regards,

 Alfredo


 On Mon, Aug 29, 2011 at 1:26 PM, Thomas Broyer t.bro...@gmail.comwrote:

 So, just to make things clear: Namor Kambo from your about page ==
 Alain Ekambi == nino ?

 BTW, forcing people to create an account (what for?) so they're allowed
 to download a product is not really the best way to get them involved;
 particularly if the mail containing the password isn't delivered within the
 next 5 minutes.

 Oh, and the source code for the TiMobileLinker is missing (which violates
 the GPL).

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

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




 --
 Alfredo Quiroga-Villamil

 AOL/Yahoo/Gmail/MSN IM:  lawwton


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email 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 API for  non Java based platforms

 http://code.google.com/p/gwt4air/
 http://www.gwt4air.appspot.com/


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




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

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

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



Re: Acces to annotations in deferred binding

2011-08-18 Thread Gal Dolber
Make sure the annotation has rentention(runtime):

@Retention(RUNTIME)
public @interface Caption { ...

On Thu, Aug 18, 2011 at 8:21 AM, Adolfo Panizo Touzon 
adolfo.pan...@gmail.com wrote:

 Hi everybody,

 I have this class:

 *class Person{*

 *@Caption(name=Name)*

 *String name;*

 *}*

 How can acces to this annotation in deferred binding?.

 When I access to the JField that represents the field name, the method 
 *nameJField.getDeclaredAnnotations()
 *or *nameJField.getAnnotation(Caption.class)* or any related method not
 find that Annotation.

 It's a bit strange because the class is responsible for performing the
 deferred binding has other Annotations that I can access.

 The response to this fact I think it is because I have no GeneratorContext
 about the Person class but, someone have an idea?

 One of the restrictions I have is that the Person class I can not change.

 Thanks.


 --
 El precio es lo que pagas. El valor es lo que recibes.
 Warren Buffet

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




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

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

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



Re: scrolling in iPad

2011-08-07 Thread Gal Dolber
ScrollPanel do work. What version of gwt are you using?

On Sat, Aug 6, 2011 at 10:17 PM, macagain rgk...@gmail.com wrote:

 What's the best or right way to do gwt apps that scroll properly on the
 iPad?  I.e. apps that are bigger than the browser window.  Scrollpanel does
 seem to work either.

 I've tried some of the touch scroll panel widgets floating around, but they
 don't show the scroll bars, which of course confuses users.

 i've seen the gwt wiki on gwt/iphone, but that dates from 1.4 and the
 original iphone.  Anyone know of a better guide?

 Anyone done a gwt app for ipad?  would love to hear your experiences.

 -r

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




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

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

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



Re: http://www.google.com/hotelfinder

2011-08-03 Thread Gal Dolber
mmm, its a bit more complicated than that.

All what you need is in here:
http://code.google.com/p/google-web-toolkit-incubator/source/browse/trunk/src/com/google/gwt/gen2/picker/client/SliderBar.java

On Wed, Aug 3, 2011 at 7:24 AM, Deepak Singh deepaksingh...@gmail.comwrote:

 Hi Gal,

 I followed the instructions and prepared a uibinder which looks same as
 hotel finder two way slider.

 g:HTMLPanel
 div class=GPTJ3ICDOV
 div style=align:left
 div class=GPTJ3ICDLV
 span class=GPTJ3ICDMVPrice per night/span
 span class=GPTJ3ICDKVg:Label
 ui:field=slidingData/g:Label/span
 /div
 /div
 div class=GPTJ3ICDPV
 div class=GPTJ3ICDIU
 div class=GPTJ3ICDOU ui:field=container
 div class=GPTJ3ICDNU/div
 div class=GPTJ3ICDBV  style=left: 0px; width:
 190px;/div
 g:Image  styleName=GPTJ3ICDMU
 ui:field=leftSlider/g:Image
 g:Image styleName=GPTJ3ICDAV
 ui:field=rightSlider/g:Image
 /div
 /div
 /div
 /div

 /g:HTMLPanel

 Now in java class, i add handlers to the images leftSlider and righSlider
 as follows

 public void addhandlers() {
 leftSlider.addDragEnterHandler(new DragEnterHandler() {

 @Override
 public void onDragEnter(DragEnterEvent event) {
 }
 });
 leftSlider.addDragExitHandler(new DragExitHandler() {

 @Override
 public void onDragExit(DragExitEvent event) {
 }
 });
 leftSlider.addDragOverHandler(new DragOverHandler() {

 @Override
 public void onDragOver(DragOverEvent event) {

 }
 });
 leftSlider.addDropHandler(new DropHandler() {

 @Override
 public void onDrop(DropEvent event) {
 }
 });
 leftSlider.addMouseMoveHandler(new MouseMoveHandler() {

 @Override
 public void onMouseMove(MouseMoveEvent event) {

 leftSlider.getElement().getStyle().setLeft(event.getRelativeX(container),
 Unit.PX);

 }
 });

 rightSlider.addMouseMoveHandler(new MouseMoveHandler() {

 @Override
 public void onMouseMove(MouseMoveEvent event) {

 rightSlider.getElement().getStyle().setLeft(event.getRelativeX(container),
 Unit.PX);

 }
 });
 }
 Initially when the page renders, it is fine. When i do mouse over the
 slider images,
 i observe that
 1) MouseMoveHandler works only with mouse movement from left to right. If a
 move the mouse from right direction to left, nothing happens.
 2) Also, how do i check bounds?
 3) How to set the minimum and maximum value of the sliders?

 Thanks
 Deepak




 On Tue, Aug 2, 2011 at 5:44 AM, Gal Dolber gal.dol...@gmail.com wrote:

 a quick decoding of the one there:

 // Markup

 .labelLeft {
 left:-12px; // Min position
 height: 25px;
 width: 25px;
 background-color: #444;
 }

 .labelRight {
 left:178px; // Max position
 height: 25px;
 width: 25px;
 background-color: #444;
 }

 g:HTMLPanel
 div
 div style=float:leftLabel left/div
 div style=float:rightLabel right/div
 /div

 div ui:field=container
 div style=left: 0px; width: 190px;
 height:5px;background-color:#777/div
 g:Label ui:field=leftLabel
 styleName={style.labelLeft}/g:Label
 g:Label
 ui:field=rightLabel styleName={style.labelRight}/g:Label
 /div
 /g:HTMLPanel

 // For the leftLabel
 If you will use html use drag start, drag move and drag end events and do
 not capture the event, everything else is the same.
 If you wont use html5, on mouse down event do:
 Event.setCapture(leftLabel.getElement());
 And on mouse up event Event.releaseCapture(leftLabel.getElement());
 Capturing the element means that all events will be passed to that element
 till release.
 Then you need to implement the mouse move for the label:

1. Find the mouse position relative to the sliders container
(event.getRelativeX(container) and event.getRelativeY(container))
2. Calculate the current position
3. Check bounds
4. Set the position of the slider (basically set the left style to the
position you want)

 do the same for the right slider, add some pretty styles and you are ready
 to go.

 Regards

 On Mon, Aug 1, 2011 at 4:09 PM, Karthik Reddy 
 karthik.ele...@gmail.comwrote:

 The feedback widget seems identical to the one used in google plus.

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

 To post to this group, send email to google-web-toolkit@googlegroups.com
 .
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr

Re: GWT is for apps — right? But what's about static pages? (GWT's Future Plans...)

2011-08-03 Thread Gal Dolber
GWT isn't the problem, you can easily make a non-CEO-friendly apps with
jquery, sencha, or any other js framework.
The problem is that search engines do not crawl AJAX apps yet. The proposal
to make ajax crawlable is a quick solution to make them work with old
crawling infrastructure.
I really hope to see a more real solution in the near future.

On Wed, Aug 3, 2011 at 10:50 PM, Karthik Reddy karthik.ele...@gmail.comwrote:

 I would like to make a related observation although, only tangentially
 related to the initial poster's questions and grievances:

 Even though GWT started off as a toolkit for developing desktop-style
 applications for the web, I think it has slowly transformed beyond the said
 scope.

 As an example consider, google hotel search  at
 http://www.google.com/hotelfinder/. Evidently, this has been built using
 GWT and evidently it is closer to a web-style application than a
 desktop-style application.


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

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




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

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

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



Re: MVC + Command Pattern + Code Splitting?

2011-08-02 Thread Gal Dolber
same problem here +1

I have been thinking a lot about this and I don't think there is a simple
solution.
A custom rpc generator with node detection that load all the node's
dependencies inside a GWT.runAsync is the only thing I could think of, but I
didn't try to implement it yet.

In the gwt-dispatch case(or any rpc-command implementation), every action is
a node, so the first time we execute each action we load and register the
action and response dependencies.

On Tue, Aug 2, 2011 at 9:52 AM, Juan Pablo Gardella 
gardellajuanpa...@gmail.com wrote:

 +1


 2011/8/1 gktcs tdotstew...@gmail.com

 Has anyone been able to get complete code splitting working with gwt-
 dispatch or similar command pattern implementation?

 We've got a rather large MVC-based application, and our code splitting
 is done at the Controller level.The code splitting works great--
 neither the Controller nor the View will be loaded unless the
 associated module has been explicitly requested.  We use gwt-dispatch
 (with SecureDispatchAsync) to provide our communication with the
 server.  Everything works great with gwt-dispatch, except that *all*
 of our Request (Action) and Result objects are compiled into the
 initial download, instead of being included in the split point which
 contains the associated Controller and View.

 We're using SecureDispatchAsync in the startup module to load some
 basic startup information, but all of the other Request/Result pairs
 are isolated to their corresponding Controller.  The GWT SOYC report
 shows that all of the Request and Result objects are being included in
 the initial download.  Given the large-ish number of Action/Result
 objects we have, this is adding significant bulk to our initial
 application download size.

 I've read around and asked on the gwt-dispatch group and it seems like
 no one has had to use code splitting and the command pattern; so far,
 the only answers I've been able to find were (a) had to get rid of gwt-
 dispatch/command pattern, (b) just accept the increased size, or (c)
 it could be related to this issue:
 http://code.google.com/p/google-web-toolkit/issues/detail?id=2374.

 Just curious as to what others are doing, or if someone has found a
 way around this problem

 Thanks

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


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




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

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

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



Re: http://www.google.com/hotelfinder

2011-08-01 Thread Gal Dolber
Wow, really nice app.

1) Yes, its gwt.
2) Thats not a datagrid, but a pile of divs. Seems to be a ScrollPanel(cause
it works on ipad) with a FlowPanel inside and a bunch of custom components
inside it. The row expansion its just a widgets changing its contents.
3) These widgets may be from
http://code.google.com/p/google-web-toolkit-incubator/ or maybe they did
custom ones for this app.

Regards

On Mon, Aug 1, 2011 at 8:42 AM, Deepak Singh deepaksingh...@gmail.comwrote:

 Hi All,

 Google recently launched its hotel finder application
 http://www.google.com/hotelfinder

 Very nice.
 Some queries regarding this one:

 1) Is this in GWT or some other technology? While inspecting through the
 page source i see gwt-label elements
 2) Select a particular row on the search result and the row gets expanded
 with more details. How it is possible to implement this feature with GWT
 datagrid ?
 3) on the left side, there are some filter options available. Here The Two
 Way Slider component has been used to filter Price per night. How can we
 have / create this component in GWT ?

 Lets start the discussion over the features of this hotelfinder.

 Regards
 Deepak

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




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

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

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



Re: http://www.google.com/hotelfinder

2011-08-01 Thread Gal Dolber
PD: the feedback feature is amazing!

On Mon, Aug 1, 2011 at 9:04 AM, Gal Dolber gal.dol...@gmail.com wrote:

 Wow, really nice app.

 1) Yes, its gwt.
 2) Thats not a datagrid, but a pile of divs. Seems to be a
 ScrollPanel(cause it works on ipad) with a FlowPanel inside and a bunch of
 custom components inside it. The row expansion its just a widgets changing
 its contents.
 3) These widgets may be from
 http://code.google.com/p/google-web-toolkit-incubator/ or maybe they did
 custom ones for this app.

 Regards

 On Mon, Aug 1, 2011 at 8:42 AM, Deepak Singh deepaksingh...@gmail.comwrote:

 Hi All,

 Google recently launched its hotel finder application
 http://www.google.com/hotelfinder

 Very nice.
 Some queries regarding this one:

 1) Is this in GWT or some other technology? While inspecting through the
 page source i see gwt-label elements
 2) Select a particular row on the search result and the row gets expanded
 with more details. How it is possible to implement this feature with GWT
 datagrid ?
 3) on the left side, there are some filter options available. Here The Two
 Way Slider component has been used to filter Price per night. How can we
 have / create this component in GWT ?

 Lets start the discussion over the features of this hotelfinder.

 Regards
 Deepak

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




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

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







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

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

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



Re: http://www.google.com/hotelfinder

2011-08-01 Thread Gal Dolber
I'm not the right person to answer that, but you should really try to build
you custom widget. A dual-slider like that isn't hard to do and once you
start building your own widgets you don't need to rely on google to include
 the ones you need inside gwt.

Regards

On Mon, Aug 1, 2011 at 9:22 AM, Deepak Singh deepaksingh...@gmail.comwrote:

 Yes.

 So can we expect some features to be made open source / included in GWT by
 google ?
 At lease i need this slider component asap. How it is possible to get that.


 On Mon, Aug 1, 2011 at 5:44 PM, Gal Dolber gal.dol...@gmail.com wrote:

 PD: the feedback feature is amazing!


 On Mon, Aug 1, 2011 at 9:04 AM, Gal Dolber gal.dol...@gmail.com wrote:

 Wow, really nice app.

 1) Yes, its gwt.
 2) Thats not a datagrid, but a pile of divs. Seems to be a
 ScrollPanel(cause it works on ipad) with a FlowPanel inside and a bunch of
 custom components inside it. The row expansion its just a widgets changing
 its contents.
 3) These widgets may be from
 http://code.google.com/p/google-web-toolkit-incubator/ or maybe they did
 custom ones for this app.

 Regards

 On Mon, Aug 1, 2011 at 8:42 AM, Deepak Singh 
 deepaksingh...@gmail.comwrote:

 Hi All,

 Google recently launched its hotel finder application
 http://www.google.com/hotelfinder

 Very nice.
 Some queries regarding this one:

 1) Is this in GWT or some other technology? While inspecting through the
 page source i see gwt-label elements
 2) Select a particular row on the search result and the row gets
 expanded with more details. How it is possible to implement this feature
 with GWT datagrid ?
 3) on the left side, there are some filter options available. Here The
 Two Way Slider component has been used to filter Price per night. How can 
 we
 have / create this component in GWT ?

 Lets start the discussion over the features of this hotelfinder.

 Regards
 Deepak

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




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

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







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

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




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


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




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

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

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



Re: http://www.google.com/hotelfinder

2011-08-01 Thread Gal Dolber
a quick decoding of the one there:

// Markup

.labelLeft {
left:-12px; // Min position
height: 25px;
width: 25px;
background-color: #444;
}

.labelRight {
left:178px; // Max position
height: 25px;
width: 25px;
background-color: #444;
}

g:HTMLPanel
div
div style=float:leftLabel left/div
div style=float:rightLabel right/div
/div

div ui:field=container
div style=left: 0px; width: 190px;
height:5px;background-color:#777/div
g:Label ui:field=leftLabel
styleName={style.labelLeft}/g:Label
g:Label
ui:field=rightLabel styleName={style.labelRight}/g:Label
/div
/g:HTMLPanel

// For the leftLabel
If you will use html use drag start, drag move and drag end events and do
not capture the event, everything else is the same.
If you wont use html5, on mouse down event do:
Event.setCapture(leftLabel.getElement());
And on mouse up event Event.releaseCapture(leftLabel.getElement());
Capturing the element means that all events will be passed to that element
till release.
Then you need to implement the mouse move for the label:

   1. Find the mouse position relative to the sliders container
   (event.getRelativeX(container) and event.getRelativeY(container))
   2. Calculate the current position
   3. Check bounds
   4. Set the position of the slider (basically set the left style to the
   position you want)

   do the same for the right slider, add some pretty styles and you are
ready to go.

Regards

On Mon, Aug 1, 2011 at 4:09 PM, Karthik Reddy karthik.ele...@gmail.comwrote:

 The feedback widget seems identical to the one used in google plus.

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

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




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

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

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



Re: GWT and Spring

2011-08-01 Thread Gal Dolber
Buenas, bienvenido!

No use nunca spring, pero parece haber mucha informacion al respecto, este
el primer proyecto que aparece:
http://code.google.com/p/gwtrpc-spring/

Tambien hay instrucciones en gwt-incubator
http://code.google.com/p/google-web-toolkit-incubator/wiki/IntegratingWithSpring

Saludos

On Mon, Aug 1, 2011 at 12:58 PM, jose felix estevez josefel...@gmail.comwrote:

 buenas amigos soy nuevo en esto de gwt y me gustaria integrar gwt con
 spring alguna ayuda

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




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

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

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



Re: Dynamically convert between TextBox and PasswordTextBox

2011-07-29 Thread Gal Dolber
From a code and css points of view they are exactly the same. You should be
able to change from TextBox to PasswordTextBox without changing anything.

On Fri, Jul 29, 2011 at 5:05 PM, Ben Munge ben.mu...@gmail.com wrote:

 I have a requirement to turn some financial fields into masked fields
 and I wanted to use the password input type to simplify the logic. I
 need to be able to change a TextBox to a PasswordTextBox and have it
 change the value in the box to circles without affecting the value or
 style of the element. I'm having trouble finding a good way to do this
 as TextBox does not let you modify the type property. Any advice/help
 would be greatly appreciated.

 Thanks!

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




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

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

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



Re: Offtopic: does anyone have a solution to fix error-markers on OSXLion eclipse scroll?

2011-07-26 Thread Gal Dolber
yes, Im using indigo, just tried both configurations and no results... so
strange

On Tue, Jul 26, 2011 at 3:16 AM, Shawn Brown big.coffee.lo...@gmail.comwrote:


 The error marker is not shown in the scroll bar, I can't find a solution.
 thanks


 Are you using Indigo?  Seems to work fine.  Here's the settings that change
 it.

 Shawn


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




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

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

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



Re: Offtopic: does anyone have a solution to fix error-markers on OSXLion eclipse scroll?

2011-07-26 Thread Gal Dolber
So happy!
http://stackoverflow.com/questions/6780269/running-eclipse-on-mac-os-x-lion
Now I was able to find the solution. Thanks Shawn!

On Tue, Jul 26, 2011 at 3:59 AM, Gal Dolber gal.dol...@gmail.com wrote:

 yes, Im using indigo, just tried both configurations and no results... so
 strange


 On Tue, Jul 26, 2011 at 3:16 AM, Shawn Brown 
 big.coffee.lo...@gmail.comwrote:


 The error marker is not shown in the scroll bar, I can't find a solution.
 thanks


 Are you using Indigo?  Seems to work fine.  Here's the settings that
 change it.

 Shawn


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




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

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







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

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

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



Re: SimpleEventBus : why such a non-predictive behavior implementation ?

2011-07-26 Thread Gal Dolber
I am, but your post is too long to read :)

For what I understood, I had a similar problem, and I solved it
encapsulating the create widgetC in a DeferredCommand (for your example).

Its really hard for me to understand the modification you purpose, maybe
someone from google could see it.
But I think that if you found a better way of doing something you should
send a patch and make us all happy
http://code.google.com/webtoolkit/makinggwtbetter.html (also you will get
more help in gwt-code-reviews.appspot.com than here)

Regards!

// on the WidgetA.EventType reception is decided to create a widget C
create widgetC

On Tue, Jul 26, 2011 at 5:11 PM, david.herv...@gmail.com 
david.herv...@gmail.com wrote:

 No body concerned ?

 On 25 juil, 10:50, david.herv...@gmail.com david.herv...@gmail.com
 wrote:
  Hi,
 
  I'm facing a problem when using the simple implementation of the
  EventBus.
 
  // register widget B to be notified when WidgetA trigger an event
  register handler of WidgetB on WidgetA.EventType
 
  // dispatch (firingDepth is incremented)
  WidgetA.fireEvent
 
  // my widget is really called !!! that's good news
  WidgetB.onWidgetAEvent
 
  // on the WidgetA.EventType reception is decided to create a widget C
  create widgetC
 
  // this widget register himself to be notified on widgetB events -
  here the widget is registered in the deferredDeltas map (enqueueing)
  register handler of widgetC on WidgetB.EventType
 
  // widget B fired an event which is never trapped by the widget C
  because the handler of Widget C is in the deferredDeltas AND
  firingDepth is not 0
  WidgetB.fireEvent
 
  I'm doubtful because I was expected Widget C to receive event from
  Widget B. A work around is to encapsulate the WidgetB.fireEvent into a
  DeferredCommand but it's not really a solution.
 
  An other solution is to reconsider the usage of firingDepth, I don't
  really know why it is used (actually I know, but avoid concurrency
  modification that way leads to the upper that strange behavior).
  In simple implementation (thread safe) will be to get rid of the usage
  of this firingDepth/deferredDeltas and that getHandlerList return a
  copy of the handlers to go through and that's it:
  We insert directly the handler when they request for registration and
  we fire on the current map of handlers
 
  Below is a possible implementation of what I think is a better
  implementation (behaviorally speaking) :
 
  package com.google.web.bindery.event.shared;
 
  import java.util.ArrayList;
  import java.util.Collections;
  import java.util.HashMap;
  import java.util.HashSet;
  import java.util.List;
  import java.util.ListIterator;
  import java.util.Map;
  import java.util.Set;
 
  import com.google.web.bindery.event.shared.Event.Type;
 
  public class MySimpleEventBus extends EventBus {
 
  private final boolean isReverseOrder;
 
  /**
   * Map of event type to map of event source to list of their
  handlers.
   */
  private final MapEvent.Type?, MapObject, List? map =
  new HashMapEvent.Type?, MapObject, List?();
 
  public MySimpleEventBus() {
this(false);
  }
 
  /**
   * Allows creation of an instance that fires its handlers in the
  reverse of
   * the order in which they were added, although filtered handlers
  all fire
   * before unfiltered handlers.
   * p
   *
   * @deprecated This is a legacy feature, required by GWT's old
  HandlerManager.
   * Reverse order is not honored for handlers tied to a
  specific
   * event source (via {@link #addHandlerToSource}.
   */
  @Deprecated
  protected MySimpleEventBus(boolean fireInReverseOrder) {
isReverseOrder = fireInReverseOrder;
  }
 
  @Override
  public H HandlerRegistration addHandler(TypeH type, H handler)
  {
return doAdd(type, null, handler);
  }
 
  @Override
  public H HandlerRegistration addHandlerToSource(final
  Event.TypeH type, final Object source,
  final H handler) {
if (source == null) {
  throw new NullPointerException(Cannot add a handler with a
  null source);
}
 
return doAdd(type, source, handler);
  }
 
  @Override
  public void fireEvent(Event? event) {
doFire(event, null);
  }
 
  @Override
  public void fireEventFromSource(Event? event, Object source) {
if (source == null) {
  throw new NullPointerException(Cannot fire from a null
  source);
}
doFire(event, source);
  }
 
  /**
   * @deprecated required by legacy features in GWT's old
  HandlerManager
   */
  @Deprecated
  protected H void doRemove(Event.TypeH type, Object source, H
  handler) {
  doRemoveNow(type, source, handler);
  }
 
  /**
   * @deprecated required by legacy features in GWT's old
  HandlerManager
   */
  @Deprecated
  protected H H 

Re: Frustrated with GWT

2011-07-24 Thread Gal Dolber
Maybe the uppercases? try this:

url-pattern/timesheettracking/timesheetlogin/url-pattern

On Sat, Jul 23, 2011 at 9:16 PM, edprog edwin...@gmail.com wrote:

 Hello,

  I like the look and feel of GWT but I can find out why i am getting
 a

 Error when invoking the pageable data service :404 html
 head
 meta http-equiv=Content-Type content=text/html;
 charset=ISO-8859-1/
 titleError 404 NOT_FOUND/title
 /head
 bodyh2HTTP ERROR 404/h2
 pProblem accessing /timesheettracking/timesheetlogin. Reason:
 preNOT_FOUND/pre/phr /ismallPowered by Jetty:///small


 I have spent 2 days already trying to figure it out and about to give
 up. Here is my code


 WEB.XML

 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
 web-app
  !-- Servlets --
  servlet
servlet-nametimesheetLoginServlet/servlet-name
servlet-
 classcom.timesheet.tmproject.server.TimeSheetLoginServiceImpl/
 servlet-class
  /servlet
  servlet-mapping
servlet-nametimesheetLoginServlet/servlet-name
url-pattern/TimeSheetTracking/timesheetlogin/url-pattern
  /servlet-mapping
  !-- Default page to serve --
  welcome-file-list
welcome-fileTimeSheetTracking.html/welcome-file
  /welcome-file-list
 /web-app


 //TIMESHEET LOGIN SERVICE

 package com.timesheet.tmproject.client;

 import java.util.List;

 import com.google.gwt.user.client.rpc.RemoteService;
 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

 public interface TimeSheetLoginService extends RemoteService {

  public boolean isAuthenticated(String empID, String password );
 }

 //TIMESHEET LOGIN SERVICE ASYNC

 package com.timesheet.tmproject.client;

 import com.google.gwt.user.client.rpc.AsyncCallback;

 public interface TimeSheetLoginServiceAsync {
public void isAuthenticated(String empID, String
 password ,AsyncCallback callback);
 }





 //TIMESHEETTRACK.JAVA





 package com.timesheet.tmproject.client;

 import java.util.ArrayList;
 import java.util.Iterator;

 import com.google.gwt.core.client.EntryPoint;
 import com.google.gwt.core.client.GWT;
 import com.google.gwt.event.dom.client.ClickEvent;
 import com.google.gwt.event.dom.client.ClickHandler;
 import com.google.gwt.event.dom.client.KeyCodes;
 import com.google.gwt.event.dom.client.KeyUpEvent;
 import com.google.gwt.event.dom.client.KeyUpHandler;
 import com.google.gwt.user.client.Window;
 import com.google.gwt.user.client.rpc.AsyncCallback;
 import com.google.gwt.user.client.rpc.ServiceDefTarget;
 import com.google.gwt.user.client.ui.Button;
 import com.google.gwt.user.client.ui.ClickListener;
 import com.google.gwt.user.client.ui.DialogBox;
 import com.google.gwt.user.client.ui.FlowPanel;
 import com.google.gwt.user.client.ui.HTML;
 import com.google.gwt.user.client.ui.HorizontalPanel;
 import com.google.gwt.user.client.ui.Label;
 import com.google.gwt.user.client.ui.PasswordTextBox;
 import com.google.gwt.user.client.ui.RootPanel;
 import com.google.gwt.user.client.ui.SourcesTabEvents;
 import com.google.gwt.user.client.ui.TabPanel;
 import com.google.gwt.user.client.ui.TabListener;
 import com.google.gwt.user.client.ui.TabPanel;
 import com.google.gwt.user.client.ui.TextBox;
 import com.google.gwt.user.client.ui.VerticalPanel;
 import com.google.gwt.user.client.ui.Widget;

 /**
  * Entry point classes define codeonModuleLoad()/code.
  */
 public class TimeSheetTracking implements EntryPoint {

  VerticalPanel vpLogin = new VerticalPanel();
  private Label lblLoginEmpID = new Label(Employee ID);
  private TextBox txtEmpID = new TextBox();
  private Label lblLoginPassword = new Label(**Password );
  private PasswordTextBox txtPassword = new PasswordTextBox();
  private Button btnLogin = new Button(Login);
  private String _empID;
  private String _password;

  final TimeSheetLoginServiceAsync timesheetLoginServlet =
 (TimeSheetLoginServiceAsync) GWT
.create(TimeSheetLoginService.class);



@SuppressWarnings(deprecation)
public void onModuleLoad() {


ServiceDefTarget endpoint = (ServiceDefTarget)
 timesheetLoginServlet;
endpoint.setServiceEntryPoint(GWT.getModuleBaseURL() +
 timesheetlogin);

txtEmpID.setStyleName(txtTextbox);
txtPassword.setStyleName(txtTextbox);

lblLoginEmpID.setStyleName(lblLabels);
lblLoginPassword.setStyleName(lblLabels);

btnLogin.setStyleName(btnButtons);


// Create a tab panel with three items.
TabPanel panel = new TabPanel();
HorizontalPanel hpLogin = new HorizontalPanel();
hpLogin.add(lblLoginEmpID);
hpLogin.add(txtEmpID);
vpLogin.add(hpLogin);

HorizontalPanel hpLogin2 = new HorizontalPanel();
hpLogin2.add(lblLoginPassword);
hpLogin2.add(txtPassword);
hpLogin2.add(btnLogin);
vpLogin.add(hpLogin2);

panel.add(vpLogin, 

Re: [Announcement] GWT animation and effect library with CSS3 support

2011-07-21 Thread Gal Dolber
great demo!!

On Thu, Jul 21, 2011 at 2:49 PM, mechacha mecha...@gmail.com wrote:

 Tada! I just released it! Hope that will be useful to some of you.
 Even if the documentation is currently missing. But you can always
 check the examples.

 Just try a demo!
 http://www.visualfox.me/app/visualfox-fx

 And grab the source:
 http://code.google.com/p/visualfox-fx/

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




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

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

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



Re: ConditionalProperties

2011-07-19 Thread Gal Dolber
nobody?

On Wed, Jul 13, 2011 at 7:47 PM, Gal Dolber gal.dol...@gmail.com wrote:

 Hi,
 Is this working already?
 http://code.google.com/p/google-web-toolkit/wiki/ConditionalProperties

 define-property name=mobile.user.agent values=android, iphone, 
 not_mobile /

 property-provider name=mobile.user.agent![CDATA[


   {
 var ua = window.navigator.userAgent.toLowerCase();
 if (ua.indexOf('android') != -1) { return 'android'; }
 if (ua.indexOf('iphone') != -1) { return 'iphone'; }
 return 'not_mobile';


   }
 ]]/property-provider

 !-- Constrain the value for non-webkit browsers --

 set-property name=mobile.user.agent value=not_mobile 


   none !-- Actually means NOR, in this case not safari --


 when-property-is name=user.agent value=safari /


   /none
 /set-property


 I made a small project example but when I compile it I get only 6
 permutations, when I should get 8? (5 other browsers + (safari *
 mobile.user.agent))? the documentation says that this example should
 generate 9 permutations...
 I am testing with gwt trunk compiled yesterday.

 What am I doing wrong?
 Thanks in advnc

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

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







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

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

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



Re: ConditionalProperties

2011-07-19 Thread Gal Dolber
Thanks!

I still don't understand what I am doing wrong. I even can't get working a
normal selection property.

{{{
define-property name=my.property values=default /
property-provider name=my.property generator=com.myPropertyGenerator /
extend-property name=my.property values=value1, value2 /
set-property-fallback name=my.property value=default /
}}}

Shouldn't this be enough to get an extra 12 permutation (18 in total)? I am
getting only 6

On Tue, Jul 19, 2011 at 11:15 AM, Thomas Broyer t.bro...@gmail.com wrote:

 It is working. Apache Wave uses it. I believe I successfully used it too.

 Have a look at the top of the generated symbolMaps files, they'll tell you
 which deferred binding property leads to a particular permutation, along
 with its value.

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




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

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

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



Re: ConditionalProperties

2011-07-19 Thread Gal Dolber
Yes, I though that, but then I saw the i18n locale property, that is the
most similar to the one I am trying to do and It doesn't use
when-property-is

   generate-with class=com.google.gwt.i18n.rebind.LocalizableGenerator

when-type-assignable class=com.google.gwt.i18n.shared.Localizable /

  /generate-with

On Tue, Jul 19, 2011 at 7:33 PM, Thomas Broyer t.bro...@gmail.com wrote:

 Could it be that GWT optimizes the case where the property isn't used in
 any generate-with or replace-with rule?

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

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




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

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

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



Re: Does passing domain objects to a view break MVP?

2011-07-18 Thread Gal Dolber
I think the model-view separation doesnt mean that you cannot pass
pojos or dtos to the view but that the view should not make direct
request to the server, or if using local storage, to the database

On Monday, July 18, 2011, cri chuck.irvine...@gmail.com wrote:
 My tentative understanding of MVP versus MVC is that, with MVP, views
 do not operate directly on domain/model objects. I doubt that my
 understanding is correct since, If this is true, then it seems that
 GWT Cells (e.g. CellTables, CellLists) break MVP. They break MVP since
 their methods operate directly on model objects. Can anyone shed light
 on this issue?

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



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

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

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



Re: how to fire blur event when keydown ?

2011-07-16 Thread Gal Dolber
This is a hard one. If you are trying to do what I think you need to fire a
tab event on the textbox, that will trigger the blur, and focus the next
field.

// The code should look something like this
NativeEvent e = Document.get().createKeyDownEvent();
textboxField.getElement().dispatchEvent(e);

On Sat, Jul 16, 2011 at 12:48 PM, Luke travalle...@gmail.com wrote:

 @UiHandler(textboxField)
 public void keyDownSearchHandler(KeyDownEvent event){

//how to fire textboxField blur event after user press key
 down?
 }

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




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

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

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



Re: how to fire blur event when keydown ?

2011-07-16 Thread Gal Dolber
If forgot to say: the keyDownEvent you create should have the
KeyCodes.KEY_TAB key code

On Sat, Jul 16, 2011 at 2:42 PM, Gal Dolber gal.dol...@gmail.com wrote:

 This is a hard one. If you are trying to do what I think you need to fire a
 tab event on the textbox, that will trigger the blur, and focus the next
 field.

 // The code should look something like this
 NativeEvent e = Document.get().createKeyDownEvent();
 textboxField.getElement().dispatchEvent(e);


 On Sat, Jul 16, 2011 at 12:48 PM, Luke travalle...@gmail.com wrote:

 @UiHandler(textboxField)
 public void keyDownSearchHandler(KeyDownEvent event){

//how to fire textboxField blur event after user press key
 down?
 }

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




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

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







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

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

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



ConditionalProperties

2011-07-13 Thread Gal Dolber
Hi,
Is this working already?
http://code.google.com/p/google-web-toolkit/wiki/ConditionalProperties

define-property name=mobile.user.agent values=android, iphone,
not_mobile /
property-provider name=mobile.user.agent![CDATA[

  {
var ua = window.navigator.userAgent.toLowerCase();
if (ua.indexOf('android') != -1) { return 'android'; }
if (ua.indexOf('iphone') != -1) { return 'iphone'; }
return 'not_mobile';

  }
]]/property-provider

!-- Constrain the value for non-webkit browsers --
set-property name=mobile.user.agent value=not_mobile 

  none !-- Actually means NOR, in this case not safari --

when-property-is name=user.agent value=safari /

  /none
/set-property


I made a small project example but when I compile it I get only 6
permutations, when I should get 8? (5 other browsers + (safari *
mobile.user.agent))? the documentation says that this example should
generate 9 permutations...
I am testing with gwt trunk compiled yesterday.

What am I doing wrong?
Thanks in advnc

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

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

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



Re: FlexTable and clickHandler depreciated?

2011-07-12 Thread Gal Dolber
Panels do not have event handlers in general, you can use FocusPanel or
force the event on the FlexTable with panel.addHandler(ClickEvent.getType(),
clickHandler);

On Tue, Jul 12, 2011 at 6:32 PM, seven.reeds seven.re...@gmail.com wrote:

 Hi,

 gwt: 2.3.0
 eclipse: 3.6.2

 I must be doing something wrong.  I have a FlexTable and I try to add
 a ClickHandler but I am told it is depreciated.

FlexTable panel = new FlexTable();

SponsorrList() {
initWidget(panel);

panel.setStyleName(SpeakerList);
panel.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
...
}
});

}


 If I mouse over new ClickHandler eclipse suggests adding a Suppress
 Depreciation pragma.  If I mouse over addClickHandler I see:

The method addClickHandler(ClickHandler) in the type HTMLTable
 is not applicable for the arguments (new ClickHandler(){})

 I do not understand.

 sr

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




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

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

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



Gwt touch ui

2011-07-08 Thread Gal Dolber
Is anyone doing some open source work on gwt + touch ui?

This demo is totally incredible
http://dev.sencha.com/deploy/touch/examples/kitchensink/

We must have this implemented with gwt

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

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

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



Re: Gwt touch ui

2011-07-08 Thread Gal Dolber
Hi Alain,
touch support with flash? do you mean only for android devices?

On Fri, Jul 8, 2011 at 3:27 AM, Alain Ekambi jazzmatad...@googlemail.comwrote:

 gwt4air 2.2 will actually have a Gwt Touch module
 Stay tuned :)

 2011/7/8 Gal Dolber gal.dol...@gmail.com

  Is anyone doing some open source work on gwt + touch ui?

 This demo is totally incredible
 http://dev.sencha.com/deploy/touch/examples/kitchensink/

 We must have this implemented with gwt

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

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




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




 --

 GWT API for  non Java based platforms
 http://code.google.com/p/gwt4air/
 http://www.gwt4air.appspot.com/


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




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

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

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



Re: Gwt touch ui

2011-07-08 Thread Gal Dolber
great news! thanks Alain

On Friday, July 8, 2011, Alain Ekambi jazzmatad...@googlemail.com wrote:
 Not Flash.Pure Gwt based solution

 2011/7/8 Gal Dolber gal.dol...@gmail.com

 Hi Alain,touch support with flash? do you mean only for android devices?
 On Fri, Jul 8, 2011 at 3:27 AM, Alain Ekambi jazzmatad...@googlemail.com 
 wrote:
 gwt4air 2.2 will actually have a Gwt Touch moduleStay tuned :)




 2011/7/8 Gal Dolber gal.dol...@gmail.com




 Is anyone doing some open source work on gwt + touch ui?
 This demo is totally 
 incredible http://dev.sencha.com/deploy/touch/examples/kitchensink/






 We must have this implemented with gwt
 --
 Guit: Elegant, beautiful, modular and *production ready* gwt applications.

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








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


 --

 GWT API for  non Java based platforms
 http://code.google.com/p/gwt4air/http://www.gwt4air.appspot.com/









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


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

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








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


 --

 GWT API for  non Java based platforms
 http://code.google.com/p/gwt4air/
 http://www.gwt4air.appspot.com/





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


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

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

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



Recursive Editors

2011-07-07 Thread Gal Dolber
to avoid the infinite loop of instantiation, you need to instantiate
the child editor under demand, only when needed

On Thursday, July 7, 2011, Jeff Larsen larse...@gmail.com wrote:
 I'm trying to build an editor where it can have a collection of itself.

 For example, I have an object Foo

 class Foo{
     String foo;

     ListFoo foos;

 //getters setters ommited for brevity
 }

 I've tried making FooEditor implement EditorFoo and CompositeEditorFoo, 
 Foo, FooEditor, but then when I do GWT.create(Driver.class) I break the heap.

 I what is the correct way of doing recursive editors with collections?

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



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

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

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



Re: how to get iphone-like changing view animation

2011-07-02 Thread Gal Dolber
You can use the LayoutPanel to do that kind of animations,

http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html

On Sat, Jul 2, 2011 at 10:24 AM, dadada ytbr...@gmail.com wrote:

 Hi all,

 I am looking for a library to do the above. I know about gwt-fx and
 gwt-jquery. Is there something else?
 Just want to know if any one done a iphone-like transition animation.
 Which library did you guys use? And how did you do it?

 For instance, if you have a verticalpanel with htmlpanel of texts
 inside.

 VerticalPanel v = new VerticalPanel();
 v.add(new HTMLPanel(hello));

 Do you remove the htmlpanel and add the new content with a transition?
 or do you hide the existing content without removing it? Or how do you
 guys do it?

 Hope to hear from you guys.

 /bryan

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




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

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

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



Re: How do you guys solve this problem?

2011-07-01 Thread Gal Dolber
Thanks! makes sense, I think my problem is that I thought that Proxy's could
be generated 100%, but it seems we still need to maintain them by-hand in
some cases

On Thu, Jun 30, 2011 at 9:32 PM, David Chandler drfibona...@google.comwrote:

 Magno is correct. You can create multiple proxy representations of an
 entity, so could have ClientProxy with accessor methods for all properties
 and LightweightClientProxy with only getId() and getStringRepresentation().

 /dmc


 On Thu, Jun 30, 2011 at 8:10 PM, Magno Machado magn...@gmail.com wrote:

 i think you could create another proxy for Client which is just id and
 name

 But I had a similar need some time ago and I found it better to use
 gwt-rpc for that specific case, although the app uses mainly requestfactory


 On Thu, Jun 30, 2011 at 8:38 PM, Gal Dolber gal.dol...@gmail.com wrote:

 Imagine an example:
 let say I want to show in the client the following table of Sales:

 Id   | Client  | Product   | Number
 -
 1| John Doe(2) | iMac 27'(23)| 1
 2| Chris More(3)   | Mac book'(4)   | 2

 With Sale being:

 class Sale {
private long id;
private Client client;
private Product product;
private Integer number;

.
 }

 John Doe(2) is the name of the client and 2 is the id. Same thing for
 Product.
 The problem is that to find out the Client's name I need to send it to
 the client (in the case of RequestFactory as a ClientProxy).
 I don't want to send the whole Client throw the wire when I only need the
 id and a string representation. Plus, the example being a table, it may be
 listing 30+ Sales, and include the relationship makes it really heavy to
 load.

 The question is how can I do with RF to get a string representation and
 the id of a Proxy without loading it all?

 Before using RF I used two object i.e: Sale and SaleDto, and I made the
 conversion myself on the server.

 Thanks in advance!

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

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




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




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




 --
 David Chandler
 Developer Programs Engineer, GWT+GAE
 w: http://code.google.com/
 b: http://googlewebtoolkit.blogspot.com/
 t: @googledevtools

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




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

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

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



How do you guys solve this problem?

2011-06-30 Thread Gal Dolber
Imagine an example:
let say I want to show in the client the following table of Sales:

Id   | Client  | Product   | Number
-
1| John Doe(2) | iMac 27'(23)| 1
2| Chris More(3)   | Mac book'(4)   | 2

With Sale being:

class Sale {
   private long id;
   private Client client;
   private Product product;
   private Integer number;

   .
}

John Doe(2) is the name of the client and 2 is the id. Same thing for
Product.
The problem is that to find out the Client's name I need to send it to the
client (in the case of RequestFactory as a ClientProxy).
I don't want to send the whole Client throw the wire when I only need the id
and a string representation. Plus, the example being a table, it may be
listing 30+ Sales, and include the relationship makes it really heavy to
load.

The question is how can I do with RF to get a string representation and
the id of a Proxy without loading it all?

Before using RF I used two object i.e: Sale and SaleDto, and I made the
conversion myself on the server.

Thanks in advance!

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

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

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



Re: Error when run in Eclipse in Mac

2011-06-29 Thread Gal Dolber
Can you copypaste the gwt module file that its failing? It should be
gov.senasa.embalajemadera.EmbalajeMadera.gwt.xml

On Wed, Jun 29, 2011 at 12:24 PM, Juan Pablo Gardella 
gardellajuanpa...@gmail.com wrote:

 Any ideas?


 2011/6/29 Juan Pablo Gardella gardellajuanpa...@gmail.com

 Hi folks,

 When run in Eclipse an GWT application show me an error (only in a Mac).
 This error I can fix in maven when add xercesImpl 2.9.1 as depedency in the
 project and in the plugins. But in eclipse I don't know how resolve.

 Enviroment:

 Apache Maven 2.2.1 (r801777; 2009-08-06 16:16:01-0300)
 Java version: 1.6.0_24
 Java home:
 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
 Default locale: en_US, platform encoding: MacRoman
 OS name: mac os x version: 10.6.8 arch: i386 Family: mac

 Error:

 2011-06-29 00:04:22.908 java[20592:903] [Java CocoaComponent compatibility
 mode]: Enabled
 2011-06-29 00:04:22.912 java[20592:903] [Java CocoaComponent compatibility
 mode]: Setting timeout for SWT to 0.10
 [WARN] Unable to process 'file:/Users//WEB-INF/web.xml' for servlet
 validation
 org.xml.sax.SAXNotRecognizedException: unrecognized feature
 http://apache.org/xml/features/nonvalidating/load-external-dtd
 at org.gjt.xpp.sax2.Driver.setFeature(Driver.java:178)
 at
 org.gjt.xpp.jaxp11.SAXParserImpl.setFeatures(SAXParserImpl.java:149)
 at org.gjt.xpp.jaxp11.SAXParserImpl.init(SAXParserImpl.java:132)
 at
 org.gjt.xpp.jaxp11.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:114)
 at
 org.gjt.xpp.jaxp11.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:142)
 at
 com.google.gwt.dev.ServletValidator.create(ServletValidator.java:188)
 at
 com.google.gwt.dev.ServletValidator.create(ServletValidator.java:172)
 at com.google.gwt.dev.DevMode.doStartup(DevMode.java:426)
 at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1045)
 at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
 at com.google.gwt.dev.DevMode.main(DevMode.java:309)
 Loading modules
gov.senasa.embalajemadera.EmbalajeMadera
   [ERROR] Failure while parsing XML
 org.xml.sax.SAXNotRecognizedException: unrecognized feature
 http://apache.org/xml/features/nonvalidating/load-external-dtd
 at org.gjt.xpp.sax2.Driver.setFeature(Driver.java:178)
 at
 org.gjt.xpp.jaxp11.SAXParserImpl.setFeatures(SAXParserImpl.java:149)
 at org.gjt.xpp.jaxp11.SAXParserImpl.init(SAXParserImpl.java:132)
 at
 org.gjt.xpp.jaxp11.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:114)
 at
 org.gjt.xpp.jaxp11.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:142)
 at
 com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:324)
 at
 com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
 at
 com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
 at
 com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
 at
 com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:192)
 at
 com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:308)
 at
 com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
 at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:979)
 at com.google.gwt.dev.DevMode.loadModule(DevMode.java:548)
 at com.google.gwt.dev.DevMode.doStartup(DevMode.java:436)
 at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1045)
 at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
 at com.google.gwt.dev.DevMode.main(DevMode.java:309)
   [ERROR] Unexpected error while processing XML
 com.google.gwt.core.ext.UnableToCompleteException: (see previous log
 entries)
 at
 com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:355)
 at
 com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
 at
 com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
 at
 com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
 at
 com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:192)
 at
 com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:308)
 at
 com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
 at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:979)
 at com.google.gwt.dev.DevMode.loadModule(DevMode.java:548)
 at com.google.gwt.dev.DevMode.doStartup(DevMode.java:436)
 at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1045)
 at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
 at com.google.gwt.dev.DevMode.main(DevMode.java:309)
 [ERROR] shell failed in doStartup method


  --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, 

Re: Error when run in Eclipse in Mac

2011-06-29 Thread Gal Dolber
mmm, perdon, esta fuera de mi entendimiento :)... me suena que es un
problema del orden del classpath, algo parecido pasaba con los jars de
appengine, pero noestoy seguro

On Wednesday, June 29, 2011, Juan Pablo Gardella
gardellajuanpa...@gmail.com wrote:
 Hi Gal!!
 Thanks for your time: I paste the XML file, but the error is a classpath 
 issue. This error had when compile with maven and fix when addxercesImpl 
 2.9.1 as dependency in project (with scope provided) and in the plugin 
 gwt-maven-plugin.

 If I can pass xercesImpl 2.9.1 to the plugin I will fix this problem.
 En español. Teniamos este error y lo solucionamos agregando xercesImpl como 
 dependencia en el proyecto y en el plugin. Pero el tema es como hacemos para 
 pasarle xerces al plugin de eclipse. Es como que toma un parseador SAX viejo 
 y no funciona, pero si tomara xerces funciona.

 ?xml version=1.0 encoding=UTF-8?module rename-to='embalajeApp'
 !-- Inherit the core Web Toolkit stuff. --
   inherits name='com.google.gwt.user.User' /inherits 
 name=com.google.gwt.i18n.I18N /
   inherits name='com.google.gwt.user.theme.standard.Standard' /
   !-- Other module inherits --
   inherits name=com.google.gwt.activity.Activity /inherits 
 name=com.google.gwt.place.Place /
   !-- GIN: DI para JavaScript --inherits 
 name=com.google.gwt.inject.Inject /
   !-- Gwt dispatch --   inherits 
 name='net.customware.gwt.dispatch.Dispatch' /

   !-- javax.inject --   inherits name='javax.JSR330' /

   !-- validation framework --   inherits 
 name='eu.maydu.gwt.validation.ValidationLibrary' /

   !-- Specify the app entry point class. -- entry-point
   class='...' /
   !-- Specify the paths for translatable code --
   source path='client' /source path='shared' /

   !-- Spanish language, independent of country --   
 extend-property name=locale values=es_AR/
   set-property name=locale value=es_AR /
   !-- THIS LINE IS ADDED FOR DEBUGGING PURPOSE --   
 set-configuration-property name=CssResource.style value=pretty/
 /module


 2011/6/29 Gal Dolber gal.dol...@gmail.com


 Can you copypaste the gwt module file that its failing? It should 
 be gov.senasa.embalajemadera.EmbalajeMadera.gwt.xml

 On Wed, Jun 29, 2011 at 12:24 PM, Juan Pablo Gardella 
 gardellajuanpa...@gmail.com wrote:


 Any ideas?

 2011/6/29 Juan Pablo Gardella gardellajuanpa...@gmail.com

 Hi folks,
 When run in Eclipse an GWT application show me an error (only in a Mac). This 
 error I can fix in maven when add xercesImpl 2.9.1 as depedency in the 
 project and in the plugins. But in eclipse I don't know how resolve.






 Enviroment:Apache Maven 2.2.1 (r801777; 2009-08-06 16:16:01-0300)
 Java version: 1.6.0_24
 Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
 Default locale: en_US, platform encoding: MacRoman
 OS name: mac os x version: 10.6.8 arch: i386 Family: mac

 Error:
 2011-06-29 00:04:22.908 java[20592:903] [Java CocoaComponent compatibility 
 mode]: Enabled
 2011-06-29 00:04:22.912 java[20592:903] [Java CocoaComponent compatibility 
 mode]: Setting timeout for SWT to 0.10
 [WARN] Unable to process 'file:/Users//WEB-INF/web.xml' for servlet 
 validation
 org.xml.sax.SAXNotRecognizedException: unrecognized 
 feature http://apache.org/xml/features/nonvalidating/load-external-dtd
     at org.gjt.xpp.sax2.Driver.setFeature(Driver.java:178)
     at org.gjt.xpp.jaxp11.SAXParserImpl.setFeatures(SAXParserImpl.java:149)
     at org.gjt.xpp.jaxp11.SAXParserImpl.init(SAXParserImpl.java:132)
     at 
 org.gjt.xpp.jaxp11.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:114)
     at 
 org.gjt.xpp.jaxp11.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:142)
     at com.google.gwt.dev.ServletValidator.create(ServletValidator.java:188)
     at com.google.gwt.dev.ServletValidator.create(ServletValidator.java:172)
     at com.google.gwt.dev.DevMode.doStartup(DevMode.java:426)
     at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1045)
     at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
     at com.google.gwt.dev.DevMode.main(DevMode.java:309)
 Loading modules
    gov.senasa.embalajemadera.EmbalajeMadera
   [ERROR] Failure while parsing XML
 org.xml.sax.SAXNotRecognizedException: unrecognized 
 feature http://apache.org/xml/features/nonvalidating/load-external-dtd
     at org.gjt.xpp.sax2.Driver.setFeature(Driver.java:178)
     at org.gjt.xpp.jaxp11.SAXParserImpl.setFeatures(SAXParserImpl.java:149)
     at org.gjt.xpp.jaxp11.SAXParserImpl.init(SAXParserImpl.java:132)
     at 
 org.gjt.xpp.jaxp11.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:114)
     at 
 org.gjt.xpp.jaxp11.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:142)
     at 
 com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:324

Any guide to make our generators cacheable?

2011-06-27 Thread Gal Dolber
I see the SupportsGeneratorResultCaching interface, but I am not sure what
else I have to do to make my generators cacheable

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

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

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



Re: Ext GWT 3.0 Developer Preview 1

2011-06-16 Thread Gal Dolber
Guaw, for the first time I'm interested! looks really promising

On Thu, Jun 16, 2011 at 7:31 PM, Flori floon...@googlemail.com wrote:

 For anyone who can no longer expect it:
 http://www.sencha.com/blog/ext-gwt-3-dev-preview-1/

 Looks promising. Waiting for the first RC... ;)

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




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

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

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



Re: Overnight chrome extension with gwt: Gmail Instant Browsing

2011-06-08 Thread Gal Dolber
New version with facebook and twitter support + other features!

On Tue, Jun 7, 2011 at 7:15 PM, Alain Ekambi jazzmatad...@googlemail.comwrote:

 works great
 thank you


 2011/6/7 Gal Dolber gal.dol...@gmail.com

 Google forgot the sharing part of the chrome store.
 Try this link:
 https://chrome.google.com/webstore/detail/fpjmoncpngjdjjmdehlfcljjpmfhkpja?hl=en


 On Tue, Jun 7, 2011 at 11:49 AM, Alain Ekambi 
 jazzmatad...@googlemail.com wrote:

 Error Unknow application

 2011/6/7 Gal Dolber gal.dol...@gmail.com

 Here is a small extension I did last night:
 https://chrome.google.com/webstore/detail/fpjmoncpngjdjjmdehlfcljjpmfhkpja
 I love the new twitter app on ipad, in special the internal browser, so
 I copied it to work on gmail.
 Enjoy!

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

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




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




 --

 GWT API for  non Java based platforms
 http://code.google.com/p/gwt4air/
 http://www.gwt4air.appspot.com/


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




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

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




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




 --

 GWT API for  non Java based platforms
 http://code.google.com/p/gwt4air/
 http://www.gwt4air.appspot.com/


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




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

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

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



Re: Holy Cow! GWT Designer comes up quick in 2.4 beta?!?!

2011-06-08 Thread Gal Dolber
Could be because of this?:

#GWT https://twitter.com/#!/search?q=%23GWT trunk watch: Google projects
seeing 30-40% dev mode speedup with
http://gwt-code-reviews.appspot.com/1448801/

On Wed, Jun 8, 2011 at 9:44 AM, cri chuck.irvine...@gmail.com wrote:

 I just installed GPE 2.4 beta and it sure seems to me that GWT
 Designer design windows are coming up faster - much faster! Tell me
 I'm not imagining things. So, this must be a new feature in 2.4.
 I'm a big advocate of GWT Designer and this helps tremendously.
 Thanks!!

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




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

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

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



Overnight chrome extension with gwt: Gmail Instant Browsing

2011-06-07 Thread Gal Dolber
Here is a small extension I did last night:
https://chrome.google.com/webstore/detail/fpjmoncpngjdjjmdehlfcljjpmfhkpja
I love the new twitter app on ipad, in special the internal browser, so I
copied it to work on gmail.
Enjoy!

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

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

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



Re: Overnight chrome extension with gwt: Gmail Instant Browsing

2011-06-07 Thread Gal Dolber
Google forgot the sharing part of the chrome store.
Try this link:
https://chrome.google.com/webstore/detail/fpjmoncpngjdjjmdehlfcljjpmfhkpja?hl=en

On Tue, Jun 7, 2011 at 11:49 AM, Alain Ekambi
jazzmatad...@googlemail.comwrote:

 Error Unknow application

 2011/6/7 Gal Dolber gal.dol...@gmail.com

 Here is a small extension I did last night:
 https://chrome.google.com/webstore/detail/fpjmoncpngjdjjmdehlfcljjpmfhkpja
 I love the new twitter app on ipad, in special the internal browser, so I
 copied it to work on gmail.
 Enjoy!

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

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




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




 --

 GWT API for  non Java based platforms
 http://code.google.com/p/gwt4air/
 http://www.gwt4air.appspot.com/


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




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

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

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



Re: Re: New GWT /App engine site

2011-05-31 Thread Gal Dolber
Looks really nice!
A few things:

   - Its taking too long to load the results on a the 'list view' and there
   is no loading animation
   - The popups on the maps are collapsing
   - Same as point 1 for many other places, add loading feedback wherever
   you hit the server

Regards

On Tue, May 31, 2011 at 6:53 PM, ale aleee...@gmail.com wrote:

 Sorry,
 I will publish there!

 Thanks.

 Alessandro

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




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

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

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



Re: UiBinder and child HTML 'widgets'

2011-05-12 Thread Gal Dolber
In real its ok what you are doing(in theory Widget should be used only when
you need events), but the truth is that gwt's panels don't have any support
for UiObjects so you need to use Widget.

On Thu, May 12, 2011 at 10:07 AM, Thomas Broyer t.bro...@gmail.com wrote:

 What I don't understand is why Stat is not a Widget if you want to use it
 like a Widget.

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




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

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

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



Re: differing search result on bing, yahoo and google.com for my gwt app

2011-05-08 Thread Gal Dolber
Gwt don't have any built-in SEO support, Google is the only one supporting
ajax crawling at the moment, here is the specification:
http://code.google.com/intl/es/web/ajaxcrawling/docs/getting-started.html

On Sun, May 8, 2011 at 2:26 AM, dadada ytbr...@gmail.com wrote:

 Hi all,

 So i did a simple gwt for my personal homepage ytbryan.com

 When I search ytbryan on all three engine, bing, yahoo,google, i got
 it as the first result.

 But searching bryan lim ( my name) give me differing results which set
 me worrying.

 For google, I got it returning ytbryan.com as the first result which
 is what i wanted.

 I got nothing on bing and yahoo.

 Why? it seems like google has preference for gwt app? But gwt SEO for
 other engines is bad.

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




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

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

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



Re: When jquery meets gwt : GwtQuery 1.0.0 was released !

2011-05-03 Thread Gal Dolber
Really nice to hear news about GwtQuery!
thank for the release

On Tue, May 3, 2011 at 12:41 PM, Julien Dramaix julien.dram...@gmail.comwrote:

 On behalf of the GwtQuery team, it is my pleasure to annonce the first
 release of GwtQuery, after a long snapshot period.

 GwtQuery is a GWT port of jQuery and offers plenty of cool features
 like css type-safe, gwt
 widgets interaction, complete jquery api support, and optimised css
 selector engines.

 More info on : http://code.google.com/p/gwtquery/
 Getting started guide :
 http://code.google.com/p/gwtquery/wiki/GettingStarted

 Julien

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




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

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

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



Emulating KeyFactory.keyToString in gwt?

2011-05-03 Thread Gal Dolber
Can be done?

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

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

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



Re: Client/Server serialization/deserialization for using Hibernate with GWT

2011-05-03 Thread Gal Dolber
I have the same problem.
In my project I override AbstractSerializationStreamWriter and got
everything working. Works great, but its an ugly solution.
A cleaner way to support hibernate will be really nice to have.

On Tue, May 3, 2011 at 1:05 PM, tkrhkrb thb.rich...@gmail.com wrote:

 Hello GWTers,

 I'm working on a project using GWT and Hibernate. We love this technology
 and we would like them to coexist :-)

 We have a pre-requisite immutable : use Hibernate entities into the GWT
 presentation layer. We tested Gilead but this solution does not suit us. We
 find it overkill compared to our needs. We ‘feel’ there is a lighter
 solution to respond our needs.

 For example, we use only attribute ‘lazy=false’ in our hibernate mappings.
 We teach our developers to control relations that are loaded. If a relation
 is not loaded we would like to receive an LazyInitializationException in
 both server and client side. So we don’t need to reattach entities.

 Hibernate automatically generates proxies between objects: HibernateProxy
 in the case of a relation ? - 1 and PersistentCollection in the case of a
 relation ? - n. We would like to have CRUD with objects loaded via
 Hibernate when relations are loaded or not.

 To avoid the expensive clone and merge operations doing by Gilead. We
 wanted to try to fit in the GWT process of serialization / deserialization.

 For this we haven’t yet found other ways to copy/paste :-( multiple classes
 to override GWT methods :
 * AbstractSerializationStreamReader # readObject () (method final)
 * ServerSerializationStreamWriter # writeObject (Object) (class final)

 In the case of a relationship?  - 1 unloaded (so with a proxy), we use a
 MHibernateProxy to transfer an id to be able to retreive the proxy in
 session. We created a MHibernateProxy_CustomFieldSerializer server side and
 client side.
 We have a GWT Generator which generates for each entity a mock version of
 the entity usable if the relation is not loaded. This mock has an extra
 field for the id of the proxy and an implementation of each method of the
 entity which ‘throws a new NotLoadedException()'.

 Here is an example of the code : https://gist.github.com/953375 .

 What do you think of this ? Are we mad ?
 Is there a better way to fit into the mechanism of serialization /
 deserialization of GWT?
 Is it reasonable to ask to the GWT team to remove the final keywords in the
 class AbstractSerializationStreamReader and ServerSerializationStreamWriter?

 Thanks for your response,

 And a big thanks to the GWT team who does a really great job !

 // Thibault

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




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

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

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



Help wanted: guit maven support

2011-04-23 Thread Gal Dolber
http://code.google.com/p/guit/issues/detail?id=38

All code generation is working now for a maven project. Including the
validation plugins.

I will really appreciate help for moving guit to maven. I tried, but my
maven experience is really limited.
Anyone interested on contributing with this change please let me know.
Thanks in advance!

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

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

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



Re: how to draw a line using gwt?

2011-04-23 Thread Gal Dolber
http://gwtcanvasdemo.appspot.com/

On Sat, Apr 23, 2011 at 10:54 AM, 剑涛 何 hejiant...@gmail.com wrote:

 if there are two coordinates -p1:(x1,y1),p2:(x2,y2) in the
 browser ,how to draw an arrow from p1 to p2?

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




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

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

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



Re: Return false in Window.confirm(msg) in GwtTestCase

2011-04-18 Thread Gal Dolber
You can hide Window behind an interface and use a Mock for your tests

public interface Window {
boolean confirm(String msg);
}

public class WindowImpl implements Window {
public boolean confirm(String msg) {
return com.google.gwt,user.client.Window.confirm(msg);
}
}

public class MockWindow implements Window {
private boolean confirmation;

public void setConfirmation(boolean confirmation) {
this.confirmation = confirmation;
}

public boolean confirm(String msg) {
return confirmation;
}
}

On Mon, Apr 18, 2011 at 4:28 PM, Simon LG simon...@gmail.com wrote:

 Hi,

 I'm trying to return false when Window.confirm(msg) is called in a
 GwtTestCase. It is always returning true by HtmlUnit because it has no
 ConfirmHandlers.

 Is there a way to override this function ?

 Thanks

 Simon

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




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

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

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



why JAbstractMethod getAnnotations method is protected?

2011-04-17 Thread Gal Dolber
   com.google.gwt.dev.javac.typemodel.JAbstractMethod


Anyone has idea why this methods are protected? I have been working around
this for a year already, but it will be really useful to have access to the
annotations of a method.


  /**

   * NOTE: This method is for testing purposes only.

   */

  Annotation[] getAnnotations() {

return annotations.getAnnotations();

  }


  /**

   * NOTE: This method is for testing purposes only.

   */

  Annotation[] getDeclaredAnnotations() {

return annotations.getDeclaredAnnotations();

  }

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

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

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



Re: MVP and boilerplate code

2011-04-15 Thread Gal Dolber
Use guit :) zero boilerplate

On Fri, Apr 15, 2011 at 11:25 AM, Magno Machado magn...@gmail.com wrote:

 When using the MVP framework built in GWT it seems that we have to write a
 lot of boilerplate code.

 Is it on the plans of GWT to improve it? Any work in progress? Or will it
 stay as it is now?

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




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

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

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



  1   2   3   4   >