Re: Elemental2 Error

2017-12-06 Thread Joe Wu
Thanks for replying. I did have  

 included in the XXX.gwt.xml


Joe 

On Wednesday, December 6, 2017 at 8:36:18 PM UTC-5, Juan Pablo Gardella 
wrote:
>
> Did you include elemental2.dom.Dom  module? Check at 
> https://github.com/google/elemental2#gwt
>
> On Wed, 6 Dec 2017 at 19:34 Joe Wu  
> wrote:
>
>> I have been using GWT for a while but I am new to elemental2, I have 
>> tried the following code to create new navigator object in GWT:
>>
>> import elemental2.dom.Navigator;
>>
>>
>> and for entrypoint
>>
>>
>> private Navigator Nav = new Navigator(); 
>>
>>
>> the following are the first several lines of the error message I got 
>> during compile:
>>
>>  
>>
>> [ERROR] elemental2.dom.Navigator cannot be resolved to a type
>>
>>  [ERROR] Errors in 'elemental2/dom/Navigator.java'
>>
>> [ERROR] elemental2.dom.ServiceWorkerContainer cannot be 
>> resolved to a type
>>
>>  [ERROR] Errors in 'elemental2/dom/BatteryManager.java'
>>
>> [ERROR] elemental2.dom.EventTarget cannot be resolved to a 
>> type
>>
>>
>> can anyone help? 
>>
>>
>> Thanks,
>>
>> Joe
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to google-we...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

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


Re: Elemental2 Error

2017-12-06 Thread Juan Pablo Gardella
Did you include elemental2.dom.Dom  module? Check at
https://github.com/google/elemental2#gwt

On Wed, 6 Dec 2017 at 19:34 Joe Wu  wrote:

> I have been using GWT for a while but I am new to elemental2, I have tried
> the following code to create new navigator object in GWT:
>
> import elemental2.dom.Navigator;
>
>
> and for entrypoint
>
>
> private Navigator Nav = new Navigator();
>
>
> the following are the first several lines of the error message I got
> during compile:
>
>
>
> [ERROR] elemental2.dom.Navigator cannot be resolved to a type
>
>  [ERROR] Errors in 'elemental2/dom/Navigator.java'
>
> [ERROR] elemental2.dom.ServiceWorkerContainer cannot be
> resolved to a type
>
>  [ERROR] Errors in 'elemental2/dom/BatteryManager.java'
>
> [ERROR] elemental2.dom.EventTarget cannot be resolved to a
> type
>
>
> can anyone help?
>
>
> Thanks,
>
> Joe
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

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


Elemental2 Error

2017-12-06 Thread Joe Wu
I have been using GWT for a while but I am new to elemental2, I have tried 
the following code to create new navigator object in GWT:

import elemental2.dom.Navigator;


and for entrypoint


private Navigator Nav = new Navigator(); 


the following are the first several lines of the error message I got during 
compile:

 

[ERROR] elemental2.dom.Navigator cannot be resolved to a type

 [ERROR] Errors in 'elemental2/dom/Navigator.java'

[ERROR] elemental2.dom.ServiceWorkerContainer cannot be 
resolved to a type

 [ERROR] Errors in 'elemental2/dom/BatteryManager.java'

[ERROR] elemental2.dom.EventTarget cannot be resolved to a type


can anyone help? 


Thanks,

Joe



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


Re: GWT 2.7 upgrade is tabbing to not work on grids

2017-12-06 Thread Rodolfo M. Raya
The picture shows a grid from GXT, not from GWT.

You have to ask in a Sencha forum.

Rodolfo

On Wed, Dec 6, 2017 at 3:51 PM Mo Baig  wrote:

> We would like to use the tab key to move from field to field.
>
> This was working well on the 2.6 version but seems to not work in 2.7.
>
> Any ideas why this would happen?
>
> Thanks
>
>
>
> 
>
>
> On Wednesday, December 6, 2017 at 11:10:33 AM UTC-5, Mo Baig wrote:
>>
>> Hello,
>>
>> We upgraded to GWT2.7 version.
>> The tabbing stopped working on the grids.
>> Any ideas why?
>>
>> Thanks
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

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


GWT 2.7 upgrade is tabbing to not work on grids

2017-12-06 Thread Mo Baig


We would like to use the tab key to move from field to field.

This was working well on the 2.6 version but seems to not work in 2.7.

Any ideas why this would happen?

Thanks





On Wednesday, December 6, 2017 at 11:10:33 AM UTC-5, Mo Baig wrote:
>
> Hello,
>
> We upgraded to GWT2.7 version.
> The tabbing stopped working on the grids.
> Any ideas why?
>
> Thanks
>
>

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


Serialization /Incompatible/ classnot found

2017-12-06 Thread jeslinedias84
Hi,
   i am getting the below error after i migrated from gwt 2.6.1 to gwt 
2.8.1. 

am trying to pass an "LinkedHashMap " object thats causing 
the trouble. I am getting this issue only during post request. 
Linkedhashmap is working perfectly with get request. Any help is highly 
appreciated. Let me know if you need additional info to help me.

I have all the latest Jars (2.8.1) in my classpath "gwt-user, gwt-servlet " 
 

> Dec 06, 2017 11:05:08 AM org.apache.catalina.core.ApplicationContext log
>
> SEVERE: navigationService: An IncompatibleRemoteServiceException was 
>> thrown while processing this call.
>
> com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: 
>> java.lang.ClassNotFoundException: http:
>
> at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:323)
>
> at 
>> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:263)
>
> at 
>> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:305)
>
> at 
>> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
>
> at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>
> at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
>
> at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>
> at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>
> at 
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>
> at 
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>
> at 
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>
> at 
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>
> at 
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>
> at 
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
>
> at 
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>
> at 
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>
> at 
>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>
> at 
>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
>
> at 
>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
>
> at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>
> at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>
> at java.lang.Thread.run(Thread.java:745)
>
> Caused by: com.google.gwt.user.client.rpc.SerializationException: 
>> java.lang.ClassNotFoundException: http:
>
> at 
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:708)
>
> at 
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:612)
>
> at 
>> com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:119)
>
> at 
>> com.google.gwt.user.client.rpc.core.java.util.Arrays$ArrayList_CustomFieldSerializer.instantiate(Arrays.java:57)
>
> at 
>> com.google.gwt.user.server.rpc.core.java.util.Arrays$ArrayList_ServerCustomFieldSerializer.instantiate(Arrays.java:66)
>
> at 
>> com.google.gwt.user.server.rpc.core.java.util.Arrays$ArrayList_ServerCustomFieldSerializer.instantiateInstance(Arrays.java:106)
>
> at 
>> com.google.gwt.user.server.rpc.core.java.util.Arrays$ArrayList_ServerCustomFieldSerializer.instantiateInstance(Arrays.java:39)
>
> at 
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.instantiate(ServerSerializationStreamReader.java:1088)
>
> at 
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:682)
>
> at 
>> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readObject(ServerSerializationStreamReader.java:592)
>
> at 
>> com.google.gwt.user.server.rpc.core.java.util.Map_ServerCustomFieldSerializerBase.deserialize(Map_ServerCustomFieldSerializerBase.java:38)
>
> at 
>> com.google.gwt.user.server.rpc.core.java.util.LinkedHashMap_ServerCustomFieldSerializer.deserialize(LinkedHashMap_ServerCustomFieldSerializer.java:41)
>
> at 
>> com.google.gwt.user.server.rpc.core.java.util.LinkedHashMap_ServerCustomFieldSerializer.deserializeInstance(LinkedHashMap_ServerCustomFieldSerializer.java:55)
>
> at 
>> 

Re: Strange elemental 2 behavior and weird workaround

2017-12-06 Thread David
Jens,

yes indeed that works! I will create a bug report.

David
On Tue, 5 Dec 2017 at 17:59, Jens  wrote:

>
> One situation where it always pops up is when I am using UiBinder.
>> I start our with a plain ui.xml file which does not contain a ui:Style
>> tag.
>> Just access the application in the browser so that it gets compiled to JS.
>>
>> Then I add an  tag with some custom styling and I reload my
>> browser.
>> The second incremental compilation is broken.
>> The only solution is to clear the cache and then it works again.
>>
>
> Oh this still exists in newest GWT? I thought it was just an issue in our
> custom build (something between 2.7 and 2.8). Maybe you should file a bug
> then, as it is pretty easy to reproduce.
>
> An additional workaround is to change your  to  field="someName"/> and after a compile remove the field="someName" thing
> again. A bit clunky but maybe faster than recompiling everything.
>
> -- J.
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

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


tabbing issue on grids

2017-12-06 Thread Mo Baig
Hello,

We upgraded to GWT2.7 version.
The tabbing stopped working on the grids.
Any ideas why?

Thanks

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


Re: Veracode Reporting Vulnerabilities on GWT-generated nocache.js

2017-12-06 Thread Pallavi Bhole
Thanks Thomas for the quick response.

On Monday, December 4, 2017 at 11:31:43 PM UTC-8, Thomas Broyer wrote:
>
> See https://groups.google.com/forum/#!topic/google-web-toolkit/Tx29wSZ8SZQ 
> for the first one. Second snippet looks like the code to install GWT 
> *.cache.js into the hidden iframe.

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