Hi!
Is is possible to create a single JavaScript output ffrom a GWT application
which would support all major browsers (Safari, Gecko, IE10)? If yes: how
can I specify which browsers should be supported?
If I use:
along with:
I get the:
[ERROR] The module must have exactly one distinct perm
I stumbled upon this very interesting old topic today, when I tried to
manipulate the *display* property of the container's element. I'm gonna
demonstrate here, that this issue has few hard to deal with pitfalls.
So, the first stumbling block I ran into, was a vain attempt to change the
*displa
A status code of 0 is generally indicative of a cross origin request without
CORS (or an aborted request or network error)
--
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 em
Did some additional investigation on this by trapping the Response object
in an exit filter and examining it. I found that the Response from Web
service is way different from the GWT-Server side code. Given below are the
screen-clips from both. Long story short - trapping the Jersey Web Service
Haven't used RestyGWT, but after reading thru different available options,
I recently switched to Errai JAX-RS, the setup is pretty straight forward
and it provides out of the box jackson serialization/de-serialization and
cross-domain access.
On Tuesday, November 8, 2016 at 4:10:26 PM UTC-5,
@Thomas Broyer
Thanks for the prompt response and suggestions. I did switch to
GWT RequestCallback but the problem seems to larger than I expected.
It appears the GWT Response class and the Jersey Response classes may not
be compatible.
@GET
@Produces(MediaType.APPLICATION_JSON)
@Pa
Thank you very much. I'll try both options.
Rodolfo
On Tue, Nov 8, 2016 at 9:13 AM Vassilis Virvilis wrote:
> with @jsinterop you can (untested of course)
>
> @JsType(isNative = true)
> public class JavaScriptFile {
> public String filename;
> public String anotherMember;
> }
>
> then __if_
Thank you.
I completely forgot about
"com.google.jsinterop:jsinterop-annotations:1.0.0:sources"
Turns out you actually need to know how to use maven when using maven :)
Den tirsdag den 8. november 2016 kl. 13.44.28 UTC+1 skrev Thomas Broyer:
>
> Basically, either you use "managed dependencies"
Basically, either you use "managed dependencies" (Maven, Gradle, Ivy, etc.)
and it should resolve all dependencies for you; or you use the GWT SDK that
you can download from the project website which bundles (almost) everything
into 2 JARs.
If you download from a Maven repo, then you'll need
js
with @jsinterop you can (untested of course)
@JsType(isNative = true)
public class JavaScriptFile {
public String filename;
public String anotherMember;
}
then __if__ you can cast JavaScriptObject to the @jsinterop type you can
acces its fields directly.
with jsni you can do that (also untes
Hi
There might be an issue with the gwt-user-2.8.0.jar or
jsinterop-annotations-1.0.x.jar(s) uploaded to the maven repository.
We are getting the following error:
* Loading inherited module 'com.google.gwt.core.Core' Loading
inherited module 'jsinterop.annotations.Annotations'
Thomas,
Finally, i was able to make superdev mode work. I had to exclude all the
jetty 8.1 dependencies (those were getting included because of my some
other internal dependency). In addition to that, i am also now using 3.1
servlet-api version (it was 3.0.1).
Thanks again. Appreciated.
*Zeeshan
>
>
> The common practice (with almost any Java logging framework) is to have
> your loggers as static final fields and using the class name as the logger
> name (some logging frameworks even have static factory methods taking a
> java.lang.Class as "name").
>
> Re. the common practice above,
Hi,
I'm trying to use GWT Polymer from Vaadin and JavaScriptObject is killing
me.
The Upload widget returns a JavaScript object that is supposed to be a
JavaScript 'File' and I can't extract the file name from it. How can I
convert this JavaScriptObject to a useful Java object?
Many thanks
GWT provides java.util.logging.Logger but my source code was depending in
apache-commons logging. So I reimplemented apache-commons logging based on
the logging facilities of GWT. The same can be done if your code depends on
log4j or slf4j. You can keep the same packaging structures so you can
easi
Ooh! Now I saw it. The initial letter is from 2009. Sorry for replied to a
zombie thread
Vassilis
On Tue, Nov 8, 2016 at 12:48 PM, Vassilis Virvilis
wrote:
> From the subject I thought that somebody was asking for the "magical" tool.
> By reading becomes evident that somebody has actually
>From the subject I thought that somebody was asking for the "magical" tool.
By reading becomes evident that somebody has actually implemented the
"magical" tool which is not magical after all just a lot of work, design,
builtin assumptions and real life trade offs as all useful software.
Definite
JsonpRequestBuilder has a default timeout of 10 seconds, whereas
RequestBuilder doesn't have a timeout by default.
http://www.gwtproject.org/javadoc/latest/com/google/gwt/jsonp/client/JsonpRequestBuilder.html#setTimeout(int)
Anyway, if you can setup CORS on your server (Access-Control-Allow-Origin
Thanks Thomas for your reply. You are correct, we definitely needs to
optimize these dependencies.
About this 'AggregateLifeCycle class. ' Issue. I did able to find out the
origin of jetty-deploy from where it was coming, but even excluding it
doesn't solve my issue. Any other hint , from where el
On Tuesday, November 8, 2016 at 4:36:20 AM UTC+1, vitrums wrote:
>
> Recently I found, that some log4j-like functionality in my client's code
> could be handy. So with the GWT logging module I can pretty much have a
> shared logging code, which is very convenient to use on both sides. The
> tu
On Tuesday, November 8, 2016 at 8:20:58 AM UTC+1, Majdi ABDELMOULA wrote:
>
> Thank you for your reponse.
>
>> the problem GXT is not free now. I will lost two old projects (projects
>> since 6 years). I will use smart GWT for a new project, so i must start
>> from zero, but i worry that Smart
Please open up the code and help us to learn it. Thanks in advance.
On Wednesday, November 25, 2009 at 3:02:08 AM UTC+5:30, Davi Pires wrote:
>
> Hi all,
>
> In my company, we have been working with GWT for almost a year,
> developing a ridesharing application (http://www.bigoo.com.br). I
> rea
On Monday, November 7, 2016 at 11:17:10 PM UTC+1, Zeeshan Chughtai wrote:
>
> Hi,
>
> Thanks for this, really happy to have it around.
>
> We were using 2.8.0-beta1 version for a while without any major fuss.
>
> While upgrading to 2.8.0 released version, we get stuck with codeserver
> refused
23 matches
Mail list logo