[appengine-java] Re: having trouble implementing gwt in existing gae app

2010-04-07 Thread zackmac
Anybody have any thoughts on what I could be missing? On Apr 5, 9:24 pm, zackmac zack.macom...@gmail.com wrote: I'm using Eclipse 3.4.1, GAE 1.3.1 and trying to use GWT 2.0.3.  I've been working on my GAE app some time and that's working well - just want to spice up the front-end a little.  I

[appengine-java] having trouble implementing gwt in existing gae app

2010-04-05 Thread zackmac
I'm using Eclipse 3.4.1, GAE 1.3.1 and trying to use GWT 2.0.3. I've been working on my GAE app some time and that's working well - just want to spice up the front-end a little. I added a new GWT module, entry point class and HTML page from File - New and then copied the appropriate js head

[appengine-java] error when trying to run gae/j app - Usage: dev-appserver [options] war directory

2010-03-29 Thread zackmac
getting this message when trying to run my gae/j app in Eclipse: Usage: dev-appserver [options] war directory Options: --help, -h Show this help message and exit. --server=SERVERThe server to use to determine the latest -s SERVER SDK version.

[appengine-java] Re: error when trying to run gae/j app - Usage: dev-appserver [options] war directory

2010-03-29 Thread zackmac
, and then try right-clicking on your project Run As Web Application. jason On Mon, Mar 29, 2010 at 1:06 PM, zackmac zack.macom...@gmail.com wrote: getting this message when trying to run my gae/j app in Eclipse: Usage: dev-appserver [options] war directory Options:  --help, -h

[appengine-java] Re: error when trying to run gae/j app - Usage: dev-appserver [options] war directory

2010-03-29 Thread zackmac
On Mon, Mar 29, 2010 at 1:06 PM, zackmac zack.macom...@gmail.com wrote: getting this message when trying to run my gae/j app in Eclipse: Usage: dev-appserver [options] war directory Options:  --help, -h                 Show this help message and exit.  --server=SERVER            The server

[appengine-java] Re: jdoql contains method

2010-01-02 Thread zackmac
by the app; it cannot refer to another field, or be calculated in terms of other fields. so it seems to me desc.contains(ing) filter might cause the issue. On Sun, Dec 27, 2009 at 4:19 AM, zackmac zack.macom...@gmail.com wrote: I'm trying to use the contains method in a query and having some

[appengine-java] Using UserService credentials with a SpreadsheetService

2009-12-28 Thread zackmac
In my GAE/J web application, users authenticate via their google account. I check to see they've signed into google via this code in my jsp: UserService userService = UserServiceFactory.getUserService(); User user = userService.getCurrentUser(); if (user == null)

[appengine-java] Re: google docs error when trying to retrieve docs in GAE/J

2009-12-27 Thread zackmac
the local GAE for these games). I know my answer may not be a solution for you but at least its nice to know that I wasn't the only one having issues with Google Docs APIs. Thanx. Lior On Dec 27, 3:03 am, zackmac zack.macom...@gmail.com wrote: I'm just trying to do an initial google docs

[appengine-java] Re: google docs error when trying to retrieve docs in GAE/J

2009-12-27 Thread zackmac
around with the API until I was able to hack something. (use the local GAE for these games). I know my answer may not be a solution for you but at least its nice to know that I wasn't the only one having issues with Google Docs APIs. Thanx. Lior On Dec 27, 3:03 am, zackmac zack.macom

[appengine-java] jdoql contains method

2009-12-26 Thread zackmac
I'm trying to use the contains method in a query and having some trouble. The query is formatted like this: select from Transactions where userName == 'auser' account == 'anAccount' desc.contains(ing) order by transDate desc, categoryName desc is a column in my Transactions table. Don't

[appengine-java] Re: javax.jdo.JDOObjectNotFoundException: Could not retrieve entity of kind Transactions with key Transactions(Transactions(67))

2009-12-08 Thread zackmac
Finally found a way in case anybody was curious... Unfortunately, I have to loop through all of my pertinent records until I have a match on the keys. If anyone can suggest a different way (that works) that's more efficient than below, do tell... Query query = pm.newQuery(Categories.class,

[appengine-java] Re: javax.jdo.JDOObjectNotFoundException: Could not retrieve entity of kind Transactions with key Transactions(Transactions(67))

2009-12-04 Thread zackmac
com.google.appengine.api.datastore.Key:Categories(76) is what's returned on the insert: Categories category = new Categories(user.getNickname(), account, categoryName); pm.makePersistent(category); Object o = JDOHelper.getObjectId(category); System.out.println(o.toString()); This is what's

[appengine-java] Re: javax.jdo.JDOObjectNotFoundException: Could not retrieve entity of kind Transactions with key Transactions(Transactions(67))

2009-12-03 Thread zackmac
This is strange - when I retrieve the object after persisting via JDOHelper.getObjectId(obj), I get an object back no problem. Then, before trying to delete the object, I do pm.newObjectIdInstance (Categories.class, key) and I get a NullPointerException. I know in this post I've put in

[appengine-java] Re: javax.jdo.JDOObjectNotFoundException: Could not retrieve entity of kind Transactions with key Transactions(Transactions(67))

2009-11-21 Thread zackmac
Ok - before trying to delete the specific Transacation, I'm looping through all Transactions to check if the delete request parm is the same as Transaction.getKey().toString [if (trans.getKey().toString ().equals(reqParm)]. This is returning true. Isn't that evidence enough that the key exists?

[appengine-java] javax.jdo.JDOObjectNotFoundException: Could not retrieve entity of kind Transactions with key Transactions(Transactions(67))

2009-11-19 Thread zackmac
I'm trying to delete a record and having some trouble. When a delete button is pushed on a jsp, the key associated with the delete button is being passed to a servlet (the delete button is attached to a list of Transactions). But, I get an exception on this code: Transactions trans =