There seems to be quite a lot of confusion regarding integrating Maven with GWT 1.6, as Google has changed the layout to "exploded war" format. Which plugin are you using? Does it have goals for hosted/compile? Does it work "in place", writing output to src/main/webapp/WEB-INF, or does it use an external dir? (I'm not a fan of having...
As this thread shows, there seems to be an issue getting JSPs to compile in GWT hosted mode with the new Jetty server:
2. ERROR in /tmp/Jetty_0_0_0_0_8080_war____ut4fm1/jsp/org/apache/jsp/
test_jsp.java (at line 53)
new java.util.ArrayList<String>();
^^^^^^
Syntax error, parameterized types ar...
I want to use OpenID in my Java Google App Engine web application but I don't know where to start...
I have looked at openid4java and joid.
openid4java says you have to place some libraries on the "endorsed libraries"-path. I don't have one locally on my computer, and I sure don't know how to
do that on Google App Engine.
joid looks ...
Is it possible to create widgets / portlets in GWT that can be dynamically loaded and added to a GWT web application, and where the GWT widgets can reside in a separate war files?
To clarify my question:
JSR168/JSR286 compliant portals make it possible to create portlets in separate projects (war files) and to dynamically load these int...
I am trying to use the myType class declared in the package
com.mycompany.myproject in a class that lives in
com.mycompany.myproject.client but I am getting the following errors
when compiling:
[ERROR] Line [X]: The import com.mycompany.myproject.myType cannot be
resolved
If I try to run the hosted browser I get:
[ERROR] Line [X]: No ...
Hi,
I want to make my hyperlinks act like buttons (only respond to Click event) however, they change the history token automatically when you click on them, which messes up my history mechanism in my application. Is there a way to suppress the default behaviour of the hyperlink so it doesn't change the history token? I tried setting tar...
Can search engines such as Google index JavaScript generated web pages? When you right click and select view source in a page that is generated by JavaScript (e.g using GWT) you do not see the dynamically generated HTML. I suppose that if a search engine also cannot see the generated HTML then there is not much to index, right?
...
I know it's not optimal, but I have to work with it, a page making calls to the applet.
My problem is, when I do so, I recieve a rather cryptic error message:
"uncaught exception: Error calling method on NPObject!
[plugin exception: java.lang.reflect.InvocationTargetException]."
Can anyone decode this? Even multiple possibilities wo...
This is probably a really simple thing, but I don't know how to implement the following.
package mods.client.resultSelector;
import com.google.gwt.event.dom.client.MouseDownEvent;
import com.google.gwt.event.dom.client.MouseDownHandler;
import com.google.gwt.user.client.ui.AbsolutePanel;
import com.google.gwt.user.client.ui.Composite;...
In my GWT application I am using Border Layout to display a large image within a Panel that is added to the Centre location.
I would like to click and drag on the image to change the portion of the image that is displayed. This would be equivalent of using the scroll bars to move the portion of the image displayed on screen. This is sim...
I am trying to upload data to Google App Engine (using GWT). I am using the FileUploader widget and the servlet uses an InputStream to read the data and insert directly to the datastore. Running it locally, I can upload large files successfully, but when I deploy it to GAE, I am limited by the 30 second request time. Is there any way aro...
GWT compiles the Java source into Javascript, and names the files according to a hash of their contents. I'm getting a new set of files every compile, because the javascript contents are changing, even when I don't change the source at all.
The files are different for OBF and PRETTY output, but if I set it to DETAILED, they're no longer...
I'm trying to get GWT Hosted mode working in Eclipse, à la this HOWTO. Servlets work fine, as does my GWT code, but all my JSPs fail because with errors such as the following:
[WARN] /view/lniExecutiveSummary.htm
org.apache.jasper.JasperException: /WEB-INF/jsp/lni/lniExecutiveSummary.jsp(1,1) The absolute uri: http://java.sun.com/jsp/...
My team is embarking on its very first GWT project. We are fairly strong with Swing applications, with almost all of our work involving significant Swing GUIs.
However, this is our very first foray away from the Desktop and to the Web, and the project requires us to use GWT. The project itself is pretty straight forward, the only unknow...
Anyone have GWT 1.6.4 running on FreeBSD? Our build server is a FreeBSD box, and dies with the following when we try to compile:
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000800d0c724, pid=4749[thread 34370233088 also had an error], tid=0xa02d80
#
# Java VM: Diablo Java HotSpot...
So, as the title says, when GWT compiles Java into JavaScript, is the result just minified, or is it obfuscated also?
...
I'm having trouble adding a variable amount of labels to a panel. My problem is that for some reason when adding my clicklistener it returns void instead of widget (error). If I just have "new Label('xyz')" that works fine, but I need each panel to have their own clicklistener as well. Here is the code:
for(int x = 0;x<productIDArray...
Hi there
In a GWT solution. (so this is java code that is then compiled to javascript).
There are of course some classes.
Is it a good idea to make the setter check for Null on a String field?
something like this
public void setSomeField(String someField){
if (null != someField)
this.someField = someField;
else
this.so...
It seems like this should be relatively simple, but apparently not so much. I can't figure out for the life of me how to store strings and integers in an array in GWT. What data type do you use? If I use JsArrayString, it throws an IllegalArgumentException when retrieving an index containing a number. I obviously can't use JsArrayInt...
Hi ,
I am new to GWT.I have developed a GWT application in version-1.6.4 and it is working fine.Now I want to integrate with that project in existing J2EE application.I dont know how to go ahead?
Where to copy GWT source codes in existing J2EE application.I am using RPC also in GWT.
Can anyone provide help on this?
Thanks.
...