So I know that I can communicate between those two using JSON, but I also know that I would have to manually recreate all Django objects in JS.
Do you know of any tool or library that could help me do that? Or maybe even a better way of achieving the same goal?
I only found these two: http://palantar.blogspot.com/2006/06/agad-tutorial-...
Hey everyone,
I am using a RequestBuilder in GWT (1.6) that successfully sends a String (formatted as a date) to a PHP script on my web server. My PHP then uses that String to query a MySQL Database. I am then able to echo a result, which is successfully interpreted by GWT.
My issue is that I don't just want to "echo" back a String. I ...
I'm trying to figure out how to upload one file using GWTs FileUpload widget. I'm using GWT and Google AppEngine with Java but I would like to upload file to my own Linux server.
I have the following code already but now I can't figure out how to submit my file to the Google AppServer server and save it to another server:
public class ...
I'm building app that will store large video files to the server and then user will be able to view them. For my app I'm using GWT + GAE/J and to store files I would like to use S3 account. But as we know that you can upload max 10mb to GAE. I have asked this kind of question before and the answer that I have accepted will work only if y...
Hey everyone,
For the past couple of days, I have been trying to get GWT to interpret either a JSONValue or a string of XML that gets passed back from the server (using PHP).
I'm pretty frustrated, because I can't seem to get anything to work. For the XML, I have confirmed that the String passed from PHP to GWT is a correct XML string...
I just tried to use Gears in my GWT application and got following error:
Jul 12, 2009 6:26:29 AM com.google.apphosting.utils.jetty.JettyLogger info
INFO: jetty-6.1.x
Jul 12, 2009 6:26:29 AM com.google.apphosting.utils.jetty.JettyLogger warn
WARNING: failed com.google.apphosting.utils.jetty.DevAppEngineWebAppContext@c45809{/,/Users/work/...
Hey everyone,
I have succesfully been able to parse a JSON into a JSONTree, however, my tree shows the iterators. I have tried iterator.remove(), but I get the error:
Error: java.lang.UnsupportedOperationException: Remove not supported on this list
Can someone please look at my code, and let me know of anything I can do? Thanks!
publ...
I am working on converting the functionality of some JSP pages to GWT. I noticed that javax.servlet.http.HttpServletRequest request is an implied object in JSP, and one can obtain the client's refresh count by calling request.getParameter("refreshCount"). I noticed that one can also access this request object in GWT in the service impl...
Hey everyone,
I'm getting an IllegalCastException on the following (see bold line):
public void renderXML(final String xml) {
final Document xmlDoc = XMLParser.parse(xml);
final com.google.gwt.xml.client.Element root = xmlDoc.getDocumentElement();
XMLParser.removeWhitespace(xmlDoc);
final NodeList collection = root.getElementsByTa...
I'm trying to setup a new gwt project in Eclipse (3.4 Ganymede) using maven with the codehause gwt-mave-plugin (v. 1.1).
I have installed the Google Eclipse Plugin including the Google App Engine Java SDK 1.2.2, the Google Plugin for Eclipse 3.4 and the Google Web Toolkit SDK 1.7.0.
I'm using the gwt-maven-plugin archetype to generate ...
Hey all,
I was trying all of yesterday to try and integrate a SQL Database with SmartGWT for a lazy list but I just couldn't figure out how to implement it. (JavaDoc, and example of a lazy list)
What I want to do is create a list of a bunch of "sites" all over the world. The problem is there will probably be about a million of them, s...
So, I'm using google datastore for my GWT app and my coworker came up with an interesting question that I don't have the answer to. What happens to the set of keys when you delete some of the objects?
For example,
Person.java
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Person {
@PrimaryKey
@Persi...
I have a gwt project that uses gwt-mosaic.
Here is the error message I get:
Compiling module com.athena.Athena
Refreshing module from source
Validating newly compiled units
Removing units with errors
[ERROR] Errors in 'jar:file:/Users/kevmo/AthenaLibs/gwt-mosaic/gwt-mosaic-r951.jar!/org/gwt/mosaic...
I am using Google App Engine with Google's JDO implementation to save an entity for which I wish to provide an URL that a user can navigate to to view information about that entity. The problem I have is that the key generating strategy IdGeneratorStrategy.IDENTITY produces very long keys while the INCREMENT and SEQUENCE strategies are ...
What is the proper way to use URL parameters?
My URL is this: http://localhost:8080/#pg5?testing=abc
In my code I try to get the value of testing using this line of code:
String value = com.google.gwt.user.client.Window.Location.getParameter("testing");
Unfortunately all this does is set my string to "undefined".
I thought perhaps ...
Hi all,
This problem probably has been discussed, but this one is slightly different.
I'm using GWT FormPanel + FileUpload widget to upload a file. My backend is python-django.
My problem is, the GWT FormPanel never trigger the SubmitCompleteHandler event. And on the django log, I can see "Broken pipe", which probably indicates that...
I have Application written with GWT 1.7. I have one page where I upload file to the remote server that is on different domain. So, when I do Post to the server files goes to the server but when it's time to get response I'm getting null in following function:
Servlet:
...
resp.setStatus(HttpServletResponse.SC_CREATED);
resp.getWriter()...
I asked a related question here
How do I programatically write parameters into the URL using GWT? I've learned from my previous question that parameters need to go before the anchor, but how do I do that from GWT?
Here's the code that doesn't work:
Hyperlink pg1 = new Hyperlink("Test", "?testing=abc#pg1");
It results in the followi...
Does GWT 1.7 have support for Class.getSimpleName()? I am currently using 1.6, and it does not support this method.
http://code.google.com/p/google-web-toolkit/issues/detail?id=3404 says its been fixed but not released, but perhaps the status hasn't been updated for a while.
I could easily replicate it myself by manipulating Class.getNa...
I understand the purpose of GWT, but I'm wondering if I can use it to compile a few functions from Java to JavaScript just to make sure that I don't have to maintain the same code in two different languages.
Or would GWT bring along too much library/support overhead along to make this a reasonable choice?
For future projects, I have th...