[appengine-java] Why are java_lang_Object Entities are being created?

2011-09-19 Thread IlyaE
I look at the Database Viewer and besides the models and _ah_SESSION i see there is a java_lang_Object entity that only has a ID/Name attribute. What is this and why are they being created? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[google-appengine] JQuery losses functionality when deployed.

2011-09-05 Thread IlyaE
I have the following code.. $.ajax({url:AddItem,type:post,timeout:3500,data:{id:%=regId%,title:t}, success:function(r){ if ($(#n).length) { console.log('n exists'); $(#n).empty(); console.log('n emptied'); $(#n).html(test); } }});

[appengine-java] Sending Mail sends duplicate to admin account

2011-06-14 Thread IlyaE
I have code that sends out email, but it also sends the From email a copy. Can i shut this off? Here is the code. Message msg = new MimeMessage(session); msg.setFrom(new InternetAddress(myem...@gmail.com, Get That Gift Robot)); msg.setSubject(Subject); msg.setContent(body.toString(),

[appengine-java] Datastore and lists

2011-05-18 Thread IlyaE
I'm having some architectural problems. On the net i read that saving and retrieving datastore entities are much faster than JDO objects so i've decided to go that route. Do I need to create model object if i'm doing a datastore? I haven't found a reason yet but i'm curious if i do. How do i

[appengine-java] Re: import deployed project into eclipse

2009-12-01 Thread IlyaE
Is it possible to get a google rep to answer this? When the i deploy, does it upload the source code to the engine as well? It would be great to retrieve it in case a project gets erased locally. On Nov 28, 3:19 pm, IlyaE ilyaelk...@gmail.com wrote: Is there a way to import the source code

[appengine-java] import deployed project into eclipse

2009-11-28 Thread IlyaE
Is there a way to import the source code into eclipse of a previously deployed project from the app engine cloud? I want to work on the site but from another pc that does not share the workspace. -- You received this message because you are subscribed to the Google Groups Google App Engine for

[appengine-java] Re: NullPointer on key

2009-11-18 Thread IlyaE
Running into another issue. So i'm detaching my object and passing it along in a session. I'm now getting this error WARNING: javax.jdo.JDODetachedFieldAccessException: You have just attempted to access field contactInfo yet this field was not detached when you detached the object. Either dont

[appengine-java] Re: NullPointer on key

2009-11-13 Thread IlyaE
://www.datanucleus.org/products/accessplatform_1_1/jdo/fetchgroup... If after reading this you're still not able to get your code working, please post your model objects and your code and I can take a look. Max On Fri, Nov 13, 2009 at 11:49 AM, IlyaE ilyaelk...@gmail.com wrote: Max, Can you please

[appengine-java] Re: NullPointer on key

2009-11-13 Thread IlyaE
...@google.com wrote: You should probably read this as well:http://www.datanucleus.org/products/accessplatform_1_1/jdo/attach_det... On Fri, Nov 13, 2009 at 1:31 PM, IlyaE ilyaelk...@gmail.com wrote: I'm not detaching the object. Should i be? Do i still need modified fetching code if i use detached

[appengine-java] Jetty compiled JSPs

2009-11-12 Thread IlyaE
Where are the compiled JSPs stored on the local filesystem? I don't see them in my workspace files. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To

[appengine-java] Re: Session handleing example

2009-11-12 Thread IlyaE
this line to your appengine-web.xml file:     sessions-enabledtrue/sessions-enabled http://code.google.com/appengine/docs/java/config/appconfig.html#Enab... On Tue, Nov 10, 2009 at 12:03 PM, IlyaE ilyaelk...@gmail.com wrote: I'm looking to track a user session if they have logged in using

[appengine-java] Re: Session handleing example

2009-11-12 Thread IlyaE
in session scope when deployed. On Thu, Nov 12, 2009 at 10:39 AM, IlyaE ilyaelk...@gmail.com wrote: Steph, I have modified my code to make use of                RequestDispatcher dispatcher = req.getRequestDispatcher(redirect);                dispatcher.forward(req, resp

[appengine-java] Re: Session handleing example

2009-11-10 Thread IlyaE
think there is an issue discussed about this before. On Nov 9, 10:58 am, IlyaE ilyaelk...@gmail.com wrote: Does anyone have a java session handleing example? It seems that saving objects in the session only works locally. --~--~-~--~~~---~--~~ You received

[appengine-java] Re: Session handleing example

2009-11-10 Thread IlyaE
: %@ page isELIgnored=false % body   h1${myVar}/h1 /body Ikai Lan Developer Programs Engineer, Google App Engine On Tue, Nov 10, 2009 at 2:39 PM, IlyaE ilyaelk...@gmail.com wrote: Well as i found out, session attributes don't always guarantee that they are sent back to the same JVM thus i

[appengine-java] Querying for entities by filtering by key

2009-11-05 Thread IlyaE
I'm having a problem writing a query to get a list of objects by filtering for a another entities key. Object A has many object Bs. Object A @PersistenceCapable(identityType=IdentityType.APPLICATION, detachable = true) public class A { @PrimaryKey @Persistent(valueStrategy =

[appengine-java] Re: UnsupportedDatastoreFeatureException

2009-11-04 Thread IlyaE
If i change my authenticate filter to query.setFilter(ContactInfo.email == emailParam password == passwordParam); I now get this error. javax.jdo.JDOUserException: Identifier ContactInfo.email is unresolved (not a static field) On Nov 3, 9:32 pm, Max Ross (Google)

[appengine-java] Re: UnsupportedDatastoreFeatureException

2009-11-04 Thread IlyaE
Ok i figured it out now. I was trying to refer to the classname ContactInfo in my filter rather than the object name in my User class contactInfo. The difference in case for the leading 'C' was the culprit. On Nov 4, 10:19 am, IlyaE ilyaelk...@gmail.com wrote: If i change my authenticate filter

[appengine-java] UnsupportedDatastoreFeatureException

2009-11-03 Thread IlyaE
I cant wrap my head around this but i'm having an issue with doing a basic query. I have a user class that contains an embeddable class ContactInfo. ContactInfo has email, phone, and address String fields. @PersistenceCapable(identityType=IdentityType.APPLICATION) public class MyUser {