Friday, December 27, 2019

Re: dn-components new GWT UI library

Hi Nikola, really nice work.

But the pricing model stop me from go ahed, infact nowaday my company works with a lot of open source frameworks and buy support.

We want to try, may be write an entire project with the new tech and if everything works fine and goes in production then we buy support from the company.

Do you think you can also have such a licensing model ?

Il giorno mercoledì 11 dicembre 2019 14:29:41 UTC+1, nikola ha scritto:
landing page: dncomponents.com 

Client side java UI framework for building rich web applications written purely in Java language using GWT compiler and elemental2 browser API without any external js libraries.

dn-components layered architecture makes process of developing modern complex user interfaces with ease.
Html binder and intellij plugin are the great tools that support this.

dn-components can have different view implementations. 

Default view implementation is based on bootstrap framework (only css and markup). The second is google Material design (work in progress)

- All the view implementations are in one java file 
- And all markup for all components are in one html file 

dn-components component has 3 layers of separation.

Each component has constructor where you can inject your custom view implementation that can accept different markups.

That means that you can easily customize component's views on application level by editing BootstrapUi.java or BootstrapUi.html or single component by injecting its view.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/00650d84-ab4a-4aba-9fc2-f1ec3d36c0b4%40googlegroups.com.

Sunday, December 22, 2019

Re: Im trying to get a pdf file from database and show it on clientside using the GWT , is there a possibility?

Do you mean you want to write code in GWT to decode and render the PDF?  I image that would be very difficult.

You'd be much better decoding the PDF on the server using some PDF lib / program, then just serving up the resulting image/s via GWT.

Or serving up the PDF via a Servlet, and letting the browser decode/view/download it.



On Wednesday, 18 December 2019 16:35:53 UTC+11, Dhinakar wrote:
Im trying to get a pdf file from database and show it on clientside using the GWT , is there a possibility? Thanks in advance

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/ae2bbf05-b56b-49a0-b608-2b27d5a7ebea%40googlegroups.com.

New Article Java2JavaScript Transpiler GWT J2CL - Java Programming for Web Browser

Hi All,

for your information: I wrote a new article about GWT / J2CL in German language: http://bit.ly/GWTHeise2019

Enjoy reading,
Lofi

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/397e4734-076b-4681-9f73-956403421793%40googlegroups.com.

Friday, December 20, 2019

New Article #GWT Transpiler Webbrowser Programming in German language

Hi All,

just for your information, I published an article about #GWT #J2CL at heiseDeveloper: http://bit.ly/GWTHeise2019

Have fun,
Lofi

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/c4f73fda-7e16-489f-b7d2-3651c0358939%40googlegroups.com.

Re: dn-components new GWT UI library

挺好看的

在 2019年12月11日星期三 UTC+8下午9:29:41,nikola写道:
landing page: dncomponents.com 

Client side java UI framework for building rich web applications written purely in Java language using GWT compiler and elemental2 browser API without any external js libraries.

dn-components layered architecture makes process of developing modern complex user interfaces with ease.
Html binder and intellij plugin are the great tools that support this.

dn-components can have different view implementations. 

Default view implementation is based on bootstrap framework (only css and markup). The second is google Material design (work in progress)

- All the view implementations are in one java file 
- And all markup for all components are in one html file 

dn-components component has 3 layers of separation.

Each component has constructor where you can inject your custom view implementation that can accept different markups.

That means that you can easily customize component's views on application level by editing BootstrapUi.java or BootstrapUi.html or single component by injecting its view.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/f75385cb-e857-4c36-bff8-033b23e438ee%40googlegroups.com.

Thursday, December 19, 2019

sourceMap is not loading in IE11

Hello Team,

We are compiling in superdev mode with below configurations -

<set-property name="compiler.useSourceMaps" value="true"/>
<add-linker name="xsiframe"/>
<set-configuration-property name="devModeRedirectEnabled" value="true"/>
<set-property name="user.agent" value="safari, ie9, ie10, gecko1_8"/>
<collapse-all-properties />

The superdev mode works in chrome but doesnt work in IE11.

I also observed that the sourceMap file is named as - null_sourceMap0.json

6744421E6FF77A252AA903FAA3094F41.cache.js file was generated but the same name didnt appear on sourceMap file.

Compilation mappings are -

6744421E6FF77A252AA903FAA3094F41.cache.js
ClientBundle.enableInlining true
audioElementSupport maybe
canvasElementSupport maybe
compiler.emulatedStack false
compiler.predeclare.cross.fragment.references false
compiler.stackMode emulated
compiler.useSourceMaps true
compiler.useSymbolMaps false
dragEventSupport maybe
geolocationSupport maybe
gwt.enableDebugId false
gwt.forceBidi false
gwt.logging.consoleHandler DISABLED
gwt.logging.developmentModeHandler ENABLED
gwt.logging.enabled TRUE
gwt.logging.firebugHandler ENABLED
gwt.logging.hasWidgetsHandler DISABLED
gwt.logging.logLevel INFO
gwt.logging.popupHandler DISABLED
gwt.logging.simpleRemoteHandler DISABLED
gwt.logging.systemHandler ENABLED
gwt.suppressNonStaticFinalFieldWarnings false
gwt.unloadEnabled false
ie11 true

Can you please help to resolve this issue?

Thanks,
Ketan

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/66d1ae1e-d327-4255-9dcc-c6ae4683727c%40googlegroups.com.

Wednesday, December 18, 2019

Re: Jsinterop: java arrays, native arrays, JsArray and strings

Thanks for the info.

Maybe with GWT 3 since many things will break, it is a good idea to map float[] to Float32Array, double[] to Float64Array etc...

But even more than that I would love a java.lang.String to js.String direct mapping first. I don't know if this is even possible but hey it's almost Christmas!

   Vassilis

On Wed, Dec 18, 2019 at 11:43 AM Kirill Prazdnikov <pkirill@gmail.com> wrote:
So
  • Arrays, double are mapped to native types.

Not really, for float[] or for double[] there is corresponding Float32Array and Float64Array, or Int32Array for int[].

But the GWT uses JsArray of JsObjects and use JsNumber (boxed double) for any primitive types. 
As result, any generic multiplatform algorithm using arrays is extremely memory and performance inefficient.

Other java->js compilers offer more correct solution.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/52d9465a-bbd5-496c-bfa3-e3e59a18e9d4%40googlegroups.com.


--
Vassilis Virvilis

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAKbOjEwPk4j%2Bx8JcQjY2PJCyHp3bMZg2ExG0ypE0uKKN1%3Dnetw%40mail.gmail.com.

Re: Jsinterop: java arrays, native arrays, JsArray and strings

So
  • Arrays, double are mapped to native types.

Not really, for float[] or for double[] there is corresponding Float32Array and Float64Array, or Int32Array for int[].

But the GWT uses JsArray of JsObjects and use JsNumber (boxed double) for any primitive types. 
As result, any generic multiplatform algorithm using arrays is extremely memory and performance inefficient.

Other java->js compilers offer more correct solution.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/52d9465a-bbd5-496c-bfa3-e3e59a18e9d4%40googlegroups.com.

Tuesday, December 17, 2019

Im trying to get a pdf file from database and show it on clientside using the GWT , is there a possibility?

Im trying to get a pdf file from database and show it on clientside using the GWT , is there a possibility? Thanks in advance

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/bd93ad85-25ca-4c12-9d58-45acae0908eb%40googlegroups.com.

Re: First application working as both J2CL and gwt2 at the same time

It seems I am having the same or a simmilar issue as Alina had.
I have searched a little bit and read about adding the correct repository to the maven settings.xml. But  I have no clue what repo to add and in which profile.


mvn -Pdevmode
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building dominodo-j2cl 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.vertispan.com/gwt-snapshot/org/dominokit/samples/dominodo-client/1.0-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/dominokit/samples/dominodo-client/1.0-SNAPSHOT/maven-metadata.xml
Downloading: https://repo.vertispan.com/gwt-snapshot/org/dominokit/samples/dominodo-client/1.0-SNAPSHOT/dominodo-client-1.0-SNAPSHOT.pom
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/dominokit/samples/dominodo-client/1.0-SNAPSHOT/dominodo-client-1.0-SNAPSHOT.pom
[WARNING] The POM for org.dominokit.samples:dominodo-client:jar:1.0-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.dominokit.samples:dominodo-client:jar:sources:1.0-SNAPSHOT is missing, no dependency information available
Downloading: https://repo.vertispan.com/gwt-snapshot/com/google/jsinterop/jsinterop-annotations/HEAD-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/google/jsinterop/jsinterop-annotations/HEAD-SNAPSHOT/maven-metadata.xml
Downloading: https://repo.vertispan.com/gwt-snapshot/com/google/jsinterop/jsinterop/HEAD-SNAPSHOT/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/google/jsinterop/jsinterop/HEAD-SNAPSHOT/maven-metadata.xml
Downloading: https://repo.vertispan.com/gwt-snapshot/org/dominokit/samples/dominodo-client/1.0-SNAPSHOT/dominodo-client-1.0-SNAPSHOT.jar
Downloading: https://repo.vertispan.com/gwt-snapshot/org/dominokit/samples/dominodo-client/1.0-SNAPSHOT/dominodo-client-1.0-SNAPSHOT-sources.jar
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/dominokit/samples/dominodo-client/1.0-SNAPSHOT/dominodo-client-1.0-SNAPSHOT.jar
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/dominokit/samples/dominodo-client/1.0-SNAPSHOT/dominodo-client-1.0-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.590 s
[INFO] Finished at: 2019-12-17T15:05:13+01:00
[INFO] Final Memory: 12M/47M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project dominodo-j2cl: Could not resolve dependencies for project org.dominokit.samples:dominodo-j2cl:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: org.dominokit.samples:dominodo-client:jar:1.0-SNAPSHOT, org.dominokit.samples:dominodo-client:jar:sources:1.0-SNAPSHOT: Failure to find org.dominokit.samples:dominodo-client:jar:1.0-SNAPSHOT in https://oss.sonatype.org/content/repositories/google-snapshots/ was cached in the local repository, resolution will not be reattempted until the update interval of google-snapshots has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/545b0594-b54b-406f-98b2-5ba59def4e20%40googlegroups.com.

Wednesday, December 11, 2019

Re: Execution order of cache.js versus other script tags

Thanks!

On Wednesday, December 11, 2019 at 2:45:30 AM UTC-8, Jens wrote:
Usually you would use GWT's ScriptInjector together with ClientBundle + TextResource/ExternalTextResource. That way you can either embed your external JS into the GWT JS (TextResource) so it downloads as part of your app download or you let the GWT app asynchronously download the JS when needed (ExternalTextResource).

You can also use GWTs XML modules to include additional scripts which will be loaded before your entry point starts. But it could be that it won't be compatible with future GWT versions based on J2CL. http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideAutomaticResourceInclusion

-- 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a5ac1310-ecc8-4be8-8f95-7616d3efd8f4%40googlegroups.com.

dn-components new GWT UI library

landing page: dncomponents.com 

Client side java UI framework for building rich web applications written purely in Java language using GWT compiler and elemental2 browser API without any external js libraries.

dn-components layered architecture makes process of developing modern complex user interfaces with ease.
Html binder and intellij plugin are the great tools that support this.

dn-components can have different view implementations. 

Default view implementation is based on bootstrap framework (only css and markup). The second is google Material design (work in progress)

- All the view implementations are in one java file 
- And all markup for all components are in one html file 

dn-components component has 3 layers of separation.

Each component has constructor where you can inject your custom view implementation that can accept different markups.

That means that you can easily customize component's views on application level by editing BootstrapUi.java or BootstrapUi.html or single component by injecting its view.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/2e94d372-07ce-4577-b15c-d8ed5be041d0%40googlegroups.com.

Re: Execution order of cache.js versus other script tags

Usually you would use GWT's ScriptInjector together with ClientBundle + TextResource/ExternalTextResource. That way you can either embed your external JS into the GWT JS (TextResource) so it downloads as part of your app download or you let the GWT app asynchronously download the JS when needed (ExternalTextResource).

You can also use GWTs XML modules to include additional scripts which will be loaded before your entry point starts. But it could be that it won't be compatible with future GWT versions based on J2CL. http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideAutomaticResourceInclusion

-- 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/f1eced63-8c79-4410-9eea-4601ba318539%40googlegroups.com.

Tuesday, December 10, 2019

Execution order of cache.js versus other script tags

My GWT code uses a an external javascript library through JsInterop and I want that library to download in parallel with my cache.js file, but execute before the cache.js file does. The problem is that the nocache.js injects the cache.js file into the page and any injected script tags are automatically loaded as async rather than defer, which means that if the cache.js file download finishes prior to the library, it will be executed first. Is there a way to download cache.js in parallel, but stop cache.js file from executing until other script tags have executed?

The code below is what I currently have. It guarantees that the execution order will correct, but the cache.js file won't even be injected and begin downloading until the library js file has downloaded and executed, which makes the page load much slower than if the cache.js file were downloaded in parallel with library.js.

<html>
   
<head>
       
<script defer src="library.js"></script>
       
<script defer src="myproject.nocache.js" ></script>
   
<head>
...
</html>




--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/0ac16b61-ae9f-4484-974f-9b0288546f50%40googlegroups.com.

Sunday, December 8, 2019

Re: gwt-dev.jar - uses jdk internal API not compatible for Java11

Cross reference: https://github.com/gwtproject/gwt/issues/9677


--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/5bca3183-ff8d-454f-979b-30cfd93f322d%40googlegroups.com.

Friday, December 6, 2019

gwt-dev.jar - uses jdk internal API not compatible for Java11

Hi All,

we are using gwt-dev.jar for our application, in which Java11 is being implemented. As analysis, we found out that below classes, present in jar are having some issues - 
com.google.gwt.dev.url.CloseableJarHandler uses sun.net.www.protocol.jar.Handler (JDK internal API (java.base))
org.apache.tools.ant.taskdefs.email.UUMailer uses sun.misc.UUEncoder (JDK internal API (JDK removed internal API)).

Any idea what is significance of these classes & where they are used?
Also, are there any plans to support this jar with Java11.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/a1de3a57-9479-4c27-9c94-ef01de73b974%40googlegroups.com.

Tuesday, December 3, 2019

Re: [ANN] (Unofficial) GWT 2.8.2-v20191108 release

We use a different build tool but it works with this version of GWT. I don't use Maven so not sure how it is normally integrated. However, to configure it manually you can go to "Project Structure" dialog then "Project Settings / Facets / Default" section and set "Path to GWT installation directory" to something like "/Users/peter/.m2/repository/org/realityforge/com/google/gwt/gwt-dev/2.8.2-v20191108" and this will be picked up by any GWT facets and thus work in IDE.

HTH

On Tue, Dec 3, 2019 at 6:00 AM Nick Stolwijk <nick.stolwijk@gmail.com> wrote:
Thanks.

I was able to use them in my Maven build. Only my IDE, IntelliJ doesn't pick them up. Do you if it is possible to use these as the compiler in IntelliJ?

With regards,

Nick S.

On Monday, 11 November 2019 04:20:20 UTC+1, Peter Donald wrote:
GWT is a development toolkit for building and optimizing complex
browser-based applications. Its goal is to enable productive
development of high-performance web applications without the
developer having to be an expert in browser quirks,
XMLHttpRequest, and JavaScript. It's open-source, completely
free, and used by thousands of developers around the world.

https://github.com/gwtproject/gwt

This is an unofficial release to Maven Central with the groupId
prefixed with "org.realityforge.". The intent is to get the current
version of GWT into more people's hands earlier. Please don't bug
the GWT project. Versions are released on demand.

The one significant difference in the way that it has been packaged
is to release the jsinterop-annotations artifact with the coordinate

org.realityforge.com.google.jsinterop:jsinterop-annotations:jar:2.8.2-v20191108

For most Maven users, it should be sufficient to update your
dependency declarations to something like:

    <dependency>
      <groupId>org.realityforge.com.google.gwt</groupId>
      <artifactId>gwt-user</artifactId>
      <version>2.8.2-v20191108</version>
    </dependency>
    <dependency>
      <groupId>org.realityforge.com.google.gwt</groupId>
      <artifactId>gwt-dev</artifactId>
      <version>2.8.2-v20191108</version>
    </dependency>

Hope this helps,

Peter Donald

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/313e9b2b-886f-4848-80ee-2c5deff39815%40googlegroups.com.


--
Cheers,

Peter Donald

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CACiKNc4cXHgmYkRmBvVsJKEn5KZ7S2b2o5Y1RdXWw3fy6i-MDA%40mail.gmail.com.

Monday, December 2, 2019

Re: Adding u2f to js.identifier.blacklist

Thanks, we'll add that to our blacklist. Do we also need to define the blacklist with, e.g., 
<define-configuration-property name="js.identifier.blacklist" is-multi-valued="true" /> 
or is it already defined elsewhere by GWT?

Thanks,
Dan

On Fri, Nov 29, 2019 at 6:34 PM 'Axel' via GWT Users <google-web-toolkit@googlegroups.com> wrote:
The obfuscator does not have "u2f" as a blacklisted identifier. In conjunction with a Firefox that now (>=67) has U2F enabled by default (see about:config, security.webauth.u2f) the identifier "window.u2f" is made available. When the obfuscator uses u2f as an output symbol, weird things can happen, such as properties that are expected to be found on the object bound to the obfuscated "u2f" identifier not being found because u2f points to the U2F object and not the application object.

In our project we work around this by adding

   <extend-configuration-property name="js.identifier.blacklist" value="u2f"/>

to a base module that all our modules inherit. I think this should become part of the standard as it is error prone and incredibly time-consuming to figure out the root cause of the errors that can result.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/470b1dd1-4133-464c-b523-7feab71f87ba%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CABTxsEMUm4Sumbs7GH2PXAMStU44%2B8WvLEXtESwL3QDrUfxXGA%40mail.gmail.com.

Re: [ANN] (Unofficial) GWT 2.8.2-v20191108 release

Thanks.

I was able to use them in my Maven build. Only my IDE, IntelliJ doesn't pick them up. Do you if it is possible to use these as the compiler in IntelliJ?

With regards,

Nick S.

On Monday, 11 November 2019 04:20:20 UTC+1, Peter Donald wrote:
GWT is a development toolkit for building and optimizing complex
browser-based applications. Its goal is to enable productive
development of high-performance web applications without the
developer having to be an expert in browser quirks,
XMLHttpRequest, and JavaScript. It's open-source, completely
free, and used by thousands of developers around the world.

https://github.com/gwtproject/gwt

This is an unofficial release to Maven Central with the groupId
prefixed with "org.realityforge.". The intent is to get the current
version of GWT into more people's hands earlier. Please don't bug
the GWT project. Versions are released on demand.

The one significant difference in the way that it has been packaged
is to release the jsinterop-annotations artifact with the coordinate

org.realityforge.com.google.jsinterop:jsinterop-annotations:jar:2.8.2-v20191108

For most Maven users, it should be sufficient to update your
dependency declarations to something like:

    <dependency>
      <groupId>org.realityforge.com.google.gwt</groupId>
      <artifactId>gwt-user</artifactId>
      <version>2.8.2-v20191108</version>
    </dependency>
    <dependency>
      <groupId>org.realityforge.com.google.gwt</groupId>
      <artifactId>gwt-dev</artifactId>
      <version>2.8.2-v20191108</version>
    </dependency>

Hope this helps,

Peter Donald

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/313e9b2b-886f-4848-80ee-2c5deff39815%40googlegroups.com.

Re: Adding u2f to js.identifier.blacklist

Am 30.11.2019 um 01:34 schrieb 'Axel' via GWT Users:
> The obfuscator does not have "u2f" as a blacklisted identifier.
> In conjunction with a Firefox that now (>=67) has U2F enabled by default
> (see about:config, security.webauth.u2f) the identifier "window.u2f" is
> made available. When the obfuscator uses u2f as an output symbol, weird
> things can happen, such as properties that are expected to be found on
> the object bound to the obfuscated "u2f" identifier not being found
> because u2f points to the U2F object and not the application object.

If not happened already, "webauthn" should be blacklisted as well. But
I'm not sure how likely it is that this text will ever be the result
of an obfuscation ;-)


Cheers, Lothar

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/d58ced3e-0f8c-4d02-0607-f43055644ea1%40kimmeringer.de.

Re: JsFunction length is zero


Unfortunately GWT does not accept pull request on GitHub.


On Thu, Nov 28, 2019 at 3:12 PM Vassilis Virvilis <vasvir2@gmail.com> wrote:
ok then.


I will try to come with a patch in the next few days.

Thanks

  Vassilis

On Thu, Nov 28, 2019 at 9:38 AM Jens <jens.nehlmeier@gmail.com> wrote:

Do you think a patch like that has any chance to be accepted? or this is not considered to be an issue?

Seems like a valid behavior for JS libraries to check argument count, so I guess it should be accepted. Goktug or Roberto should probably review it.

-- 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/9232cdec-c84f-427a-a019-d0cef9262244%40googlegroups.com.


--
Vassilis Virvilis


--
Vassilis Virvilis

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAKbOjExsX5nUnBnFsB4yLjMj8pK8x852oYF1_m-U_rhYBCACwQ%40mail.gmail.com.

Sunday, December 1, 2019

Re: Nalu v2.0.0 is released!

Thanks Frank!

On Sun, 1 Dec 2019 at 08:17, Frank Hossfeld <frank.hossfeld@web.de> wrote:
The next version of Nalu (v2.0.0) is released.  A complete list of changes can be found here: release-notes.

Maven Central is updated. Please use the Gitter room in case of questions.

Thanks to anyone who helped!

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/ac6a9f7d-ca3d-44b1-967c-8bb7edf42752%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CA%2BkiFsc0SSFNHrFStXq4jk7EA7s2TD6sYXDhvLtck9vkVZN4yQ%40mail.gmail.com.

Nalu v2.0.0 is released!

The next version of Nalu (v2.0.0) is released.  A complete list of changes can be found here: release-notes.

Maven Central is updated. Please use the Gitter room in case of questions.

Thanks to anyone who helped!

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/ac6a9f7d-ca3d-44b1-967c-8bb7edf42752%40googlegroups.com.

Saturday, November 30, 2019

Re: Adding u2f to js.identifier.blacklist



On Saturday, November 30, 2019 at 1:34:19 AM UTC+1, Axel wrote:
The obfuscator does not have "u2f" as a blacklisted identifier. In conjunction with a Firefox that now (>=67) has U2F enabled by default (see about:config, security.webauth.u2f) the identifier "window.u2f" is made available. When the obfuscator uses u2f as an output symbol, weird things can happen, such as properties that are expected to be found on the object bound to the obfuscated "u2f" identifier not being found because u2f points to the U2F object and not the application object.

In our project we work around this by adding

   <extend-configuration-property name="js.identifier.blacklist" value="u2f"/>

to a base module that all our modules inherit. I think this should become part of the standard as it is error prone and incredibly time-consuming to figure out the root cause of the errors that can result.

It is. It just hasn't been released yet: https://github.com/gwtproject/gwt/issues/9619 

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/ec6136d4-dfc6-480b-adb2-314be37acca8%40googlegroups.com.

Friday, November 29, 2019

Adding u2f to js.identifier.blacklist

The obfuscator does not have "u2f" as a blacklisted identifier. In conjunction with a Firefox that now (>=67) has U2F enabled by default (see about:config, security.webauth.u2f) the identifier "window.u2f" is made available. When the obfuscator uses u2f as an output symbol, weird things can happen, such as properties that are expected to be found on the object bound to the obfuscated "u2f" identifier not being found because u2f points to the U2F object and not the application object.

In our project we work around this by adding

   <extend-configuration-property name="js.identifier.blacklist" value="u2f"/>

to a base module that all our modules inherit. I think this should become part of the standard as it is error prone and incredibly time-consuming to figure out the root cause of the errors that can result.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/470b1dd1-4133-464c-b523-7feab71f87ba%40googlegroups.com.

Thursday, November 28, 2019

Re: JsFunction length is zero

ok then.


I will try to come with a patch in the next few days.

Thanks

  Vassilis

On Thu, Nov 28, 2019 at 9:38 AM Jens <jens.nehlmeier@gmail.com> wrote:

Do you think a patch like that has any chance to be accepted? or this is not considered to be an issue?

Seems like a valid behavior for JS libraries to check argument count, so I guess it should be accepted. Goktug or Roberto should probably review it.

-- 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/9232cdec-c84f-427a-a019-d0cef9262244%40googlegroups.com.


--
Vassilis Virvilis

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAKbOjExjVWLLBO%3DJHgiudD6g%2BDtSc-PGnj%3DWdH%3DPWh43ugu8ww%40mail.gmail.com.

Wednesday, November 27, 2019

Re: JsFunction length is zero


Do you think a patch like that has any chance to be accepted? or this is not considered to be an issue?

Seems like a valid behavior for JS libraries to check argument count, so I guess it should be accepted. Goktug or Roberto should probably review it.

-- 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/9232cdec-c84f-427a-a019-d0cef9262244%40googlegroups.com.

Re: JsFunction length is zero

Hi Jens,

Thanks for the reply and the pointer. Your answers are spot on as always but in this case I had managed to find the specific code fragment by my self.

I was thinking a patch could look like the accepted answer in this Stack Overflow question: https://stackoverflow.com/questions/7316688/how-to-programmatically-set-the-length-of-a-function

assuming arguments and arguments.length carry the necessary information.

Do you think a patch like that has any chance to be accepted? or this is not considered to be an issue?

Thanks



On Wed, Nov 27, 2019 at 1:57 PM Jens <jens.nehlmeier@gmail.com> wrote:
You can see here how GWT compiler creates lambdas: https://github.com/gwtproject/gwt/blob/master/dev/core/super/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Runtime.java#L162

In case you also want to try to fix the issue ;-)

-- 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/e6e9e9ea-e921-41c7-9283-9734902e3d41%40googlegroups.com.


--
Vassilis Virvilis

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAKbOjEzsNhqhPWbUQENie-mx-g-pMYWs-09vt5w8fqbf8qnUDQ%40mail.gmail.com.

Re: JsFunction length is zero

You can see here how GWT compiler creates lambdas: https://github.com/gwtproject/gwt/blob/master/dev/core/super/com/google/gwt/dev/jjs/intrinsic/com/google/gwt/lang/Runtime.java#L162

In case you also want to try to fix the issue ;-)

-- 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/e6e9e9ea-e921-41c7-9283-9734902e3d41%40googlegroups.com.

Tuesday, November 26, 2019

JsFunction length is zero

Hi,

Looks like that some javascript libraries are checking on the argument length of the callbacks that are passed to them.

So for example D3 bisector can take a function with one or two arguments. If it is one then it is an accessor if it is two then it is a comparator.

I searched on github issues. Should I report it?

The following snippet demonstrates the problem. The Function.length should be 1 and not 0.

    @JsFunction      public static interface SomeFunction {          public double call(double x);      }  
    /**      * This is the entry point method.      */     @Override     public void onModuleLoad() {         final SomeFunction y = new SomeFunction() {             @Override             public double call(double x) {                 return 2 * x;             }         };         DomGlobal.console.log(y);         return;    }


--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAKbOjEzhR%3DGgF8S7SMmpq9WzjmqViKjZtcWLCKMp%3DaK0uZmHLQ%40mail.gmail.com.

Saturday, November 23, 2019

Our GWT app hangs on iPhone Safari.

We have a GWT 2.8.1 app (midasmed.com, beta), that runs fine on on both desktop and android devices on Chrome, Firefox, Edge and also on the Mac (Safari), but hang on iPhone Safari (iOS 13.1.3). I can't seem to isolate the problem - it hangs seemingly randomly, no exceptions are thrown, and no errors are shown in the Safari dev tools console. The app does quite a bit of javascript processing on the client. Any suggestions as to what could be causing this will be greatly appreciated!

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/dc3a8d75-0b55-4794-b88c-f2a6d4e4da57%40googlegroups.com.

Friday, November 22, 2019

Good news about Smart GWT

Hi all,

Few weeks ago Isomorphic Software mentioned that to support GWT it's pretty easy for them and will continue to do that while the project is alive.

http://blog.isomorphic.com/the-difference-between-smartclient-and-smart-gwt/

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/48f92ff8-5fc7-4e5e-a57f-5175f1743e05%40googlegroups.com.

Thursday, November 21, 2019

PatternFly Java

Hi all,

I'm working on a GWT version of PatternFly [1]. PatternFly [2] is an open source design system built to drive consistency and unify teams. It's open source and sponsored by Red Hat. 

PatternFly comes with a set of design guidelines and components. There's support for plain HTML / CSS and React. PatternFly Java adds support for GWT. Currently only a subset of the PatternFly components is implemented. But I'm planning to add support for more / all components in the coming months.

PatternFly Java heavily depends on Elemento [3] and tries to support an API which is both easy to use and flexible enough to address special use cases. There's also a showcase [4] which demonstrates the current status.

I'd love to get feedback especially about the API design. Please file your ideas, critics and any other feedback as GitHub issues under [5].

Thanks 
Harald

[3] https://github.com/hal/elemento

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/9b592778-ab67-4be2-8ba7-82315bf16037%40googlegroups.com.

Tuesday, November 19, 2019

Re: Adding maps

I am pretty convinced Mallikarjuna Sarvala's answer doesn't work in 2019
But give it a shot and let us know.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/5d10abe7-3577-4087-85e8-5cd457847d03%40googlegroups.com.

Re: Adding maps

http://www.gwtopenlayers.org/

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/f0ccc899-c098-4d8d-bd94-7a2dcfd4b403%40googlegroups.com.

Re: Adding maps

Source: https://stackoverflow.com/questions/23543415/how-to-add-google-map-for-gwt-into-formpanel

How to add Google map for GWT into FormPanel?

Here is the code.

Simply call below line and the map is added in formPanel.

GoogleMap gMap = GoogleMap.create(formPanel.getElement(), options);

Some more configuration as defined below:

  • gwt.xml:

    <inherits name="com.google.maps.gwt.GoogleMaps" />  <script src="http://maps.google.com/maps/api/js?sensor=false" />
  • gwt-maps.jar in build path of the project.


Sample code:

public void onModuleLoad() {      FormPanel formPanel = new FormPanel();      formPanel.setWidth("500px");      formPanel.setHeight("650px");        RootPanel.get().add(formPanel);        MapOptions options = MapOptions.create();        options.setZoom(6);      options.setMapTypeId(MapTypeId.ROADMAP);      options.setDraggable(true);      options.setMapTypeControl(true);      options.setScaleControl(true);      options.setScrollwheel(true);        GoogleMap gMap = GoogleMap.create(formPanel.getElement(), options);        gMap.setCenter(LatLng.create(58.378679, -2.197266));  }

On Tuesday, 19 November 2019 16:56:29 UTC+5:30, shubhangi agarwal wrote:
I'm trying tp implant google Maps on gwt tab panel. but unfortunately unable to do so. please help

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/80fecec4-20c5-475d-a256-bceed88cb0d3%40googlegroups.com.