Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Dr. Lofi Dewanto
    @lofidewanto_twitter
    @vegegoku Thanks for rhe insight 👍🏼
    Benjamin DeLillo
    @OneGeek
    [INFO] --- gwt-maven-plugin:1.0.0:compile (default-compile) @ ekotrope-client ---
    [WARNING] Error: Could not find or load main class com.google.gwt.dev.Compiler
    [WARNING] Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler
    WHat the heck did I mange to break now...
    Colin Alworth
    @niloc132
    no gwt-dev.jar apparently?
    Benjamin DeLillo
    @OneGeek
    Hmm, I was just debugging into gwt-maven-plugin by attaching eclipse to maven in debug mode. Prior to that it was working. I've switched back to not debugging it and now it can't find those classes. I wonder what I changed.
    Dmitrii Tikhomirov
    @treblereel
    Do we have elemental2 filesystem library ? if not i ll generate it
    Dr. Lofi Dewanto
    @lofidewanto_twitter
    @treblereel Haven't seen this... would be cool, I would like to try... Is it just like ActiveX before? 😉
    Dmitrii Tikhomirov
    @treblereel
    @lofidewanto_twitter chrome only :(
    Frank Hossfeld
    @FrankHossfeld
    I need to add a XSRF-Token to the header of w GWT-FileUpload. Server side is Spring Security expected the token set inside the header. Any idea how to solve this problem?
    Colin Alworth
    @niloc132
    i'm not familiar with gwt-fileupload, but if it is a <form> upload you're out of luck i believe - you'll have to use the file api to read the contents and send via xhr/fetch iirc?
    Frank Hossfeld
    @FrankHossfeld
    okay .. that’s my impression too. gwt-fileupload is a form. so I think, I have no chance to add it to the header. I’ll take a look at the file api. Thanks!
    Colin Alworth
    @niloc132
    right, either a special case will need to be made (and i'm assuming that there is concerns about xsrf on this platform), or switch to a different upload mechanism like that
    Frank Hossfeld
    @FrankHossfeld
    I’ll expect, to see the Cookie inside the request. But they change the behavior due tp AngularJS
    Colin Alworth
    @niloc132
    inside the request body? is it a cookie you can read from JS, and add to a request param or something?
    cookies are meant to only be ready by the page that sent them, so that is a kind of security that can be used - though if they are one time use you somehow have to request one first as you might have already used it
    Frank Hossfeld
    @FrankHossfeld
    Yeap, that’s the idea. getting the Cookie from the last response and add it as a hidden field to the form. Then, on the server side, use a filter to add it to the header …
    Colin Alworth
    @niloc132
    hmm
    that should work then?
    Frank Hossfeld
    @FrankHossfeld
    not sure … give it a trsy … :-)
    Colin Alworth
    @niloc132
    gwt-fileupload should let you add a hidden input, or you should be able to hack it without too much trouble i assume?
    i dont think using a filter is a good idea, you're circumventing the point of the protection
    that makes it possible to attack that form via the filter, assuming this is a real concern
    Frank Hossfeld
    @FrankHossfeld
    agree, not happy with it … but … atm, have no better idea.
    Colin Alworth
    @niloc132
    instead use the js file api
    that's my strong recommendation, otherwise you might be putting the security vuln back again
    Frank Hossfeld
    @FrankHossfeld
    will it work with IE11
    ?
    I am also not happy with the solution.
    Colin Alworth
    @niloc132
    it looks like it? https://caniuse.com/fileapi
    you just need FileReader i think - the File object ctor isn't required
    since you're going to read the File object off of the input type=file
    Frank Hossfeld
    @FrankHossfeld
    ok should work. I will give it a try
    Miroslav Pokorny
    @mP1
    caniuse.com looks like a good quick source of info ++
    Colin Alworth
    @niloc132
    its pretty good
    Miroslav Pokorny
    @mP1
    looks like its very much focus on quick real answers that dev types need at a glance, with mdn as backup
    Colin Alworth
    @niloc132
    yeah its not a replacement for understanding the api and figuring out the nitty gritty details, but for a quick glance of "oh yeah this'll work in all browsers i can about" it cant be beat
    oedemis
    @oedemis
    have anybody deployed GWT frontend app on S3 and communicate via GWT RPC to another GWT app deployed on EC2-Instance ?
    Colin Alworth
    @niloc132
    that should work fine as long as you have CORS headers set cleanly on your gwt app on the ec2 instance
    i haven't done precisely that, but something similar
    Manfred Tremmel
    @ManfredTremmel_gitlab
    For your information, I've just uploaded version [1.5.0-SNAPSHOT of gwt-bean-validators|https://oss.sonatype.org/content/repositories/snapshots/de/knightsoft-net/gwt-bean-validators/1.5.0-SNAPSHOT/]. it's first time, the apt code generator is used for generating validation code and all tests are green (Tests run: 485, Failures: 0, Errors: 0, Skipped: 0). So generating Validators by ValidatorFactory works nearly the same way as before. If you compare [old ValidatorFactory.java|https://gitlab.com/ManfredTremmel/gwt-bean-validators/-/blob/master/gwt-bean-validators/src/test/java/de/knightsoftnet/validators/client/factories/ValidatorFactory.java] with [new ValidatorFactory.java|https://gitlab.com/ManfredTremmel/gwt-bean-validators/-/blob/feature/Java_Annotation_Processing_for_Code_generation/gwt-bean-validators/src/test/java/de/knightsoftnet/validators/client/factories/ValidatorFactory.java] in the test case, it's only line 104 which differs.
    There are still ToDos open, some Workarounds are ugly and a refactoring is required. Also the generator for BeanValidationEditorDriver has to be ported, so it's still some way to go until release, but it reached a state, you can do first tests if you want.
    Ahmad K. Bawaneh
    @vegegoku
    @ManfredTremmel_gitlab this is some great news, thank you very much. :clap:
    Dr. Lofi Dewanto
    @lofidewanto_twitter
    @ManfredTremmel_gitlab Cool, thanks a lot!
    Frank Hossfeld
    @FrankHossfeld
    :+1:
    Matt Davis
    @mdavis95
    we just deployed a public facing Vue-GWT/Webpack/Autorest app for anyone that likes to see GWT live (https://worldreport.nih.gov/wrapp)
    Ahmad K. Bawaneh
    @vegegoku
    :clap: congrats, that looks good
    Rafat J. Al-Barouki
    @rjeeb
    great job guys, well done :thumbsup:
    Dr. Lofi Dewanto
    @lofidewanto_twitter

    we just deployed a public facing Vue-GWT/Webpack/Autorest app for anyone that likes to see GWT live (https://worldreport.nih.gov/wrapp)

    Wow that's GWT based? Amazing... 🤩

    Frank Hossfeld
    @FrankHossfeld
    Wow …. great job ...
    Miroslav Pokorny
    @mP1
    Seems like a strange selection of data, for example Australia has no Australian gov funding which is "wrong" because health is the largest cost in the Aust gov
    Miroslav Pokorny
    @mP1
    and the city column should be "location" many of the Australian cities are not cities but suburbs