Re: Too much recursion after repeating open and close tabs

2015-01-16 Thread Thomas Broyer
Until proven otherwise, I would say it's a SmartGWT / SmartClient bug 
(unless it's a bug in your code that is). You'd better ask on their forums 
IMO.

On Thursday, January 15, 2015 at 5:31:49 PM UTC+1, Anaís Martínez wrote:

 Hello 

 I have one Tab layout panel in which different tabs are created and 
 destroyed acording to information received from server. That is, my site 
 shows a list of items, which have different characteristics showed in tabs. 
 The number and contain for each of them is different, so when user clicks 
 over another item, the tab layout destroyes current tabs and builds new 
 tabs. 

 It is correctly working all, but after and intensive use, I get following 
 error:

 (InternalError) 
 stack: isc_Canvas__getNextTabWidget@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2060
 isc_Canvas__shiftTabIndexForward@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2059
 isc_Canvas__shiftTabIndexForward@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2060
 [...]
 isc_Canvas__shiftTabIndexForward@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2060
 isc_Canvas__shiftTabIndexForward@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2060
 isc_Canvas__slotTabBetween@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2057
 isc_Canvas__setTabBefore@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2053
 isc_Canvas__slotChildrenIntoTabOrder@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2066
 isc_Canvas__setTabBefore@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2053
 isc_Canvas__slotChildrenIntoTabOrder@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2066
 isc_Canvas__setTabBefore@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2053
 isc_Canvas__slotChildrenIntoTabOrder@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2066
 isc_Canvas__setTabAfter@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2056
 isc_Layout_updateMemberTabIndex@http:
 //localhost:8080/web-app/sc/modules/ISC_Foundation.js:343
 isc_Layout_addMembers@http:
 //localhost:8080/web-app/sc/modules/ISC_Foundation.js:322
 isc_Layout_addMember@http:
 //localhost:8080/web-app/sc/modules/ISC_Foundation.js:313
 isc_TabSet_createPane@http:
 //localhost:8080/web-app/sc/modules/ISC_Containers.js:198
 isc_TabSet_updateTab@http:
 //localhost:8080/web-app/sc/modules/ISC_Containers.js:222
 vDc@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10525
 oDc@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:8774
 pDc@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:6183
 Azc@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10730
 wzc@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:8427
 Gzc@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10730
 CNb@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:5265
 E0b@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10721
 $Mb@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10718
 Xne@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10760
 wwb@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10439
 Kf@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:8743
 ng@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:10715
 QBb/c.onreadystatechange@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:7200
 uc@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:5357
 xc@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:9104
 wc/@http:
 //localhost:8080/web-app/948091592A29A34D73BF9E93D5967C3E.cache.html:7516


  fileName: http://localhost:8080/web-app/sc/modules/ISC_Core.js
  lineNumber: 2060
  columnNumber: 236: too much recursion
 isc_Canvas__shiftTabIndexForward@http:
 //localhost:8080/web-app/sc/modules/ISC_Core.js:2060

 Any idea? I'm using GWT 2.6.0. 

 Thanks in advance.



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


Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-01-16 Thread Thomas Broyer
What JDK are you using? If you're not using OpenJDK or Oracle's JDK (e.g. 
IBM JDK), then add -Dgwt.usearchives=false.

Note: GWT 2.8 will remove the gwtar (which are serialized precompilation 
state) so it should hopefully work out of the box with any JDK.

On Thursday, January 15, 2015 at 9:42:51 PM UTC+1, ssg wrote:

 I am getting the following error while performing Ant Build.
 *Can someone please help me ?*

 Compiling module com.acg.mmsea.gwt.Appname
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/core/Core.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/User.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/UI.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/DOM.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/RemoteService.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/xml/XML.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java]Ignored 2 units with compilation errors in first pass.

 [ERROR] Unexpected internal compiler error
  [java] java.lang.RuntimeException: Unexpected IOException on 
 in-memory stream
  [java] at 
 com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:383)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:999)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:733)
  [java] at 
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1291)
  [java] at 
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1038)
  [java] at 
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(JavaToJavaScriptCompiler.java:954)
  [java] at 
 com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(MonolithicJavaToJavaScriptCompiler.java:303)
  [java] at 
 

GWT 1.4.6 does not load in IE 10

2015-01-16 Thread Sonam Singh
I am working with GWT version 1.4.6 and the application does not load in IE 
10. 

Please help.

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


Re: GWT 1.4.6 does not load in IE 10

2015-01-16 Thread Thomas Broyer


On Friday, January 16, 2015 at 9:53:55 AM UTC+1, Sonam Singh wrote:

 I am working with GWT version 1.4.6 and the application does not load in 
 IE 10. 


GWT 1.4.60 (there's no 1.4.6) has been released in August 2007 [1]. At the 
time, IE8 didn't exist, and Firefox was v2 and Safari 3 was about to be 
released [2]. jQuery had just celebrated its first anniversary [3].
So what did you expect?

Either try to have IE 10 run in quirks mode (IE 5.5 compat mode) or update 
to a more recent GWT version.

[1] https://code.google.com/p/google-web-toolkit/downloads/list?can=1q=1.4
[2] https://en.wikipedia.org/wiki/Timeline_of_web_browsers
[3] https://en.wikipedia.org/wiki/JQuery

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


Re: Wrapping HTML into UIBinder

2015-01-16 Thread Mohammed Sameen
Any Suggestion on this?

On Wednesday, January 14, 2015 at 7:30:03 PM UTC+5:30, Mohammed Sameen 
wrote:

 Hi Folks,
   I am using GWT 2.6 to develop my web application.Since i am getting the 
 HTML prototype from UX/UI designer can i wrap the html directly into 
 uibinder in GWT?

- Is so,then how to write event handler or validation for the 
component?
- Can i expect the same output (as looking in HTML prototype)?
- Generated code will be match exactly as looking in HTML,Is this 
Possible using UIBinder Approch?
- Is there any performance Issue?
- some time HTML Prototype will internally having jquery component,Can 
i wrap JQuery in GWT using UIBinder Approach?

 Please give me your valuable suggestion?Thanks in advance?
   
   
   


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


Re: Wrapping HTML into UIBinder

2015-01-16 Thread Mohammed Sameen
Any Suggestion this?

On Wednesday, January 14, 2015 at 7:30:03 PM UTC+5:30, Mohammed Sameen 
wrote:

 Hi Folks,
   I am using GWT 2.6 to develop my web application.Since i am getting the 
 HTML prototype from UX/UI designer can i wrap the html directly into 
 uibinder in GWT?

- Is so,then how to write event handler or validation for the 
component?
- Can i expect the same output (as looking in HTML prototype)?
- Generated code will be match exactly as looking in HTML,Is this 
Possible using UIBinder Approch?
- Is there any performance Issue?
- some time HTML Prototype will internally having jquery component,Can 
i wrap JQuery in GWT using UIBinder Approach?

 Please give me your valuable suggestion?Thanks in advance?
   
   
   


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


Re: GWT 1.4.6 does not load in IE 10

2015-01-16 Thread Mohammed Sameen
GWT 1.4.6 is Older Version,it wont support IE 10 Upgrade GWT version

On Friday, January 16, 2015 at 2:23:55 PM UTC+5:30, Sonam Singh wrote:

 I am working with GWT version 1.4.6 and the application does not load in 
 IE 10. 

 Please help.


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


Unable to delete text in TextFeild of Dialog box

2015-01-16 Thread samina shaikh
Hi,

I am working on GWT project using libgdx. I used  custom dialog box which 
show with textfield,ok and cancel button. But I am not able to delete text 
in TextFeild.

Please help me for this.

Thanks.



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


Is Elemental safe to use cross-browser for event capturing?

2015-01-16 Thread Jan
Hello,

We'd like to use the Elemental library for event capturing. Something as 
simple as:

import static elemental.client.Browser.getDocument;

import elemental.events.Event;import elemental.events.EventListener;


   ...

EventListener listener = new EventListener() {  @Override  public 
void handleEvent(Event event) {...  }};
getDocument().addEventListener(Event.SUBMIT, listener, true);

Given Elemental's close to the metal approach and disclaimers about not being 
entirely cross-browser, is this a good idea? Or should we look at other things 
to avoid subtle bugs?

Many thanks!
Jan




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


Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-01-16 Thread ssg
Thomas, Thanks a lot for your response.
I am using JDK1.6. I am also new to GWT.

1) Can you please help me how  where to add *-Dgwt.usearchives=false* ?
2) Are you suggesting me to use GWT 2.8 instead of 2.7 now?

Thanks in advance.

On Friday, January 16, 2015 at 4:15:32 AM UTC-5, Thomas Broyer wrote:

 What JDK are you using? If you're not using OpenJDK or Oracle's JDK (e.g. 
 IBM JDK), then add -Dgwt.usearchives=false.

 Note: GWT 2.8 will remove the gwtar (which are serialized precompilation 
 state) so it should hopefully work out of the box with any JDK.

 On Thursday, January 15, 2015 at 9:42:51 PM UTC+1, ssg wrote:

 I am getting the following error while performing Ant Build.
 *Can someone please help me ?*

 Compiling module com.acg.mmsea.gwt.Appname
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/core/Core.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/User.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/UI.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/DOM.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/RemoteService.gwtar.
  
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/xml/XML.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java]Ignored 2 units with compilation errors in first pass.

 [ERROR] Unexpected internal compiler error
  [java] java.lang.RuntimeException: Unexpected IOException on 
 in-memory stream
  [java] at 
 com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:383)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:999)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:733)
  [java] at 
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1291)
  [java] at 
 

Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-01-16 Thread Thomas Broyer


On Friday, January 16, 2015 at 6:02:18 PM UTC+1, ssg wrote:

 Thomas, Thanks a lot for your response.
 I am using JDK1.6. I am also new to GWT.

 1) Can you please help me how  where to add *-Dgwt.usearchives=false* ?


In your Ant build, where you call the GWT Compiler, add a sysproperty 
key=gwt.usearchives value=false / to your java task.
 

 2) Are you suggesting me to use GWT 2.8 instead of 2.7 now?


No!
(GWT 2.8 will require Java 7+ anyway)

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


Module Inheritance and path excludes

2015-01-16 Thread bobbitdiddle
Suppose we define a GWT Module *ImageResources* that includes certain 
resources in its default public directory, and then we define a Module 
*Excluder* that specifically excludes those resources via something like:

module
public path=imageResources/public excludes=**/*/
/module

Then we can define a Module* A* that includes the resources via:

module
  :
   (stuff)
  :
inherits name=ImageResources/
/module

and another Module *B* that's just like *A* except it excludes those same 
resources via:

module
inherits name=A/
inherits name=Excluder/
/modules

That is, in the WAR file created by GWT compile for Module *B*, the files 
under imageResources will be missing.  (This works.)

--

Now the problem.  I want to allow a Module* C* to be defined as such:

module
inherits name=B/
inehrits name=ImageResources/
/module

but it doesn't appear to work.  That is, although *B* is derived from *A* 
by removing certain resources, I want to allow them to be added back by an 
overriding inherits declaration.  (Note that we're inheriting B, so 
overriding that decision at the closer local level seems logically 
plausible.)

Is there a fix?  Of course, another solution is to move the meat from 
Module *A*'s definition into Module *B* so that we never need to use 
*Excluder*, but that's not the solution I was hoping for.


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


Could someone plubish a video showing how to debug GWT using SuperDevMode in NetBeans?

2015-01-16 Thread Edson Richter
As in subject, please, someone could publish a video showing how to use 
SuperDevMode to debug a GWT app in NetBeans?

Thanks,

Edson

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


Re: Module Inheritance and path excludes

2015-01-16 Thread Jens
I think all includes and excludes rules are merged before evaluated. So if 
something is excluded anywhere it is gone for all modules, you can not get 
it back.

I think the skips attribute/tag is more what you want. It lets you ignore 
files just for a single module while other modules might still need these 
files.

-- J.

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


Re: Module Inheritance and path excludes

2015-01-16 Thread bobbitdiddle
Just as the excludes seems to be too powerful and exclude the files 
*everywhere*, regardless of the inheritance topology, the skips seems to 
be* too weak*.  In my tests, if I convert the *Excluder* Module to use 
skips, it appears to do *nothing* when included by Module *B* as I 
described above - the resources are still there in the WAR.  Note that in 
my design, Module *A* picks up the resources via a dependency on Module* 
ImageResources*, where* A* and* ImageResources* may not even have the same 
(Java) package/path.  I then want to define Module* B* as inheriting* A* 
and *Excluder*, and have *Excluder* exclude those resources. Using skips 
this fails - *Excluder* does nothing.

What I need is a way to delete file resources from a module that were 
picked up by it inheriting another module, without losing the capability to 
have a third module add them back after inheriting the first.

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


help understanding complicated client logs

2015-01-16 Thread rjcarr
I have a fairly large GWT application that works fine until it is behind 
SSL.  When that happens whenever the page is reloaded on about the 5th try 
(but it doesn't seem to have a pattern) I'll get an error that is something 
like:

__gwt$exception: skipped: Cannot read property 'Z' of null

Since it is intermittent it is likely reloaded to the load order of 
resources.  My guess is SSL slows things down enough that in some cases 
something breaks.  But what?  So I made a detailed build to see if I could 
get more information.  What is produced doesn't make sense to me but hoping 
to someone it does.

I tried putting SSL on my workstation but I couldn't reproduce the problem. 
 My guess is things are too fast.  So, the only way I can reproduce is by 
contacting a remote server, where I don't have a development environment to 
debug.

Anything look interesting?  Any guidance is appreciated!

com.google.gwt.logging.client.LogConfiguration
SEVERE: (TypeError) 
 __gwt$exception: skipped: Cannot read property 
'com_google_gwt_user_client_ui_UIObject_element' of 
nullcom.google.gwt.core.client.JavaScriptException: (TypeError) 
 __gwt$exception: skipped: Cannot read property 
'com_google_gwt_user_client_ui_UIObject_element' of null
at 
Unknown.com_google_gwt_user_client_ui_AbsolutePanel_$add__Lcom_google_gwt_user_client_ui_AbsolutePanel_2Lcom_google_gwt_user_client_ui_Widget_2V
at 
Unknown.com_google_gwt_core_client_impl_SchedulerImpl_runScheduledTasks__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2
at 
Unknown.com_google_gwt_core_client_impl_SchedulerImpl_$flushPostEventPumpCommands__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V
at Unknown.com_google_gwt_core_client_impl_SchedulerImpl$Flusher_execute__Z
at 
Unknown.com_google_gwt_core_client_impl_SchedulerImpl_execute__Lcom_google_gwt_core_client_Scheduler$RepeatingCommand_2Z
at 
Unknown.com_google_gwt_core_client_impl_Impl_apply__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2
at 
Unknown.com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2
at Unknown.anonymous
 
com_google_gwt_logging_client_ConsoleLogHandler_publish__Ljava_util_logging_LogRecord_2V
 
com_google_gwt_logging_impl_LoggerImplRegular_$log__Lcom_google_gwt_logging_impl_LoggerImplRegular_2Ljava_util_logging_LogRecord_2V
 
com_google_gwt_logging_impl_LoggerImplRegular_$log__Lcom_google_gwt_logging_impl_LoggerImplRegular_2Ljava_util_logging_Level_2Ljava_lang_String_2Ljava_lang_Throwable_2V
 
java_util_logging_Logger_$log__Ljava_util_logging_Logger_2Ljava_util_logging_Level_2Ljava_lang_String_2Ljava_lang_Throwable_2V4
 
com_google_gwt_core_client_impl_Impl_reportUncaughtException__Ljava_lang_Throwable_2V
 
com_google_gwt_core_client_impl_SchedulerImpl_runScheduledTasks__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_248
 
com_google_gwt_core_client_impl_SchedulerImpl_$flushPostEventPumpCommands__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V
 
com_google_gwt_core_client_impl_SchedulerImpl$Flusher_execute__Z4 
com_google_gwt_core_client_impl_SchedulerImpl_execute__Lcom_google_gwt_core_client_Scheduler$RepeatingCommand_2Z2
 
com_google_gwt_core_client_impl_Impl_apply__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_24
 
com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_24
 
(anonymous function)

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


[gwt-contrib] Re: Wrapping HTML Content into UIBinder

2015-01-16 Thread Benjamin Possolo
You should start by reading the UiBinder documentation 
http://www.gwtproject.org/doc/latest/DevGuideUiBinder.html.
That has a lot of good examples that you can follow.
In order to wrap just basic HTML, you should use an HTMLPanel widget.

g:HTMLPanel
  pYour basic html goes inside the HTMLPanel like this/p
  div class=foobar/div
/g:HTMLPanel

Performance is very good with UiBinder templates. It is better than 
constructing the UI programmatically because it involves a lot less 
function calls. Not to mention its just easier to read/understand.

If you want to manipulate the html/dom elements that exist in your UiBinder 
template, You'll need to bind them to the Java class
So the aforementioned example would look like this:

g:HTMLPanel
  pYour basic html goes inside the HTMLPanel like this/p
  div class=foo ui:binder=foobar/div
/g:HTMLPanel

In your java class

@UiBinder
DivElement foo;

when your java class is instantiated (and after a call to 
binder.createAndBindUI()) the foo variable will have a reference to the div 
element and you can execute methods on it like set inner text, set inner 
html, add styles programmatically, etc.

Event handlers are done in a similar way. See UiBinder documentation above 
for examples.

To use jQuery in your code, you need to add the script element with the 
link to the jquery javascript in your HTML host pageand then you need 
to create JSNI methods: java code that wraps your javascript code.
See the GWT JSNI documentation 
http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html for 
that. Too complicated for me to explain here.

Benjamin


On Thursday, January 15, 2015 at 8:34:04 PM UTC-8, Mohammed wrote:

 Hi Folks,
   I am using GWT 2.6 to develop my web application.Since i am getting the 
 HTML prototype from UX/UI designer can i wrap the html directly into 
 uibinder in GWT?

- Is so,then how to write event handler or validation for the 
component?
- Can i expect the same output (as looking in HTML prototype)?
- Generated code will be match exactly as looking in HTML,Is this 
Possible using UIBinder Approch?
- Is there any performance Issue?
- some time HTML Prototype will internally having jquery component,Can 
i wrap JQuery in GWT using UIBinder Approach?

 Please give me your valuable suggestion?Thanks in advance?


-- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/e2696eea-f39f-4645-bc1d-d80c1e81dcac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.