Friday, December 7, 2018

Re: Maven Archetypes - trouble running

Great! Thank you!

It worked just fine.



On Thu, Dec 6, 2018 at 8:36 PM Thomas Broyer <t.broyer@gmail.com> wrote:
Your webapp lives in Jetty, at http://localhost:8080
There are only few reasons to access the code server at http://localhost:9876; and you won't need the bookmarklets.

--
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 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+unsubscribe@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: Generate user.agent independent code

OK, I just realized that this somehow only worked for Firefox.

Maybe I have to explain the project structure a bit more. I have 5 projects of which I compile 2 and they depend on the others. It doesn't matter whether I put <collapse-all-properties/> in just the main projects or in all of them. The problem remains the same:

When trying to load then the nocache files it fails on the file that nocache is supposed to load.

Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:4400/pdfwebviewer/webworker/0CBE8FF2A030D479B8A35F1BF1905C26:4.cache.js' failed to load.

As you can see there is this :4.cache.js

The code from the nocache looks like this:

function importScriptFromBase(){
  var $intern_0 = 'gecko1_8', $intern_1 = '0CBE8FF2A030D479B8A35F1BF1905C26', $intern_2 = 'ie10', $intern_3 = ':1', $intern_4 = 'ie8', $intern_5 = ':2', $intern_6 = 'ie9', $intern_7 = ':3', $intern_8 = 'safari', $intern_9 = ':4', $intern_10 = 'user.agent', $intern_11 = '.cache.js', $intern_12 = 'webworker', $intern_13 = '';
  var strongName;
  try {
    unflattenKeylistIntoAnswers([$intern_0], $intern_1);
    unflattenKeylistIntoAnswers([$intern_2], $intern_1 + $intern_3);
    unflattenKeylistIntoAnswers([$intern_4], $intern_1 + $intern_5);
    unflattenKeylistIntoAnswers([$intern_6], $intern_1 + $intern_7);
    unflattenKeylistIntoAnswers([$intern_8], $intern_1 + $intern_9);
    strongName = answers[computePropValue($intern_10)];
  }
   catch (e) {
    return;
  }
  var url_0 = strongName + $intern_11;
  importScripts(url_0);
  gwtOnLoad(undefined, $intern_12, $intern_13);
}

So for gecko1_8 this works fine but tries to load the cache file with a weird ending. Any hints on this?

On Fri, 30 Nov 2018 at 21:17, Lars <lars.gemeinhardt@gmail.com> wrote:
Try <collapse-all-properties />
See https://www.sencha.com/blog/how-to-reduce-compilation-time-for-your-gxt-projects/

--
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/qyF5It-UR94/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-toolkit+unsubscribe@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+unsubscribe@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.

Thursday, December 6, 2018

Maven Archetypes - trouble running

Your webapp lives in Jetty, at http://localhost:8080
There are only few reasons to access the code server at http://localhost:9876; and you won't need the bookmarklets.

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

Wednesday, December 5, 2018

Search Columns to display particular values

Hi Guys,

I want something like below to be implemented in Grid or CellTable. Is there any way to implement this kind of behaviour in GWT??  

Capture.PNG

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

UnsatisfiedLinkError while debugging

I have recently updated GWT to 2.8.2 from 2.6.1.

I am trying to debug using the Classic dev mode with "-nosuperDevMode" flag but getting the error:
 
"uncaught exception: java.lang.UnsatisfiedLinkError: com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.getHash()Ljava/lang/String;" "" 0

This error was not occurring with GWT-2.6.1. It seems GWT-2.8.2 is not allowing the use of JSNI inside ClientSerializationStreamReader. Can someone help with this?


-Dinesh

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

Maven Archetypes - trouble running

Hello,

I'm trying to run a simple example of the gwt-maven-archetypes (https://github.com/tbroyer/gwt-maven-archetypes). I followed all the commands and got my module in place (modular-requestfactory). However, when running it, I'm getting an error message "Can't find any GWT Modules on this page".

What I did was:
  1. Cloned code from github
  2. Ran "mvn clean install"
  3. Ran "mvn archetype:generate" with "modular-requestfactory as the Artifact ID
  4. Then in one terminal window: "mvn gwt:codeserver -pl *-client -am"
  5. In another terminal window: "mvn jetty:run -pl *-server -am -Denv=dev"
  6. I open the browser on http://127.0.0.1:9876 and it tells me to bookmark the two links (which I did)
  7. I then click on the link for the module (which redirects me to http://127.0.0.1:9876/app/)
    1. This page is strange, because it says: "app: this module hasn't been compiled yet")
  8. I click on "Dev mode ON" bookmarked link and then I get the error message above
I believe I'm missing something very simple, but I can't figure it out what could be.

Any help?

PS. One further stupid question: how would I pack it into a WAR to deploy it?

Thanks a lot!
Aldo

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

Monday, December 3, 2018

Re: GWT compiler isn't allowing 'default' as a javascript object property in my JSNI block

worked! 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+unsubscribe@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.