Re: compojure 0.6.0: problem getting post arguments with google app engine

2011-02-17 Thread Zhenchao Li
Great, that would be nice! On Feb 18, 12:44 am, James Reeves wrote: > On 17 February 2011 13:54, Zhenchao Li wrote: > > > By the way, when deploying the project it seems compojure somehow uses > > java.rmi.server.UID if you use compojure.handler, and on app engine > > ja

Re: compojure 0.6.0: problem getting post arguments with google app engine

2011-02-17 Thread Zhenchao Li
ght be useful for people googling about similar errors. On Feb 17, 7:02 pm, James Reeves wrote: > On 17 February 2011 03:13, Zhenchao Li wrote: > > > This is how I define my app: > > > (defroutes index > >   (GET "/" [] (main-page)) > >   (GET "/form&q

Re: compojure 0.6.0: problem getting post arguments with google app engine

2011-02-17 Thread Zhenchao Li
Ah! Turns out when I started the server using appengine.server/start- server I accidently passed in the original index handler! No wonder it did not work. It works just fine now. Thanks for your reply! On Feb 17, 4:07 pm, Zmitro Lapcjonak wrote: > On Feb 17, 5:13 am, Zhenchao Li wr

compojure 0.6.0: problem getting post arguments with google app engine

2011-02-16 Thread Zhenchao Li
This is how I define my app: (defroutes index (GET "/" [] (main-page)) (GET "/form" [] (render-page "Vote" (render-form))) (POST "/vote" {params :params} (post-vote params)) (route/not-found "Page not found")) (def app (site index)) (defservice app) The site here is used to capture