Obtaining a DivElement from a custom cell

2016-11-03 Thread Paul Mazzuca
Is it possible to obtain a reference to a divElement inside a GWT custom 
cell?

Many Javascript libraries (Google JS Map API, Google Charts API, etc) often 
require a div element to be passed to the javascript in order to render, 
for example, a map or chart.  Basically, I am trying to create a cell list 
of charts or maps, but cannot seem to figure out how to get a reference to 
the divElement container within each cell.

-- 
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.8.0 is not compatible with java6

2016-11-03 Thread Juan Pablo Gardella
Hi all,

A workaround to use gwt-2.8.0 in Java 6 is using retrololamda
. Here how I configured it (using
maven), by adding a profile (here the gist

):


production


production





com.google.gwt
gwt-servlet
provided




${basedir}/src/env/production



org.apache.maven.plugins
maven-dependency-plugin
2.10


process-classes

unpack-dependencies


gwt-servlet
${project.build.directory}/classes






net.orfjackal.retrolambda
retrolambda-maven-plugin
2.3.0


process-classes

process-main
process-test




true
1.6





On Wed, 2 Nov 2016 at 10:53 Thomas Broyer  wrote:

>
>
> On Wednesday, November 2, 2016 at 2:38:38 PM UTC+1, Juan Pablo Gardella
> wrote:
>
> Hi all,
>
> At release notes is not mentioned that now it will support only java7.
>
>
> Good catch!
>
>
> I found tbroyer comment here:
> http://stackoverflow.com/questions/28879590/jdk-and-jre-minimal-versions-required-for-gwt-compiling-and-running
>
> Can be updated the release notes with that?
> http://www.gwtproject.org/release-notes.html#Release_Notes_2_8_0
>
> Let me know, I can create the pull request.
>
>
> Yes please, go ahead.
>
> --
> 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.


RF Editors .with broken upgrading 2.8 RC2-> 2.8

2016-11-03 Thread Michaël Van Robaeys
Upgrading gwt 2.8 RC2 to GWT 2.8 seems to have broken requestfactory 
editors, see unreadable stacktrace below.
Everything else but the editors are working, any clue how I could 
debug/solve this?
I checked the dependencies for conflicts, only difference I could see was a 
minor version increase for js interop?

The problem does not occur when the editor has no childs: removing the 
.with(..) parameters in the requestfactory call.


Exception: com.google.gwt.core.client.JavaScriptException: (ReferenceError) 
: Ocj_g$ is not defined
ConsoleLogger.java:32 ReferenceError: Ocj_g$ is not defined
at Igj_g$ (AutoBeanCodexImpl.java:613)
at thj_g$.whj_g$ [as extractSplittable_0_g$] 
(AutoBeanCodexImpl.java:325)
at YDh_g$.qjh_g$ [as setProperty_2_g$] (AbstractAutoBean.java:277)
at gEh_g$. (ClientPropertyContext.java:45)
at scj_g$ (ClientPropertyContext.java:53)
at gcj_g$.ocj_g$ [as set_48_g$] (ClientPropertyContext.java:137)
at _oj_g$.apj_g$ [as visitReferenceProperty_0_g$] 
(AbstractRequestContext.java:949)
at YDh_g$.dEh_g$ [as traverseProperties_0_g$] 
(SettingsProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_goo…:142)
at YDh_g$.sjh_g$ [as traverse_1_g$] (AbstractAutoBean.java:166)
at YDh_g$.Xih_g$ [as accept_11_g$] (AbstractAutoBean.java:101)
at zbh_g$.B2g_g$ [as processReturnOperation_0_g$] 
(AbstractRequestContext.java:927)
at zbh_g$.C2g_g$ [as processReturnOperations_0_g$] 
(AbstractRequestContext.java:1279)
at fqj_g$.iqj_g$ [as processPayload_0_g$] 
(AbstractRequestContext.java:373)
at kpj_g$.mpj_g$ [as onTransportSuccess_0_g$] 
(AbstractRequestContext.java:1160)
at ulj_g$.wlj_g$ [as onResponseReceived_0_g$] 
(DefaultRequestTransport.java:136)
at kTh_g$.mTh_g$ [as onResponseReceived_0_g$] 
(CustomRequestTransport.java:28)
at rkc_g$.ukc_g$ [as fireOnResponseReceived_0_g$] (Request.java:250)
at Blc_g$.Clc_g$ [as onReadyStateChange_0_g$] (RequestBuilder.java:412)
at XMLHttpRequest. (XMLHttpRequest.java:329)
at jK_g$ (Impl.java:239)
at mK_g$ (Impl.java:291)
at XMLHttpRequest. (Impl.java:77)

-- 
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: Google Plugin for Eclipse Mars

2016-11-03 Thread 'Thomas Lacroix' via GWT Users


My OS is Windows 10 Professionnel v 1607, 64 bits.

Neon.1a is the default version that install for me with the eclipse 
installer, I am not doing anything special.

As suggested I filled a bug in SDBG to move the discussion over there as it 
is not really related to GWT:

https://github.com/sdbg/sdbg/issues/155

It details the steps I am doing but no screencast unfortunately as it is 
not my personal computer but the one of my company.

Thanks for trying it out on our end. Ivan Markov from the SDBG team also 
told me the install was working for everybody else over here. I don't know 
what is going on with my environment…

Thomas

Le jeudi 3 novembre 2016 01:02:31 UTC+1, Brandon Donnelson a écrit :
>
> I just ran through the install routine again for Eclipse Neon and GWT 
> Eclipse Plugin with SDBG Javascript debugger with out an issue. So I can't 
> replicate the issue yet. What operating system are you using? Could you 
> screencast the process, maybe I'm missing something?
>
> On Wednesday, November 2, 2016 at 11:35:28 AM UTC-7, Brandon Donnelson 
> wrote:
>>
>> Can you file an issue in the SDBG issues? I think I need to test Neon 1a, 
>> I've got 1. Howd you get 1a? 
>>
>> https://github.com/sdbg/sdbg/issues
>>
>>>


-- 
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: Strange error with streams

2016-11-03 Thread foal
Hi Andrey,

Tried to create simple project with given classes - all works as desired. 

Best,
Stas

On Wednesday, November 2, 2016 at 2:38:25 PM UTC+1, foal wrote:
>
> Hi Andrey,
>
> No problem, even a little bit latter. 
>
> Please note that I have use GWT 2.8RC3 and preleased version of Guava. So 
> if you fix something between RC3 and the release it may be a reason.
>
> Best,
> Stas
>
> On Wednesday, November 2, 2016 at 2:31:16 PM UTC+1, Andrei Korzhevskii 
> wrote:
>>
>> Hi foal,
>>
>> We had kind of similar problems when implemented Stream support but I 
>> cannot reproduce it now
>> in a simple test like 
>> https://gist.github.com/nordligulv/9dfa0ca5ccfed3def097aefc59ea1e32
>>
>> Can I ask you to create simple maven project with these classes to 
>> reproduce it?
>>
>> On Tuesday, November 1, 2016 at 1:14:27 PM UTC+2, foal wrote:
>>>
>>> Simplified widget is in attachment. Mehod createButtons contains the the 
>>> problem code.
>>>
>>> Let me know if you need something else.
>>>
>>> Stas
>>>
>>> On Tuesday, November 1, 2016 at 11:13:41 AM UTC+1, Jens wrote:

 Use -style PRETTY as SDM parameter so that the JS code is more 
 readable. 

 Looks like a GWT bug either in the compiler because of method 
 references or inside the Stream emulation. If you can provide a minimal, 
 reproducible example then open a bug report.

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