Re: ScriptElement.setInnerText doesn't take effect

2017-04-14 Thread Jens
If it is inline script (no src attribute) then I think that is not possible with JavaScript and thus not possible with GWT. Inline JavaScript is executed immediately / synchronous during page load. I think won't execute again when you change it using innerHTML. I guess you would need to use a

Re: [gwt-contrib] Re: Elemental2 and JsInterop base beta releases available.

2017-04-14 Thread Jens
> > Is this still true for elemetal2? I use JsInterop to define DTOs, they > area easy and clean, but collections are still a small problem, if > elemental solve this will be awesome, but not sure if this is going to be > true. New union types can be influenced to be used easily in the JVM too

Re: [gwt-contrib] Re: Elemental2 and JsInterop base beta releases available.

2017-04-14 Thread Ignacio Baca Moreno-Torres
Elemental 1 has this goal (http://www.gwtproject.org/articles/elemental.html): > > Elemental also includes high-performance collections and a new JSON > library. These libraries work equally well in a browser or in a server > (JVM) environment. Is this still true for elemetal2? I use JsInterop

Re: Elemental 2: devmode Error

2017-04-14 Thread zakaria amine
I was using 2.8.0, now it works, Thanks for the info! Le vendredi 14 avril 2017 17:17:22 UTC+2, Thomas Broyer a écrit : > > Are you using the HEAD-SNAPSHOT version of GWT? elemental2-beta1 doesn't > work with GWT 2.8.0 (this is one of the reasons a 2.8.1 will soon be > released, see the

Re: Elemental 2: devmode Error

2017-04-14 Thread Thomas Broyer
Are you using the HEAD-SNAPSHOT version of GWT? elemental2-beta1 doesn't work with GWT 2.8.0 (this is one of the reasons a 2.8.1 will soon be released, see the gwt-contributors forum) On Friday, April 14, 2017 at 4:22:01 PM UTC+2, zakaria amine wrote: > > Hello everybody, > > I tried the latest

Elemental 2: devmode Error

2017-04-14 Thread zakaria amine
Hello everybody, I tried the latest version of Elemental 2: com.google.elemental2 elemental2-dom 1.0.0-beta-1 provided but I get the following error when I try to lunch the project in devmode: [ERROR] Errors in 'jsinterop/base/InternalJsUtil.java' [INFO] [ERROR] Line 225:

Re: ScriptElement.setInnerText doesn't take effect

2017-04-14 Thread David
Original web site only runs in IE8. I have to convert document.all tag for Chrome or IOS on fly. I can not get access to source codes and I need to keep all functions by replacing IE8-related tags so I need any change in ScriptElement can take effect immediately. David On Friday, April 14,

Re: ScriptElement.setInnerText doesn't take effect

2017-04-14 Thread Vassilis Virvilis
Does this work across browsers? What happens on the previous code? I always thougt that the current best practice was 'page reload'. On Apr 14, 2017 09:50, "Alberto Mancini" wrote: > Hello, > AFAICT there's a chance that you have to use .setText instead of >

Re: ScriptElement.setInnerText doesn't take effect

2017-04-14 Thread Alberto Mancini
Hello, AFAICT there's a chance that you have to use .setText instead of .setInnerText. That said, can i ask you what is the purpose of modifying the script content of a script tag ? Regards, Alberto On Fri, Apr 14, 2017 at 7:27 AM David wrote: > I use GWT to process ,