to do that you need to have your form action posted to /dir?type=xxx but a better way is to add a hidden field "type" in the form in the get method and then retrieve it in the post method
On Jan 23, 4:10 am, Zeynel <[email protected]> wrote: > On Jan 22, 9:06 pm, Calvin <[email protected]> wrote: > > > First thing: there shouldn't be an else: at the top of this code. def get() > > and def post() are two separate methods of the DirectoryHandler class. > > Thanks! I fixed that and now post writes to the database but I still > cannot get the url parameter saved in get into post? Any suggestions > about how to do this? The code is herehttp://pastebin.com/QkQt874J > > Thanks for your help. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
