Friday, November 30, 2012

Re: Trying to optimize a widget that is used a LOT of times...

Option D works perfectly !

Merci Thomas.

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

Re: GWT Hosted Mode With Sub Projects

How would I do this in eclipse?

On Wednesday, 28 November 2012 17:17:12 UTC, Jens wrote:
Your sub project contains GWT modules that you inherit in your main app so the GWT compiler can actually see the source of your sub project?

Is your classpath for hosted mode correct? It should contain classes and sources (and resources like *.gwt.xml if you have them in a separate folder) of your sub project. 

-- J.


Am Mittwoch, 28. November 2012 17:33:08 UTC+1 schrieb Callist:
Hi,

How do I run GWT in hosted mode in a project which inherits from another project? I get errors saying that the classes in the second project cannot be found and may need to be inherited. It works perfectly fine our of hosted mode though - any ideas? P.S - I am not using maven.

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

Re: Trying to optimize a widget that is used a LOT of times...

I'd rather use option C or D:

C: use Widget rather than Composite
D: use a HTML widget (possibly HTMLPanel) as root

You don't need to use a FocusPanel to listener to mouse events, addDomHandler is public.

On Saturday, December 1, 2012 1:22:19 AM UTC+1, regnoult axel wrote:
Hello,

I am sorry for the unprecise subject, but I would like to know what should be "the smallest memory consuming" OR "the fastest loading" solution for my widget that I will heavily use (displaying it a hundred times so I think that the little differences should be considered....).

The 2 possibility of the same widget are:

case A:
g:HTMLPanel
   g:Image
   g:Label
   g:Label

case B:
g:FocusPanel
  img
  label
  label

NB:
- img is smaller than g:Image     and     label is smaller than g:Label
 
- I need a special rollover behavior
(cf. images in the attachement, when I rollover, a light background appear...) , that is why I use the Focus panel (case B) in order to use "the MouseOver Event" all over the widget.

- In case A, let say that I need to implement 3 times the same behavior (MouseOver the img, MouseOver the label....) in order to trigger the background effect all over the widget.

Question:
Does SpeedTracer is the only tool to mesure the difference between my 2 solutions OR is it obvious that case B will be faster to load ?


Thanks you for your help,





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

Trying to optimize a widget that is used a LOT of times...

Hello,

I am sorry for the unprecise subject, but I would like to know what should be "the smallest memory consuming" OR "the fastest loading" solution for my widget that I will heavily use (displaying it a hundred times so I think that the little differences should be considered....).

The 2 possibility of the same widget are:

case A:
g:HTMLPanel
   g:Image
   g:Label
   g:Label

case B:
g:FocusPanel
  img
  label
  label

NB:
- img is smaller than g:Image     and     label is smaller than g:Label
 
- I need a special rollover behavior
(cf. images in the attachement, when I rollover, a light background appear...) , that is why I use the Focus panel (case B) in order to use "the MouseOver Event" all over the widget.

- In case A, let say that I need to implement 3 times the same behavior (MouseOver the img, MouseOver the label....) in order to trigger the background effect all over the widget.

Question:
Does SpeedTracer is the only tool to mesure the difference between my 2 solutions OR is it obvious that case B will be faster to load ?


Thanks you for your help,





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

Re: Debug GWT in JBOSS


On Friday, November 30, 2012 11:26:19 PM UTC+1, James wrote:
What are options to debug GWT in JBOSS? Should I use Jboss tool plugin for Eclipse? I just added a GWT module into Strut application running in Jboss. Should I run a separate a GWT code server or run a GWT code server inside Jboss process?


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

Debug GWT in JBOSS

What are options to debug GWT in JBOSS? Should I use Jboss tool plugin for Eclipse? I just added a GWT module into Strut application running in Jboss. Should I run a separate a GWT code server or run a GWT code server inside Jboss process?


James

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

Re: http://gwtgallery.appspot.com/

No news on this? Seems to be broken at the moment. "next" button gives 500 and trying to submit an entry gives 500.
 
Cheers
 
Sam
 

On Wednesday, July 25, 2012 1:46:24 PM UTC+1, Finbox wrote:
Hi All,

we would like to add the web app we made using gwt, in the gwt app list but we noticed that the site seems to be no more
maintained. Is it true? Where we can publish the gwt apps?

Overlook Soft

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

Re: GWT 2.5 RC1 issue -- com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.

There was a similar question today on StackOverflow: http://stackoverflow.com/q/13641849/116472
The problem was a method with the same name as the class, apparently GWT confused it with a constructor.

On Friday, November 30, 2012 7:20:14 PM UTC+1, Eugene Ivlev wrote:
I have the same problem after switching to gwt 2.5.0 from 2.4.0. Do you have any solution?

пятница, 5 октября 2012 г., 17:30:55 UTC+3 пользователь bkc написал:
Bump -- the problem still happens in GWT 2.5 RC2.

On Saturday, July 7, 2012 8:27:53 AM UTC-7, bkc wrote:
Here is the relevant output from the gwtc target in ant with -logLevel set to ALL.  I am using SmartGWT 3.0 (the current latest release); the error below suggests an incompatibility between the GWT 2.5 RC1 compiler and SmartGWT 3.0 (everything compiles fine with GWT 2.4).  Please let me know how I can be of further assistance.

     [java]       Resolving com.smartgwt.client.i18n.SmartGwtMessages_
     [java]          Found type 'com.smartgwt.client.i18n.SmartGwtMessages_'
     [java]    [ERROR] An internal compiler exception occurred
     [java] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
     [java] at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:109)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
     [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:116)
     [java] at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:48)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)
     [java] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
     [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:137)
     [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:133)
     [java] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:82)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
     [java] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:426)
     [java] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:395)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:902)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:627)
     [java] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:604)
     [java] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
     [java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:278)
     [java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
     [java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
     [java] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
     [java] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
     [java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
     [java] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
     [java] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
     [java] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
     [java] Caused by: java.lang.ClassCastException: com.google.gwt.dev.jjs.ast.JMethod cannot be cast to com.google.gwt.dev.jjs.ast.JConstructor
     [java] at com.google.gwt.dev.jjs.ast.JNewInstance.getTarget(JNewInstance.java:56)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:275)
     [java] at com.google.gwt.dev.jjs.ast.JNewInstance.traverse(JNewInstance.java:86)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
     [java] ... 32 more
     [java]       [ERROR] at Main.java(131): <source info not available>
     [java]          com.google.gwt.dev.jjs.ast.JNewInstance
     [java]       [ERROR] at Main.java(131): <source info not available>
     [java]          com.google.gwt.dev.jjs.ast.JDeclarationStatement
     [java]       [ERROR] at Main.java(103): <source info not available>
     [java]          com.google.gwt.dev.jjs.ast.JBlock
     [java]       [ERROR] at Main.java(103): <source info not available>
     [java]          com.google.gwt.dev.jjs.ast.JMethodBody
     [java]       [ERROR] at Main.java(103): private static final void $clinit();
     [java] 
     [java]          com.google.gwt.dev.jjs.ast.JMethod
     [java] Shutting down PersistentUnitCache thread

Thanks,
Bryant

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

Re: GWT 2.5 RC1 issue -- com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.

I have the same problem after switching to gwt 2.5.0 from 2.4.0. Do you have any solution?

пятница, 5 октября 2012 г., 17:30:55 UTC+3 пользователь bkc написал:
Bump -- the problem still happens in GWT 2.5 RC2.

On Saturday, July 7, 2012 8:27:53 AM UTC-7, bkc wrote:
Here is the relevant output from the gwtc target in ant with -logLevel set to ALL.  I am using SmartGWT 3.0 (the current latest release); the error below suggests an incompatibility between the GWT 2.5 RC1 compiler and SmartGWT 3.0 (everything compiles fine with GWT 2.4).  Please let me know how I can be of further assistance.

     [java]       Resolving com.smartgwt.client.i18n.SmartGwtMessages_
     [java]          Found type 'com.smartgwt.client.i18n.SmartGwtMessages_'
     [java]    [ERROR] An internal compiler exception occurred
     [java] com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
     [java] at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:109)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
     [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:116)
     [java] at com.google.gwt.dev.jjs.ast.JDeclarationStatement.traverse(JDeclarationStatement.java:48)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)
     [java] at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
     [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:137)
     [java] at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:133)
     [java] at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:82)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
     [java] at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:426)
     [java] at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:395)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:902)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:627)
     [java] at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:604)
     [java] at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
     [java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:278)
     [java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
     [java] at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
     [java] at com.google.gwt.dev.Compiler.run(Compiler.java:232)
     [java] at com.google.gwt.dev.Compiler.run(Compiler.java:198)
     [java] at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
     [java] at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
     [java] at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
     [java] at com.google.gwt.dev.Compiler.main(Compiler.java:177)
     [java] Caused by: java.lang.ClassCastException: com.google.gwt.dev.jjs.ast.JMethod cannot be cast to com.google.gwt.dev.jjs.ast.JConstructor
     [java] at com.google.gwt.dev.jjs.ast.JNewInstance.getTarget(JNewInstance.java:56)
     [java] at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.endVisit(UnifyAst.java:275)
     [java] at com.google.gwt.dev.jjs.ast.JNewInstance.traverse(JNewInstance.java:86)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
     [java] at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
     [java] ... 32 more
     [java]       [ERROR] at Main.java(131): <source info not available>
     [java]          com.google.gwt.dev.jjs.ast.JNewInstance
     [java]       [ERROR] at Main.java(131): <source info not available>
     [java]          com.google.gwt.dev.jjs.ast.JDeclarationStatement
     [java]       [ERROR] at Main.java(103): <source info not available>
     [java]          com.google.gwt.dev.jjs.ast.JBlock
     [java]       [ERROR] at Main.java(103): <source info not available>
     [java]          com.google.gwt.dev.jjs.ast.JMethodBody
     [java]       [ERROR] at Main.java(103): private static final void $clinit();
     [java] 
     [java]          com.google.gwt.dev.jjs.ast.JMethod
     [java] Shutting down PersistentUnitCache thread

Thanks,
Bryant

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

Re: Looks like a GWT compiler and/or GIN error.

Thanks Thomas.  That's exactly what I needed.

Also, thanks for the constructive criticism.  I wasn't aware the factories are not normally used for value objects, and it did seem to be muddying the waters a bit.

On Friday, November 30, 2012 3:20:24 AM UTC-8, Thomas Broyer wrote:


On Friday, November 30, 2012 9:14:03 AM UTC+1, seas wrote:
I've got a class, TestPlace, that derives from Place that takes two parameters, both Strings.

I use GIN so I have a PlaceFactory to create instances of my places.

Places are value-objects, so it's not clear to me why you need a factory (and how it's related to using GIN).
 
 It has a method for creating TestPlace that has two String parameters.

It all looks pretty straight forward, except that inside the TestPlace constructor, both strings end up being the first parameter in the call to the factory method!

Here's the TestPlace constructor:
<pre>
@Inject
public TestPlace (@Assisted String testId, @Assisted String authType) {

 

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

Re: Strange RPC regression in GWT 2.5

Also see: https://groups.google.com/forum/#!topic/google-web-toolkit/gh7NbjaSb-k/discussion

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

Re: Strange RPC regression in GWT 2.5

You should warn your customers then using iOS6 can result in unpredictable app behavior. Its not just the POST caching issue in iOS 6. The JS engine on iOS 6 seems to have some serious bugs. In this group someone posted an iOS 6 issue where HashMap.put stops working for him (maybe related to your issue as you use HashMaps). 

My example:

An app that works with GWT 2.4 stops working with GWT 2.5 on iOS 6 but both versions work with iOS 5. To investigate we connected to iOS 6 using Safari's remote debugging tools and suddenly the app works again with GWT 2.5 and no further modifications. Disconnect from remote debugging lets the app break again. Also it does not always break at the same app state. Sometimes it simply fails to load and sometimes it loads but fails during a place change.

Normally we send unexpected JS exceptions to a server so we can deobfuscate its stack trace and fix it. In this case nothing gets send to the server so we had to add some logging code as we cant remote debug. So we added a while loop which prints the exception stack trace (its a while loop because of possible GWT UmbrellaExceptions), compiled the app and suddenly it works again. Then removed the code again, recompiled and its broken again.

We have taken both compilations (with and without this logging while loop), corrected the GWT generated MD5 file names and then run a diff on everything. The only difference was the while loop code, that really was very very simple. So about 10 lines of code are different.

So we keep the loop in, it really does nothing, but the app "somehow works" on iOS 6 with GWT 2.5 but maybe it still breaks in certain circumstances.

No idea whats going on here but I hope that Apple will know whats going on and will fix its JS engine in iOS 6.1. Not sure what they have done but they clearly have done something wrong.

So be prepared that you simply can't solve your issue.

-- J.

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

Re: prefix on obfuscated function names

What linker are you using? With the xsiframe linker the GWT code is loaded inside of its own frame and as such should not be susceptible to such namespace pollution from other libs.

See the recent post that addressed this same issue as it is common:
https://groups.google.com/forum/?fromgroups=#!topic/google-web-toolkit/B_2eMM3LfcU



Sincerely,
Joseph

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

Re: upload file on host from diiferent pages and get back response to the same page

You're looking to achieve two things here:
  • Do a file upload
  • Return an arbitrary object from an RPC
In that case, dig around on the forums as this has been asked and answered before:
https://groups.google.com/forum/?fromgroups=#!searchin/google-web-toolkit/upload$20rpc/google-web-toolkit/dgIg6eVjIWU/h_3Q9z7RppEJ

Sincerely,
Joseph

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

Re: Strange RPC regression in GWT 2.5

Good suggestion, but we've addressed that issue (and it was also an issue with GWT 2.4 so backporting wouldn't have resolved it). iOS 6.0.1 also stopped caching posts. Thanks for the input!

On Friday, November 30, 2012 10:43:30 AM UTC-5, Joseph Lust wrote:
A shot in the dark here, but have you seen the iOS6 Post Caching issue? If your app was caching an earlier blank response, that could be the issue.


Sincerely,
Joseph

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

Re: gwt-dnd - Vertical (VerticalPanelDropController) and Tab (TabSelectingDropController) use

David,

You might want to make the default on those pages for the user-select css property to none so that people don't highlight random bits of the page while tying to drag and drop around. Nice work.


Sincerely,
Joseph

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

Re: Anyone used GWT with Require.js?

An update here. The external team writing in RequireJS was not so amicable about sending RequireJS packing into the night.

So, we did 2 things:
  • Had them use the feature in RequireJS to compile to a single file with their Optimizer.
  • Had them expose the needed method in the global name space (window obj) so we can call them from GWT.

I hope this helps anyone else facing the same issue.

Sincerely,
Joseph

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

Re: Strange RPC regression in GWT 2.5

A shot in the dark here, but have you seen the iOS6 Post Caching issue? If your app was caching an earlier blank response, that could be the issue.


Sincerely,
Joseph

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

Re: RootPanel --> OutClickEvent -- > how to detect click event out of the HTML Page it self ?

To detect when the user has left the window, you can also look as the new page visibility API in HTML5.
See the explication/example here: http://davidwalsh.name/page-visibility


Sincerely,
Joseph

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

Re: DataGrid with several tbody elements possible


So, maybe my question should have been, "How to provide my own HtmlBuilderFactory".

That wouldn't help. HtmlBuilderFactory is only a type-safe way of building a SafeHtml.

Have a look at AbstractCellTable and how it depends on having a single tbody. If you really need/want several tbodies, you'll have to fork the whole thing; so you could then fork CellTableBuilder to allow it to create several sections (I wonder what kind of "element builder" it could return from finish() though). If I were you, I'd first ask myself whether I really need those multiple tbodies…

Thank you for your answer Thomas.

Yes, I really need it, when there is a way to get there in an acceptable timespan. I'll look into the AbstractCellTable as you suggested and decide then.


Cheers,
Michael

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

Strange RPC regression in GWT 2.5

I'm not logging an issue yet because I don't have nearly enough information to attempt to document the issue. Instead, I wanted to share what I'm seeing and to see if anyone else has had a similar experience.

For some background, we have a mature GWT application and have been happily using GWT in production since around 1.5 and were experimenting with it a little before that. The code that is suddenly causing issues hasn't been touched in a while. The product is TeamPage at http://tractionsoftware.com

The issue is as follows:

* About 50% of the time when clicking and holding a hash style link and selecting "Open in New Tab" on iOS 6, part of the RPC response is not properly deserialized. It can also happen when clicking a link from an email message that opens in Safari in a new tab.

As you can imagine, we've been struggling to diagnose this. It only happens in iOS6 and only when opening in a new tab or a fresh view. We have not seen any similar issues in any other browsers.

I tried a GWT build from r11390 and it still happens. I reverted to GWT 2.4 and the problem went away.

We have an RPC service method that looks like this:

    public ViewData get(ViewRequest request) throws GwtTractionException;

The ViewData object returned looks like this:

    public final class ViewData implements ViewContent, GetProperty2 {
        private String name;
        private HashMap<String,String> properties = new HashMap<String,String>();
        private HashMap<String,ArrayList<ViewContent>> content;
    }

ViewContent is a simple marker interface for Objects that can be sent back as view content. Since ViewData implements ViewContent, we often have a recursive tree of ViewData, but a few other objects implement ViewContent as well.

    public interface ViewContent extends IsSerializable {}

* The problem is that content comes back empty, when in fact it should have data. properties and name are properly deserialized and non-empty. content is undefined.

I've inspected with wireshark and the RPC payload is identical in cases that work and fail. As I mentioned, it only fails 50% of the time. When it fails, the value of "content" in javascript is undefined and a ViewContent implementation that we expect to be there causes an UmbrellaException with TypeError of 'null' is not an object.

So my questions are as follows:

1) Is anyone else seeing strange RPC issues from iOS 6 when opening links in new tabs?

2) Does anyone have a suggestion on where I should look in GWT src to investigate the issue?

Sorry this is so vague. I'm happy to provide any more information that might be helpful.

-Andy




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

Re: Firefox 17 dev plugin

On Friday, November 30, 2012 9:44:18 AM UTC-5, Thomas Broyer wrote:


On Friday, November 30, 2012 3:28:57 PM UTC+1, Thad wrote:
I downloaded the XPI:  In Chrome, from http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt, right click on gwt-dev-plugin.xpi, "Save link as..." to my desktop.

This is **not** the XPI, it's a web page!
As Brian explained in the issue tracker: follow that link, then download the target of the "view raw file" link.

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

Re: Firefox 17 dev plugin



On Friday, November 30, 2012 3:28:57 PM UTC+1, Thad wrote:
I downloaded the XPI:  In Chrome, from http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt, right click on gwt-dev-plugin.xpi, "Save link as..." to my desktop.

This is **not** the XPI, it's a web page!
As Brian explained in the issue tracker: follow that link, then download the target of the "view raw file" link.

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

Re: prefix on obfuscated function names

There is a simple way: rewrite the name obfuscator class of GWT compiler and recompile it. I just do it and it works.

On Thursday, November 29, 2012 3:41:41 PM UTC-5, Gasotelo wrote:

We have a project on GWT and our production version have been compiled on obfuscated mode for security reasons. The application works fine, except when a browser plugin inserts javascript on the page, because some plugins have functions with obfuscated names, like aa, ab, xv, zf, etc...

We wonder if there is a way to tell GWT compiler to add a prefix to all javascript obfuscated functions, so the functions get names like cccab, ccczf, cccaa, etc.

It is not possible to tell all users to remove their plugins to use our page.

Thanks a lot.

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

Re: DIV with negative top floating above TabLayoutPanel

Thanks for the heads up!

On Friday, 30 November 2012 13:54:45 UTC, Thomas Broyer wrote:


On Friday, November 30, 2012 2:36:38 PM UTC+1, johnrellis wrote:
If anybody comes across this and needs a fix, I execute this in the onload of the widget containing the tab layout panel

tabPanel.getElement().getFirstChildElement().getStyle().setProperty("top","-10000ex");

Not pretty, but necessary it seems.

FYI, this has been fixed in trunk by using visibility:hidden: https://code.google.com/p/google-web-toolkit/source/detail?r=11324 

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

Re: Firefox 17 dev plugin


On Friday, November 30, 2012 8:51:59 AM UTC-5, Thomas Broyer wrote:


On Friday, November 30, 2012 1:56:26 PM UTC+1, Thad wrote:
How about Windows 7?

Some people here [1] say it's OK on Win7 (32 bits)

Sorry, I should have specified that this is Win7 64-bit


 
When I try to install this, I get "This add-on could not be installed because it appears to be corrupt."

Did you really download the XPI? and not the page from the SVN repo browser? (the one linked by Ivan).
See instructions from skybrian in the issue, and note that "denarced" in the issue comments tried to "install the web page", not the XPI.

I downloaded the XPI:  In Chrome, from http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt, right click on gwt-dev-plugin.xpi, "Save link as..." to my desktop. Drag XPI onto Firefox 17: "This add-on could not be installed because it appears to be corrupt."

Rev 11397 from today, size 23,348 bytes

 

wbabachan's build also fails, but it tells me the plugin only works with Firefox 3 thru 15.

On Friday, November 30, 2012 2:47:50 AM UTC-5, Dimitrijević Ivan wrote:
http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt/gwt-dev-plugin.xpi

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

Re: how to get push notification in the gwt

Hi,

have a look at: https://github.com/raupach/gwt-spring-jpa-jta-jms-comet-hibernate

This is a demo-app, which shows how to handle push-notifications.

--

  Oliver Raupach


Am Dienstag, dem 27.11.2012 um 11:55 schrieb ప్రభు కుమార్:

Sir,
          how to get push notification in the gwt.
                     Send reply.
             Thank you.

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

Re: DIV with negative top floating above TabLayoutPanel



On Friday, November 30, 2012 2:36:38 PM UTC+1, johnrellis wrote:
If anybody comes across this and needs a fix, I execute this in the onload of the widget containing the tab layout panel

tabPanel.getElement().getFirstChildElement().getStyle().setProperty("top","-10000ex");

Not pretty, but necessary it seems.

FYI, this has been fixed in trunk by using visibility:hidden: https://code.google.com/p/google-web-toolkit/source/detail?r=11324 

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

Re: Firefox 17 dev plugin



On Friday, November 30, 2012 1:56:26 PM UTC+1, Thad wrote:
How about Windows 7?

Some people here [1] say it's OK on Win7 (32 bits)

 
When I try to install this, I get "This add-on could not be installed because it appears to be corrupt."

Did you really download the XPI? and not the page from the SVN repo browser? (the one linked by Ivan).
See instructions from skybrian in the issue, and note that "denarced" in the issue comments tried to "install the web page", not the XPI.
 

wbabachan's build also fails, but it tells me the plugin only works with Firefox 3 thru 15.

On Friday, November 30, 2012 2:47:50 AM UTC-5, Dimitrijević Ivan wrote:
http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt/gwt-dev-plugin.xpi

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

Re: DIV with negative top floating above TabLayoutPanel

If anybody comes across this and needs a fix, I execute this in the onload of the widget containing the tab layout panel

tabPanel.getElement().getFirstChildElement().getStyle().setProperty("top","-10000ex");

Not pretty, but necessary it seems.

On Friday, 30 November 2012 12:57:57 UTC, johnrellis wrote:
Really does seem to me that this is a bug??  Does anyone agree/disagree?

On Wednesday, 28 November 2012 09:28:39 UTC, johnrellis wrote:
Hi Jens,

Thanks for the explanation.

The TabLayoutPanel is in a dialog that is draggable around the screen so depending on where you drag it, it puts an invisible cover on what is underneath the div.  So if I drag the dialog to just under a button group, I am unable to click some of the buttons that are under the invisible div.

It looks like all other tab panels are unsuitable for use in standards mode.  It looks like my only option is TabLayoutPanel and GWT has no Tab set implementation that is suitable for use inside a widget like this. Is this the case?

Many Thanks!!!
John

On Tuesday, 27 November 2012 19:11:01 UTC, Jens wrote:
The div you are seeing is used by GWT's LayoutImpl class to calculate the number of pixels for a given unit (like em, ex, pct, px,... ), so you can't get rid of it (see: http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/layout/client/LayoutImpl.java#109)

Why do you need a button outside of your dialog to be clickable? Or were you just concerned about a div you can't interpret and the button issue was just an example?

-- J


Am Dienstag, 27. November 2012 19:47:47 UTC+1 schrieb johnrellis:
Hi,

I was hoping someone could help me with a very strange issue.  We have a TabLayoutPanel sitting inside a VerticalPanel.  This in turn is in a dialog. 

There is a strange div floating above the dialog as shown in the picture below :


The div is invisible, I used the web tools to highlight it.  If it is over a button however, it prevents clicks etc.

I can inspect the element and see if is part of the TabLayoutPanel as shown in the picture below :


Does anybody have any idea what this is and how I can get rid of it?

The browser is running in standards mode and the RootLayoutPanel is being used.

Many thanks!
John

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

Re: DIV with negative top floating above TabLayoutPanel

Really does seem to me that this is a bug??  Does anyone agree/disagree?

On Wednesday, 28 November 2012 09:28:39 UTC, johnrellis wrote:
Hi Jens,

Thanks for the explanation.

The TabLayoutPanel is in a dialog that is draggable around the screen so depending on where you drag it, it puts an invisible cover on what is underneath the div.  So if I drag the dialog to just under a button group, I am unable to click some of the buttons that are under the invisible div.

It looks like all other tab panels are unsuitable for use in standards mode.  It looks like my only option is TabLayoutPanel and GWT has no Tab set implementation that is suitable for use inside a widget like this. Is this the case?

Many Thanks!!!
John

On Tuesday, 27 November 2012 19:11:01 UTC, Jens wrote:
The div you are seeing is used by GWT's LayoutImpl class to calculate the number of pixels for a given unit (like em, ex, pct, px,... ), so you can't get rid of it (see: http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/google/gwt/layout/client/LayoutImpl.java#109)

Why do you need a button outside of your dialog to be clickable? Or were you just concerned about a div you can't interpret and the button issue was just an example?

-- J


Am Dienstag, 27. November 2012 19:47:47 UTC+1 schrieb johnrellis:
Hi,

I was hoping someone could help me with a very strange issue.  We have a TabLayoutPanel sitting inside a VerticalPanel.  This in turn is in a dialog. 

There is a strange div floating above the dialog as shown in the picture below :


The div is invisible, I used the web tools to highlight it.  If it is over a button however, it prevents clicks etc.

I can inspect the element and see if is part of the TabLayoutPanel as shown in the picture below :


Does anybody have any idea what this is and how I can get rid of it?

The browser is running in standards mode and the RootLayoutPanel is being used.

Many thanks!
John

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

Re: Firefox 17 dev plugin

How about Windows 7? When I try to install this, I get "This add-on could not be installed because it appears to be corrupt."

wbabachan's build also fails, but it tells me the plugin only works with Firefox 3 thru 15.

On Friday, November 30, 2012 2:47:50 AM UTC-5, Dimitrijević Ivan wrote:
http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt/gwt-dev-plugin.xpi

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

Re: Future of GWT survey

It has takes a bit of time to compile the report. Sorry. The survey results will be published on Dec 4th on vaadin.com/blog

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

Re: GWT In Eclipse Debug Mode All Of A Sudden is Super Slow

I had the same problem. There was a breakpoint at Command.execute() that resulted in long waiting times (minutes) running my web application in dev mode.
Removing all the breakpoints helped. Thanks for the hint!

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

Problem with "gwt-MenuBarPopup"

Hi Guys,

i have a little Problem with my MenuBar. 

It is possible to set the z-index value from gwt-MenuBarPopup ? At java doc I didn't found this css-Property but in my Website it exist. 


Thanks 

Domi

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

GWT code for ,same user login to the webpage again after loggedout from the page without refreshing the webpage?

 Hi All ! I have developed on website,in my website if one existed user is logged in to the webpage he can operate everything of that page,after he logged out from the page if he want to loggin again without refreshing the webpage it show NullPointeException,can you guys say the code for without refreshing the webpage can the same or any existed user can login successfully again once he loggedout from that in GWT? thanks ...bala

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

Re: Pass element & eventHandler to JSNI function


On Friday, November 30, 2012 12:20:58 AM UTC+1, Webber wrote:
Hi,

I'm developing a JS library using GWT. I have a JSNI function and I'm able to pass in premitive types to it from js. I'm looking for a way to pass in an htmlElement and an EventHandler. Is this something that' supported?

When you ask in two places and you're given an answer in one, please update the other so people don't spend time solving and already solved problem.
http://stackoverflow.com/q/13635758/116472 

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

Re: Height of DataGrid



On Friday, November 30, 2012 7:37:05 AM UTC+1, tong123123 wrote:
I placed a datagrid inside a column of flextable and I found that I must expliciitly set the height, and cannot use % like 100%, but % is allowed to use in the width, why this happens? due to Datagrid implements RequiresResize Interface and its containing widget FlexTable has not implements ProvidesResize?

Yes. When used outside ProvidesResize, RequiresResize widgets need to be given explicit dimensions *and* be notified whenever they change, so the rule of thumb is to use "fixed" sizes (pixels, centimeters, etc. EMs and EXs might work too, but not necessarily with all widgets)

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

Re: Looks like a GWT compiler and/or GIN error.



On Friday, November 30, 2012 9:14:03 AM UTC+1, seas wrote:
I've got a class, TestPlace, that derives from Place that takes two parameters, both Strings.

I use GIN so I have a PlaceFactory to create instances of my places.

Places are value-objects, so it's not clear to me why you need a factory (and how it's related to using GIN).
 
 It has a method for creating TestPlace that has two String parameters.

It all looks pretty straight forward, except that inside the TestPlace constructor, both strings end up being the first parameter in the call to the factory method!

Here's the TestPlace constructor:
<pre>
@Inject
public TestPlace (@Assisted String testId, @Assisted String authType) {

 

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

Re: Can anyone help me with the gwt requestfactory?

Have a look at:
  • http://tbroyer.posterous.com/gwt-211-requestfactory and http://tbroyer.posterous.com/gwt-211-requestfactory-part-ii
  • https://github.com/tbroyer/gwt-maven-archetypes which has 2 Maven archetypes using RequestFactory
#shamelessPlug

On Friday, November 30, 2012 2:35:21 AM UTC+1, Anker wrote:
hi all,

these days, I learn how to build the gwt project, but when i meet the requestfactory , I really don't understand how to build and which class is necessary and which is not , so I come here to look for an help .

If  you have a little time ,please wrote a small project for me ,just like click a button and it will get something from server, so much thanks , I really need your help , my email:caoyuan945@gmail.com 

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

Re: compiled js files do not work, if compiled "obfuscated", only if compiled "pretty"



On Thursday, November 29, 2012 9:38:53 PM UTC+1, Gasotelo wrote:
I got this problem, it was because we have a browser plugin that inserts javascript with obfuscated names too, so when the GWT calls a function like xf, it was really calling the plugin xf function.

You should try the xsiframe linker instead.

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

Re: CellTable, this.focus is not a function



On Thursday, November 29, 2012 1:54:38 PM UTC+1, Piotr Kopeć wrote:
Hi All
As workaround for editing NULL values in CellTable i've extended Column

Why? That's the job of cells, not columns. If a cell doesn't allow editing a 'null', then extend/fork that cell instead; or give it a non-null value. This is exactly what the workarounds at https://code.google.com/p/google-web-toolkit/issues/detail?id=5791 are doing.
 
All works nice till use of SingleSelectionModel
With selection model editing null values goes random, some values can be edited, some not, after few tries selection model stops responding
Related exception stack trace below:

[ERROR] com.google.gwt.core.client.JavaScriptException: (TypeError) @com.google.gwt.dom.client.Element::focus()([]): this.focus is not a function
[ERROR]     at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
[ERROR]     at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
[ERROR]     at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:570)
[ERROR]     at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:298)
[ERROR]     at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
[ERROR]     at com.google.gwt.dom.client.Element$.focus$(Element.java)
[ERROR]     at com.google.gwt.cell.client.EditTextCell.resetFocus(EditTextCell.java:240)
[ERROR]     at com.google.gwt.cell.client.EditTextCell.resetFocus(EditTextCell.java:1)
 
[ERROR]     at com.google.gwt.user.cellview.client.AbstractCellTable.resetFocusOnCellImpl(AbstractCellTable.java:2575)
[ERROR]     at com.google.gwt.user.cellview.client.AbstractCellTable.resetFocusOnCell(AbstractCellTable.java:2193)
[ERROR]     at com.google.gwt.user.cellview.client.AbstractHasData$View$1.execute(AbstractHasData.java:290)
[ERROR]     at com.google.gwt.user.cellview.client.CellBasedWidgetImpl.resetFocus(CellBasedWidgetImpl.java:102)
[ERROR]     at com.google.gwt.user.cellview.client.AbstractHasData$View.resetFocus(AbstractHasData.java:287)
[ERROR]     at com.google.gwt.user.cellview.client.HasDataPresenter.resolvePendingState(HasDataPresenter.java:1374)
[ERROR]     at com.google.gwt.user.cellview.client.HasDataPresenter.access$3(HasDataPresenter.java:1062)
[ERROR]     at com.google.gwt.user.cellview.client.HasDataPresenter$2.execute(HasDataPresenter.java:984)
[ERROR]     at com.google.gwt.core.client.impl.SchedulerImpl$Task$.executeScheduled$(SchedulerImpl.java:50)
[ERROR]     at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:228)
[ERROR]     at com.google.gwt.core.client.impl.SchedulerImpl.flushFinallyCommands(SchedulerImpl.java:327)
[ERROR]     at com.google.gwt.core.client.impl.Impl.exit(Impl.java:266)
[ERROR]     at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:257)
[ERROR]     at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source)
[ERROR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR]     at java.lang.reflect.Method.invoke(Method.java:601)
[ERROR]     at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
[ERROR]     at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
[ERROR]     at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
[ERROR]     at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
[ERROR]     at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
[ERROR]     at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
[ERROR]     at java.lang.Thread.run(Thread.java:722)

Example class for reproducing exception below:
public class GwtBugTest0 {

    // Entity
    class Man {
        String name;
        Date birth;
    }

    // column that renders [NONE] for null and is updater, also gives initial value for updater
    abstract class NoneColumn<T, V> extends Column<T, V> implements FieldUpdater<T, V> {
        V def;

        public NoneColumn(Cell<V> cell, V def) {
            super(cell);
            this.def = def;
            setFieldUpdater(this);
        }

        @Override
        public V getValue(T object) {
            V ret = getRawValue(object);
            return ret == null ? def : ret;
        }

        @Override
        public void render(Context context, T object, SafeHtmlBuilder sb) {
            if (getRawValue(object) == null)
                sb.appendHtmlConstant("[NONE]");
            else
                super.render(context, object, sb);
        }

Your problem is that you're not calling the cell's render() when the value is null (in this case, getValue() is not called so your default value is not really needed), so when the CellTable tries to set the focus back to the cell by calling the Column's Cell's resetFocus, the Cell (an EditTextCell here) doesn't find back its element (because it looks at something that it didn't generate) and ends up calling focus() on the wrong object.

Remove that render() override, and instead move that code into your own cell. Either extend EditTextCell or wrap it in your own cell, and handle resetFocus accordingly. It might be easier to fork and patch EditTextcell though (and contribute the patch back for inclusion in GWT proper)

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

Re: RootPanel --> OutClickEvent -- > how to detect click event out of the HTML Page it self ?

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

Re: Firefox 17 dev plugin

Works like a charm on linux 64-bit. Thank you!

On Friday, November 30, 2012 8:47:50 AM UTC+1, Dimitrijević Ivan wrote:
http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt/gwt-dev-plugin.xpi

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