Re: Announcing GWT 2.0 and much, much more...

2009-12-09 Thread Rockster
GWT2.0 ROCKS!!

Seriously I was having a feature that worked perfectly with GWT1.7
in hosted mode,
but when I start running on FF and Chrome, I got strange behavior.

Thanks to the DevMode and plugin I could test it cross browser!

Many many many thanks for that.

Keep up the Good work!

Rokesh


On Dec 9, 4:32 pm, Rajeev Dayal rda...@google.com wrote:
 On Tue, Dec 8, 2009 at 11:33 PM, Brendan bcke...@gmail.com wrote:
  I had to install new software, not just update, but it found the
  latest plugin and the 2.0 sdk just fine.

  Unrelated to your question, I also had to manually switch from the 1.7
  to the 2.0 SDK in GWT settings, but that might just be my eclipse-
  plugin incompetence.

 That is the default behavior - we do not automatically switch your project's
 SDKs for you, even when you install a new SDK.





  On Dec 8, 10:18 pm, Mohamed Mansour m0.interact...@gmail.com wrote:
   Thanks GWT, any ETA when it will be available for eclipse plugin?

   Eclipse states the following:

    Cannot complete the install because one or more required items could
   not be found.
     Software being installed: Google Plugin for Eclipse 3.5
   1.2.0.v200912062003
   (com.google.gdt.eclipse.suite.e35.feature.feature.group
   1.2.0.v200912062003)
     Missing requirement: Google Plugin for Eclipse 3.5
   1.2.0.v200912062003
   (com.google.gdt.eclipse.suite.e35.feature.feature.group
   1.2.0.v200912062003) requires 'org.eclipse.wst.validation 0.0.0' but
   it could not be found

   On Dec 8, 10:13 pm, Miguel Méndez mmen...@google.com wrote:

Hi Folks!

We have some very exciting announcements today.  Please check out the
following blog post that covers the GWT 2.0 SDK, Google Plugin for
  Eclipse,
and -- brand new in GWT 2.0 -- a performance analysis tool called Speed
Tracer.  I think that you will find it pretty interesting...

   http://googlewebtoolkit.blogspot.com/2009/12/introducing-google-web-t.
  ..

--
Miguel on behalf of the GWT 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-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs 
  cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

--

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




handle to window.open opened window.

2009-10-27 Thread Rockster

Hi,

question:

with javascript you can get a handle to the window that is opened
through the window.open (native javascript).

In GWT the Window.open returns a void.

Is there a specific reason for this ? How to get the handle to the
opened window with native GWT ?

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



Re: panel in tabpanel cannot be set to invisible

2009-10-15 Thread Rockster

hi Alex,

thanks for the code-snippet. It worked out as expected.
The tabs are dynamically created, so removing them (and later adding
them) would
require that I keep references in memory to later make it visible
again.

So this code is really helpfull!



On Oct 15, 1:26 pm, Ian Bambury ianbamb...@gmail.com wrote:
 I just ran a quick test, adding and removing the same item to a tab panel
 25,000 times in Chrome, GWT1.7 - no memory increase.
 Just making the tab disappear means that you can't release the memory used
 by the corresponding widget if you wish.

 Can you post some code that demonstrates your memory increase problem?

 Ian

 http://examples.roughian.com

 2009/10/15 alex.d alex.dukhov...@googlemail.com





  Adding/removing tabbars causes increase in memory usage and with no
  possibility to trigger garbage collector it kind of sucks. Making tab
  invisible is actually easier than it sounds:

  public static void setTabVisibility(TabPanel tabs, int index, boolean
  visible)
  {
   try
   {
      if (index = tabs.getTabBar().getTabCount() || index  0)
         return;

      // Native Google implementation of TabBar uses an
  HorizontalPanel,
      // so, the DOM primary element is a table element (with just one
  tr)
      Element table = tabs.getTabBar().getElement();
      Element tr = DOM.getFirstChild(DOM.getFirstChild(table));
      // (index + 1) to account for 'first' placeholder td.
      Element td = DOM.getChild(tr, index + 1);
      UIObject.setVisible(td, visible);
   }
   catch (Exception e)
   {
      System.err.println(e);
   }
  }

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



Re: panel in tabpanel cannot be set to invisible

2009-10-14 Thread Rockster

It is customer requirement so we want to make it invisble.
I know what you mean, but other visible tabs (that are not in scope
for this user) could confuse the user.

So Again, how do I make  the tab invisible ?


On Oct 14, 8:44 am, alex.d alex.dukhov...@googlemail.com wrote:
 Do you really want to make tabs invisible or just to switch between
 them like when is clicking on one tab?

 On 13 Okt., 15:02, Ian Bambury ianbamb...@gmail.com wrote:



  You are just making the content of the deckpanel invisible, not the tab.
  Ian

 http://examples.roughian.com

  2009/10/13 Rockster rjan...@gmail.com

   Hi,

   I'm adding panels to a tabpanel and I see some strange behavior.

   The code is something like this:

   TabPanel tabPanel= new TabPanel();
   UIObject tabUI1 = createPanel();
   UIObject tabUI2 = createPanel2();

   tabPanel.add((Widget)tabUI1, title);

   tabUI2.setVisible(false);
   tabPanel.add((Widget)tabUI2, title2);

   The second tab is still shown and fully active, while I made it
   invisible.
   BTW, imagine that tabUI2 can later on be activated and become visible
   again!

   Can anyone help ?

   Seems like this issue was posted before, but no one really gave an
   answer.

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



panel in tabpanel cannot be set to invisible

2009-10-13 Thread Rockster

Hi,

I'm adding panels to a tabpanel and I see some strange behavior.

The code is something like this:

TabPanel tabPanel= new TabPanel();
UIObject tabUI1 = createPanel();
UIObject tabUI2 = createPanel2();

tabPanel.add((Widget)tabUI1, title);

tabUI2.setVisible(false);
tabPanel.add((Widget)tabUI2, title2);

The second tab is still shown and fully active, while I made it
invisible.
BTW, imagine that tabUI2 can later on be activated and become visible
again!

Can anyone help ?

Seems like this issue was posted before, but no one really gave an
answer.

Is this a flaw in the tabpanel ?






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



Re: Open Source WIdget Library

2009-10-04 Thread Rockster

or gwt-mosaic!


On Oct 3, 10:56 pm, Geraldo Lopes geraldo...@gmail.com wrote:
 Another option:

 http://code.google.com/p/google-web-toolkit-incubator/

 Geraldo

 On 3 out, 08:56, James jdrinka...@gmail.com wrote:



  Hello All,
  I've been looking for the best open source widget libraries to extend
  GWT 1.6. EXT-GWT was very good, but it's not cheap for commercial use.
  Specially there are some widgets we need ie a calendar widget that we
  don't want to do home grown if possible. I also looked at GWT-EXT, but
  I was told there were some issues using them? Any others? Just wanted
  some feedback on this.

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



Re: unable to compile gwt 1.6

2009-04-20 Thread Rockster

Hi Sumit,

this really helped! Thanks, the compilation is even faster now and I
don't need the -Xss argument anymore.
I really spend a lot of time on this and I'm glad that you guys fixed
it.

My machine was chocking with the current settings.

But how come you didn't find this before releasing the GWT 1.6.4 ?

Were large applications not part of the test suite ?

Regards  Thanks again for the tip.

Rockster.

On Apr 17, 10:43 pm, Sumit Chandel sumitchan...@google.com wrote:
 Hi Rockster,
 Passing in a stack size of 128M seems awfully huge. How much memory does
 your machine have exactly? You might want to try compiling with a more
 reasonable stack size, say -Xss2048k or -Xss4096k.

 Scott has been working on fixing the issue with the compiler requiring too
 much stack, so if this still doesn't solve the problem, you might want to
 try the patched dev JAR attached to Issue #3510 as a workaround for now.

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

 Hope that helps,
 -Sumit Chandel



 On Tue, Apr 14, 2009 at 5:20 AM, Rockster rjan...@gmail.com wrote:

  I get this stackerror:

  [gwt-compile] Exception in thread main java.lang.OutOfMemoryError:
  unable to create new native thread
  [gwt-compile]   at java.lang.Thread.start0(Native Method)
  [gwt-compile]   at java.lang.Thread.start(Thread.java:574)
  [gwt-compile]   at java.lang.Shutdown.runHooks(Shutdown.java:128)
  [gwt-compile]   at java.lang.Shutdown.sequence(Shutdown.java:173)
  [gwt-compile]   at java.lang.Shutdown.exit(Shutdown.java:218)
  [gwt-compile]   at java.lang.Runtime.exit(Runtime.java:90)
  [gwt-compile]   at java.lang.System.exit(System.java:869)
  [gwt-compile]   at com.google.gwt.dev.Compiler.main(Compiler.java:137)

  This is wrapped in a java.lang.StackOverflowError

  I'm using maven (2.0.9), jdk.1.5 (18) and ant.

  This is the ant code I'm using:

  target name=GWTCompile depends=compile
                 java classname=com.google.gwt.dev.Compiler
  taskname=gwt-compile
                         failonerror=true fork=true  
                         jvmarg value=-Xmx512M /
                         jvmarg value=-Xss128m/
                         jvmarg value=-Xms128M/
                         classpath

                                 pathelement path=${gwt-src}/ /
                                 pathelement path=${compile_classpath} /
                                 pathelement path=./src /
                         /classpath
                         arg value=com.company.MyModule /
                 /java

  I tried many different values for the heapsize. I even tried using
  jdk1.6 (with no success).

  Maven calls the antscript with maven-antrun-plugin

  What is going wrong ?

  Any help is welcome!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
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.lang.StackOverflowError with GWT

2009-04-14 Thread Rockster

So upgrading to java 1.6 is the only solution for this ?


On Apr 13, 6:50 pm, Andy antonvonpil...@gmail.com wrote:
 Well, Alex is right - I just upgraded to Java 1.6 and everything
 works.

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



unable to compile gwt 1.6

2009-04-14 Thread Rockster

I get this stackerror:

[gwt-compile] Exception in thread main java.lang.OutOfMemoryError:
unable to create new native thread
[gwt-compile]   at java.lang.Thread.start0(Native Method)
[gwt-compile]   at java.lang.Thread.start(Thread.java:574)
[gwt-compile]   at java.lang.Shutdown.runHooks(Shutdown.java:128)
[gwt-compile]   at java.lang.Shutdown.sequence(Shutdown.java:173)
[gwt-compile]   at java.lang.Shutdown.exit(Shutdown.java:218)
[gwt-compile]   at java.lang.Runtime.exit(Runtime.java:90)
[gwt-compile]   at java.lang.System.exit(System.java:869)
[gwt-compile]   at com.google.gwt.dev.Compiler.main(Compiler.java:137)

This is wrapped in a java.lang.StackOverflowError

I'm using maven (2.0.9), jdk.1.5 (18) and ant.


This is the ant code I'm using:

target name=GWTCompile depends=compile
java classname=com.google.gwt.dev.Compiler 
taskname=gwt-compile
failonerror=true fork=true  
jvmarg value=-Xmx512M /
jvmarg value=-Xss128m/
jvmarg value=-Xms128M/
classpath

pathelement path=${gwt-src}/ /
pathelement path=${compile_classpath} /
pathelement path=./src /
/classpath
arg value=com.company.MyModule /
/java



I tried many different values for the heapsize. I even tried using
jdk1.6 (with no success).

Maven calls the antscript with maven-antrun-plugin

What is going wrong ?

Any help is welcome!

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

2009-04-13 Thread Rockster

The problem is still there with Ant.

I tried -Xss4096, but still the same error.

Upgrading to jdk1.6 is not an option right now.

Anyone ?


On Apr 11, 6:57 am, Vitali Lovich vlov...@gmail.com wrote:
 1024k seems kind of small.  My Linux box has 8192k as the default according
 to ulimit.  Keep increasing the stack size (try 4096k).  Clearly that's the
 problem.



 On Fri, Apr 10, 2009 at 10:07 PM, Alex apobedim...@gmail.com wrote:

  Well, in my case it helped to upgrade JDK from 1.5.0_11 to 1.6.0_07...
  after that ant compilation worked just fine with -Xss1024k.

  On Apr 10, 6:11 pm, Alex apobedim...@gmail.com wrote:
   The same in my case: porting my 1.5.3 app to 1.6.4 and Ant fails with
   the StackOverflowError error... -Xss1024k doesn't help (helped to do
   Compile/Browse from the hosted mode though).

   Did anybody find a solution?

   On Apr 10, 3:09 am, Rockster rjan...@gmail.com wrote:

The same here. In ant I do the following:

        target name=GWTCompile depends=compile
                java classname=com.google.gwt.dev.Compiler
  taskname=gwt-compile
                        failonerror=true fork=true  
                        jvmarg value=-Xmx1G /
                        jvmarg value=-Xss1024k/
                        jvmarg value=-Xms64M/
                        classpath

                                pathelement path=${gwt-src}/ /
                                pathelement
  path=${compile_classpath} /
                                pathelement path=./src /
                        /classpath

                        arg value=com.xx.MyModule /
                /java
   /target

And still I get GWTCompile:

[gwt-compile] Compiling module com.qualogy.qafe.gwt.QAFEGWTWeb
[gwt-compile]    [ERROR] Unexpected internal compiler error
[gwt-compile] java.lang.StackOverflowError

I tried to use

sysproperty key=-Dgwt.compiler.jvmargs value=-Xmx1G -Xss1024k/

and this

sysproperty key=gwt.compiler.jvmargs value=-Xmx1G -Xss1024k/

But no success.

Can somebody help me on this ?

On Apr 9, 9:27 pm, Andy antonvonpil...@gmail.com wrote:

 I've been trying to upgrade to 1.6.4, but am also getting this error.

 I use Ant to build my WAR, so I added the JVM arg to my script, but
  no
 matter what value I specify, it doesn't make any difference.

 ...and I get an OutOfMemoryException is I set it too high!

 Will using the Eclipse plug-in make any difference?

 I have one super module, so would breaking it apart into smaller
 components help?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
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.lang.StackOverflowError with GWT

2009-04-13 Thread Rockster

This is what I do and it fails

The sysproperty doesn't have any effect.

Hope to hear from you guys soon (again, I'm using jdk1.5/winxp).



target name=GWTCompile depends=compile
java classname=com.google.gwt.dev.Compiler 
taskname=gwt-compile
failonerror=true fork=true  
jvmarg value=-Xmx1G /
jvmarg value=-Xss4096k/
jvmarg value=-Xms64M/
!--sysproperty key=-Dgwt.compiler.jvmargs 
value=-Xmx1G -
Xss1024k/--
classpath

pathelement path=${gwt-src}/ /
pathelement path=${compile_classpath} /
pathelement path=./src /
/classpath
arg value=com.company.MyModule /
/java

On Apr 13, 11:24 am, Vitali Lovich vlov...@gmail.com wrote:
 Heap space isn't his problem - he's running out of stack.  Also, GWTCompiler
 is 1.5 - he's using 1.6 (from what I gather, because this wasn't an issue
 with 1.5) where it is just Compiler.

 Can you try to just keep increasing the stack size?  Also, can you post the
 ant task you are using - maybe you're passing in the options incorrectly.

 On Mon, Apr 13, 2009 at 4:52 AM, Shawn Brown 
 big.coffee.lo...@gmail.comwrote:





  What about using something like:

  java fork=true maxmemory=1024m
   classname=com.google.gwt.dev.GWTCompiler
                         jvmarg line=-XstartOnFirstThread /
  ...

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



Re: java.lang.StackOverflowError with GWT

2009-04-10 Thread Rockster

The same here. In ant I do the following:

target name=GWTCompile depends=compile
java classname=com.google.gwt.dev.Compiler 
taskname=gwt-compile
failonerror=true fork=true  
jvmarg value=-Xmx1G /
jvmarg value=-Xss1024k/
jvmarg value=-Xms64M/
classpath

pathelement path=${gwt-src}/ /
pathelement path=${compile_classpath} /
pathelement path=./src /
/classpath

arg value=com.xx.MyModule /
/java
   /target

And still I get GWTCompile:

[gwt-compile] Compiling module com.qualogy.qafe.gwt.QAFEGWTWeb
[gwt-compile][ERROR] Unexpected internal compiler error
[gwt-compile] java.lang.StackOverflowError

I tried to use

sysproperty key=-Dgwt.compiler.jvmargs value=-Xmx1G -Xss1024k/

and this

sysproperty key=gwt.compiler.jvmargs value=-Xmx1G -Xss1024k/

But no success.

Can somebody help me on this ?





On Apr 9, 9:27 pm, Andy antonvonpil...@gmail.com wrote:
 I've been trying to upgrade to 1.6.4, but am also getting this error.

 I use Ant to build my WAR, so I added the JVM arg to my script, but no
 matter what value I specify, it doesn't make any difference.

 ...and I get an OutOfMemoryException is I set it too high!

 Will using the Eclipse plug-in make any difference?

 I have one super module, so would breaking it apart into smaller
 components help?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
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 not use applets?

2009-04-01 Thread Rockster

I don't want to think of a situation where you have to install plugins
to use your webapplications. Don't get me wrong, I like Adobe Flex.
But doesn't run on any device (read: phone!)

Now I can walk with my iPhone and access almost any application.

Javascript nowadays seems almost as fast as plugin technologies
GWT is a nice example of this.



On Mar 31, 10:15 pm, Clint Gilbert
clint.gilb...@childrens.harvard.edu wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 That may be true, but the perceptual damage is done.  I never bothered to 
 keep up with
 Applet developments because the user experience was so bad for so long.  (10+ 
 years?  I'm
 pretty sure I saw my first applet in 1995, but I don't know if it was running 
 in a browser.)

 So does the JVM plugin start up as fast as Flash now?  If so, that's great.

 D Peters wrote:
  For the record -- a significant amount of the common applet
  performance gripes were cleared up in 6u10.  I'm suprised that so many
  java developers know nothing about this release.  This was a milestone
  for JavaFX to move forward -- since it was built on top of a lot of
  these improvements.  If you don't mind JavaFX in the browser (it
  doesnt have to run as JNLP, by the way)-- then you probably won't mind
  using an applet -- because it is essentially running as an applet.  As
  more people develop JavaFX applications, and it becomes more
  widespread, you will have a broader base of users who can also use
  applets.

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)

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



Re: How to debug IE6 crash

2009-03-12 Thread Rockster

I have the same problem now with IE6 (and seems to be also in IE7).

Somehow, when you close the IE window, an error message pops up
with the message that an error occured in the script of this page.

Do I want to continue ? 

If you click yes, and go to that URL in a new window (since the
previous window
had to be closed in order to get the error message) the program
continues to perform as expected.

IE6 is the worst browser! (Maybe IE7 is even worse)

Firefox, opera, Chrome, Safari all perform as expected.





On Mar 12, 1:30 pm, Austen awconsta...@gmail.com wrote:
 Thanks Adam. I suspected that may be the only way.

 After some persistence using the comment-out-and-run method I've got
 the bottom of the issue.

 I was updating results in my app by replacing the FlexTable with a new
 FlexTable on every update. Which I guess defeats the whole point of a
 FlexTable!
 I've now reworked things so that I create one FlexTable on loading the
 app and each update only alters the relevant rows in the table.
 IE6 is now crash free again.

 On Mar 12, 7:46 am, alex.d alex.dukhov...@googlemail.com wrote:



  This kind of stuff with IE6 sucks. I had a problem like yours once and
  i ended up with commenting my code out part by part and putting a lot
  of Window.alert() in it :(

  On 11 Mrz., 19:52, Austen awconsta...@gmail.com wrote:

   Hi,

   I have a problem with IE6 crashing when using my app.
   The app works fine in IE7/FF3/Chrome etc.

   I'm attempting to use MS script debugger with no luck. The error isn't
   caught by script debugger (or maybe it is, but it crashes before I can
   view it) and when I try and step line by line IE6 still crashes before
   I get to see anything interesting.

   The problem is, how do I find the problem?!

   Anyone got an idea on how to proceed?

   Thanks in advance

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



How to Recover from java.lang.IllegalStateException: Should only call onDetach when the widget is attached to the browser's document

2009-03-10 Thread Rockster

Hi,

this problem is highly annoying. I'm dynamically setting panels
contents with this code:


   if (w instanceof HasWidgets  ui
instanceof HasWidgets){
 // clear the elements
HasWidgets target = (HasWidgets)w;
target.clear();

HasWidgets source = (HasWidgets)ui;
IteratorWidget itr = 
source.iterator();
while (itr.hasNext()){
target.add((Widget)itr.next());
}
}

The exception occurs at target.clear() statement


This works perfectly in Firefox, Chrome, Safari, but Of course IE6/7
is the problem (apparently the screen was still building)..
I noticed that this happens if the clicking fast (so that setting the
panel to another occurs)
results in this behavior.

Is there a workaround for this ? Do I have to change something.


Regards,
Rockster

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



Re: What are your thoughts on Cappuccino and SproutCore?

2009-02-27 Thread Rockster

Looks nice though.
I checked the video and was impressed

(only thing : yet another language to learn Objective J, not hard, but
again another one...)


On Feb 26, 2:26 pm, ivo ivo.reduto.fre...@gmail.com wrote:
 Cappuccino and SproutCore have been around for a while and they are
 really starting to make an impression on web developers.

 I've been using GWT in one project for 2 months, and I'm loving it.
 However I tried out Cappuccino, just to get the felling of it, and I
 was truly impressed. I was able to re-design the project's UI in
 Cappuccino in one week, and it seems to me that a lot of my server
 side code can be re-utilized if I use something like cp2javaws
 (haven't tried it).

 So, my question to you guys is how will GWT compete with Cappuccino or
 SproutCore, (and I'm not even mentioning JavaFX), and if you have
 anything planned to extend GWT capabilities of building really rich
 UIs just as easy as Cappuccino.

 Don't get me wrong, I'm a truly GWT lover. In my opinion GWT is
 superior in both performance and code security (minimization /
 obfuscation), but right now I'm really tempted to throw away 2 months
 of GWT work...

 Some pointers:http://280atlas.com/(just announced, I recommend watching the 
 video)http://cappuccino.org/http://sourceforge.net/projects/cp2javaws/http://www.carsonified.com/web-apps/why-objective-j-cappuccino-and-sp...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Struts+GWT

2009-02-13 Thread Rockster

I totally agree with Gregor.

Struts is for navigational purpose in Classic WebApplications (let's
call that Web1.0 technology).
Struts became an industry standard in the Web1.0 era.

The programming model behind GWT is like it was before web: Just
create an application and don't worry about
request/response etc. Everyhing happens in that application.

My suggestion to you:

A struts appliction contains Actions. The Body of the Actions should
in fact NOT contain any business logic.
That's where the SOA kicks in.  You might have the real logic in the
body of another class.
You can reuse that class

So (in the old case)

MyAction extends Action {

  MyService myService = new MyService()
   execute(req,resp){

   // of course you have here some navigational actions
myService.businessMethod(...)

   }

}


In GWT this is the RPC/RPCImplementation/RPCAsync combination.

RPCImpl implements RPC{

doSomething(){

   }

}

   There you can reuse your MyService class.


BTW: MyService is nothing fancy, just a class (best with Interface and
separate implementation).
From this point on you can use anything you want (Spring,
hibernate,etc!).

Good luck,
Rockster

On Feb 12, 1:26 pm, gregor greg.power...@googlemail.com wrote:
 I would search the group for many posts about struts and GWT. Some
 people are forced to integrate GWT with legacy struts systems, but the
 bottom line is that if you are starting out a new app, you do not need
 to use struts. Use GWT RPC.

 On Feb 12, 10:09 am, Rockster rjan...@gmail.com wrote:



  Could you state what the reason is you want to use Struts in
  combination with GWT ?

  On Feb 12, 8:37 am, GWT GWT rdforj...@gmail.com wrote:

   Hi ,
   I am trying to develp an application using GWT+Struts .
   I had search on net But I am not getting tutorial to develop  an 
   application
   using GWT+Struts.
   So from where will I get that tutorial.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Struts+GWT

2009-02-12 Thread Rockster

Could you state what the reason is you want to use Struts in
combination with GWT ?



On Feb 12, 8:37 am, GWT GWT rdforj...@gmail.com wrote:
 Hi ,
 I am trying to develp an application using GWT+Struts .
 I had search on net But I am not getting tutorial to develop  an application
 using GWT+Struts.
 So from where will I get that tutorial.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email 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 hosting parties

2009-02-11 Thread Rockster

Hi,

I'm about to use GWT for customers. I'm using Tomcat currently for
beta deployments on my server. (Of course Jetty is also a good one).

Can anyone advise me on good Tomcat/Jetty hosting ? Do you have
experience with it ?


Kind regards,
Rockster
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
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 hosting parties

2009-02-11 Thread Rockster

Super. Indeed I could not find proper hosting, but this a great
solution (it seems).

Thanks for the info.


On Feb 11, 5:59 pm, mbracken levi.brac...@gmail.com wrote:
 Not sure if you're looking for a host with tomcat ready to go, but if
 you're looking to roll your own setup I'd check out slicehost.   Good
 tutorials on how to setup your instance with tomcat too.

 On Feb 11, 5:30 am, Rockster rjan...@gmail.com wrote:



  Hi,

  I'm about to use GWT for customers. I'm using Tomcat currently for
  beta deployments on my server. (Of course Jetty is also a good one).

  Can anyone advise me on good Tomcat/Jetty hosting ? Do you have
  experience with it ?

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



Re: Who's Using GWT?

2009-01-13 Thread Rockster

Hi,

Website: http://www.qafe.com
Tagline: Building Enterprise Applications  Made Easy
Status: beta, http://demo.qafe.com  is live !

Summary:
QAFE is a framework to easily create Enterprise Applications  with all
requirements that are needed in these environments. It's fully
declarative
except for the complex logic (you write that in Java/Database stored
procedures). There is a declarative UI and the interaction
with the backend is also declarative. So no javascript/java/complex
architectures.
The architecture is divided in several and design patterns are applied
under
the hood. Data transfer from any datasource (Java source/Database) is
generalized
in such a way, that even this is easy. Idea is NOT to bother
(database) developers
with object orientation (it's a totally different mindset).

The UI is abstracted from any technology, which makes it possible to
render
any presentation technology. Currently to GWT and (not final) Adobe's
Flex (or any other presentation technology in future).

The SOA consumes java (service) classes with easy as well as the
interaction
with databases (tables/stored procedures/ custom SQL, etc). There is
no need for Java/javascript.
Just XML

We are setting up the site. In the http://demo.qafe.com
you can try out the code from the Showcase in the QAFE Labs Try
memenu.
So in fact with QAFE you can create any application with ease.

GWT made so much possible. Without GWT this project would not work.
GWT has a clean base and doesn't rely on javascript libraries.
Optimized output is super.

Looking forward to your feedback.

Rockster.


On Jan 10, 6:15 am, krishna krishnakum...@gmail.com wrote:
 Hi All,

 We developed a p2p micro-lending platform using GWT -http://www.rangde.org

 We've also developed a theme generator for GWT -http://works.sen-sei.in/gtg

 Things that we are looking forward to in GWT and related areas are

 1. API for developing opensocial applications
 2. Seamless integration with GAE
 3. Any tool/feature that can help in SEO

 Regards,
 Krishna

 On Dec 12 2008, 6:39 am, Sumit Chandel sumitchan...@google.com
 wrote:



  Hello everyone,

  We've recently updated the GWT homepage to include a page displaying a
  non-exhaustive list of applications that are built with GWT. We were
  also able to capture a few developers on video for those who happened
  to be around the Google Mountain View area and developed awesome
  applications using GWT. Check out more details on both of these at the
  link below:

  Who's Using GWT?:http://code.google.com/webtoolkit/app_gallery.html

  It's great that we were able to catch some of our local developers on
  video, but we know there are other great stories out there from other
  developers in the community. So, I thought it would be cool if I
  stickied this Groups thread for community members to share their
  experience with everyone.

  Feel free to post up your own GWT application(s), along with your most
  loved / requested features and any tips and tricks you've come across
  as you developed your applications that you'd like to share with the
  rest of the community. Looking forward to hearing from you.

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



Re: Need for a great GWT GUI library

2008-12-22 Thread Rockster


I'm using gwt-mosaicand it's very good. SmartGWT is in fact a
javascript wrapper for the SmartClient js library.
For native GWT, go for gwt-mosaic.




On Dec 22, 9:16 am, Miles T. dupont.nico...@gmail.com wrote:
 Hi Juan,

 Ext GWT (aka gxt, previously MyGWT) is a full GWT solution (no
 wrapping JS library). It provides :
 - containers and layouts
 - MVC layer
 - complete look and feels
 - rich set of widgets (including grids, drag and drop...)
 - form data binding
 - lazy rendering
 Drawbacks :
 - bugs : as the library is young, there are some bugs, but they are
 quickly fixed when you post a ticket (and there are almost always
 workarounds when you can't wait).
 - slower but not slow : In hosted mode, start time will be slower than
 a vanilla GWT app, but I don't get any performance issue once the
 app is launched
 - GPL license or pay (it can be a drawback for people who neither can
 release under GPL nor can pay)
 I use it since April 2008 in an internal app (223 classes for the GWT
 side) and it saves me a lot of time. I don't have to write a line of
 HTML/CSS code.

 Regards

 On Dec 21, 10:39 pm, ckendrick charles.kendr...@gmail.com wrote:

  If SmartGWT seems slow, just disable Firebug or similar development
  utilities, and be sure you haven't done anything like completely
  disabling browser caching.  For normal end users who don't have these
  tools or settings, it's quick.

  On Dec 19, 7:13 am, Juan Backson juanback...@gmail.com wrote:

   Smart-GWT - slow and memory intensive
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email 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 1.5.3. and gwt-dnd-2.5.6 fails

2008-10-21 Thread Rockster

When you startup a project with gwt-dnd-2.5.6 and gwt 1.5.3 a failure
occurs.

[ERROR] Errors in 'jar:file:gwt-dnd-2.5.6.jar!/com/allen_sauer/gwt/dnd/
client/DropControllerCollection.java'
[ERROR] Line 51: The constructor WidgetArea(Widget, null) is undefined
[ERROR] Line 135: The constructor WidgetArea(Panel, null) is undefined


Please, can someone confirm this and what to do ?

Im currently downgrading to 1.5.2. of GWT.

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



Re: GWT 1.5.3. and gwt-dnd-2.5.6 fails

2008-10-21 Thread Rockster

Found the problem:

library dependencies is one thing, the other is that I was also using
gwt-mosaic, which includes
a source code copy of the gwt-dnd (the exact package name was to be
found for WidgetArea).


On Oct 21, 11:11 am, Rockster [EMAIL PROTECTED] wrote:
 When you startup a project with gwt-dnd-2.5.6 and gwt 1.5.3 a failure
 occurs.

 [ERROR] Errors in 'jar:file:gwt-dnd-2.5.6.jar!/com/allen_sauer/gwt/dnd/
 client/DropControllerCollection.java'
 [ERROR] Line 51: The constructor WidgetArea(Widget, null) is undefined
 [ERROR] Line 135: The constructor WidgetArea(Panel, null) is undefined

 Please, can someone confirm this and what to do ?

 Im currently downgrading to 1.5.2. of GWT.

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