Sunday, December 22, 2019

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.