[google-appengine] Re: Problem with ReferenceProperty

2010-12-19 Thread Serega.Sheypak
Please give me sample, I would like to see it. I don't know how to google topic you've described (don't understand which key words use for search). On Dec 6, 10:43 pm, Robert Smart wrote: > Normally one should avoid using ReferenceProperty. Best to build a > key_name from data in the record, or

[google-appengine] Re: Problem with ReferenceProperty

2010-12-05 Thread Serega.Sheypak
from blog.model.BlogPost import BlogPost The first BlogPost is for .py file name, the second is for class name. I thought, that python would understand that in need to import class because it has the file and the class name are the same. I'm bad in python. :( -- You received this message becau

[google-appengine] Problem with ReferenceProperty

2010-12-05 Thread Serega.Sheypak
Hi, please help me to find sillt mistake, I'm trying to create many-to- one relation using this guide: http://code.google.com/intl/en/appengine/articles/modeling.html Please, see my code: #BlogPost.py from google.appengine.ext import db #Keeps Posts class BlogPost(db.Model): author = db.UserP

[google-appengine] Re: howTo write tag with EL support?

2009-06-22 Thread Serega.Sheypak
er...( On Jun 21, 7:44 pm, "Serega.Sheypak" wrote: > Hello. I have a problem writing custom jsp-tag with attr which accepts > EL (ExpressionLanguage). > > Here is the LTD: > > http://java.sun.com/xml/ns/j2ee"; >                                           > xml

[google-appengine] howTo write tag with EL support?

2009-06-21 Thread Serega.Sheypak
Hello. I have a problem writing custom jsp-tag with attr which accepts EL (ExpressionLanguage). Here is the LTD: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:sche

[google-appengine] Re: Datastore API and Flex Applications

2009-03-26 Thread Serega.Sheypak
As I understood, you have to use web-layer. Flex can send requests to your appengine application and get response in JSON format. For example, it's possible to work using GWT the same way. On Mar 26, 4:45 am, Doug wrote: > Good Evening Everyone, > > Is there an API for accessing the datastore fr

[google-appengine] Re: Forward request or webapp.RequestHandler chaining (like Actions framework in java)

2009-03-17 Thread Serega.Sheypak
> > def handler_b(request): >   return handler_a(request) > > In handler_b you just called handler_a with a request object from > handler_b. You can modify request object before passing it to another > view function as you please. > > On 15 Mar, 12:06, "Serega.Sheypa

[google-appengine] Re: how to config gwt to work in app engine effective and productive

2009-03-17 Thread Serega.Sheypak
Of course not. You can *present* datastore object in JSON (JavaScript Object Notation). Use POJO (Plain Old Java Object) concept while creating data Model of your application. You can easilly present list of Model objects in JSON, you can easilly convert them from JSON to POJO on GWT (Java, client

[google-appengine] Re: Chartle.net - application based on Google App Engine

2009-03-17 Thread Serega.Sheypak
Hi, nice work! Please, tell me how did you configure your application to have address chartie.net not (something.appspot.com?) Is there any possibility to make DNS records for that? On Mar 17, 4:59 pm, Amr Ellafi wrote: > what do you use for charting by the way ? > > On Tue, Mar 17, 2009 at 2:39

[google-appengine] Forward request or webapp.RequestHandler chaining (like Actions framework in java)

2009-03-15 Thread Serega.Sheypak
Hello, I would like to know is it possible to forward request? For example in Java I can forward request from one servlet (like webapp.RequestHandler) to another or from servlet to jsp (like Django template). self.redirect("/someUrl") clears response and doesn't "transfer" request object. That is

[google-appengine] Please, tell where to read about imports

2009-03-14 Thread Serega.Sheypak
Hi, I'm new to Python and have problems with import script files. Please help me to overcome it. Here is structure of my application: # \ \main.py \app.yaml \controller \controller\index.py (has class IndexPage) \controller\portfolio.py (has class PortfolioPage) \html\some

[google-appengine] HowTo extend base Entity class and query it's subclasses?

2008-11-23 Thread Serega.Sheypak
For example I have an entity: AbstractRecord, it has fields: String name, Date publishDate, Author recordAuthor, List tagList. And I have several subclasses: BlogRecord, CommentRecord, AdvertiseRecord. They extend AbstractRecord, they have their own specific fields. Can I make a query: "Select