> Can you use Key (and User) objects in GWT? If so, what module do you
Are you referring to AppEngine's Key and User object? You can use the db.Key ( http://code.google.com/appengine/docs/python/datastore/typesandpropertyclasses.html ) and UserProperty for properties of a Model subclass if you want. But a simpler way would be to use ReferenceProperty: class ModelA(db.Model) --- class YourModel(db.Model) modelAProp = db.ReferenceProperty(ModelA) userProp = db.ReferenceProperty() On Apr 19, 4:33 pm, Michael <mlh...@gmail.com> wrote: > I have an object that manages a many-to-many relationship between 2 > entities. I do this by having two Key objects. I want to use this > object in GWT and in GAE. However, when I try to perform a GWT > compile, I get errors. I looked around for an appropriate module to > inherit, but haven't found one. > > Can you use Key (and User) objects in GWT? If so, what module do you > inherit? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---