Skip to content
Advertisement

Tag: gwt

make async call using native JS in GWT app

I have a GWT app in which I have to include an JS function. So I am using the native interface to use the JS function in my JAVA code. This is my JS function But the problem with this is when I receive the Promise response via response.json(), it is still in pending state, so it never goes to

“Module has no entry points defined”, except it does (migrating the gwt-maven-plugin)

[INFO] [ERROR] Module has no entry points defined I am migrating from org.codehaus.mojo:gwt-maven-plugin to net.ltgt.gwt.maven:gwt-maven-plugin, and I can’t seem to convince the compiler that my module DOES have an entry point defined. The old plugin could only work with older Java, which I don’t have anymore… So I moved on to the newer incarnation of the GWT Maven plugin… Unfortunately

WebGPU JsInterop wrapper

I am trying to play around with WebGPU in GWT 2.9.0 using JsInterop and I face some problems trying to map all the WebGPU interfaces to Java. The definitions I refer to are located at https://www.w3.org/TR/webgpu/#idl-index 1) How do I map an unsigned long long? There is a typedef: typedef [EnforceRange] unsigned long long GPUSize64; that is used for example

Are server 500 errors a security issue?

I’ve found that it’s possible to cause 500 errors on a server using curl and a faked GWT-Permutation with a POST payload. The payload is generating a java.lang.Exception on an Apache server. Does this open up a security issue? Should I report it to Google’s GWT support? To clarify the question: Would a significant number of server errors be a

In GWT, How can I get all attributes of an element in the HTML DOM?

I can’t see any method on the com.google.gwt.dom.client.Element class that allows me to get all attributes of an element node. Have I missed anything? Presumably I can get the attributes array of the underlying Javascript object by dropping into native code? I know the results are browser-dependent, but there seem to be known workarounds for that. I haven’t dived much

autocomplete in vaadin?

I’m new to vaadin. How do I do autocomplete (actually, more like google suggest) on a huge set of data that cannot be loaded in memory, but instead performing a JPA query on every key event. Is it possible to capture key events on a textfield or combobox? Answer You could check out Henrik Paul’s SuperImmediateTextField, which is a Vaadin

Advertisement