At any point, if you want to know the value of the "type" variable you need to pass it to your handler You have at least 3 ways of doing so: 1. having a dedicated handler with a dedicated URL 2. passing the variable as a GET parameter (/directorysubmithandler? dir_type=...) 3. passing the variable as a POST parameter (adding <input type="hidden" name="dir_type" value="..."> inside your form)
to do 2 and 3 you just need to change the output of the handle that returns the form's page On Jan 23, 11:02 pm, Zeynel <azeyn...@gmail.com> wrote: > On Jan 23, 3:12 am, ClaudeVedovini<cla...@vedovini.net> wrote: > > > to do that you need to have your form action posted to /dir?type=xxx > > I have > > action="/directorysubmithandler" > > I don't understand why form handler needs to be the final url. Can you > explain. > > > 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 > > I've been trying to do this all day yesterday with no success. Both > Directory and DirectorySubmitHandler are herehttp://pastebin.com/wG7BNZ5m > > I would appreciate it if you could explain how this is done without > using templates. > > Thanks! -- 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.