On Jan 22, 10:35 pm, Robert Kluin <robert.kl...@gmail.com> wrote:
> So, if you are getting 'type=' twice, did you think about trying:
>   self.redirect("/dir?%s" % urllib.urlencode({ "type" :
> self.request.get("dir_type") } ))

Yes, actually I thought about that but I did not try it because I did
not get

/dir?type=type=tshirt

but just /dir?type=type=

without the url parameter. But I may be wrong so I will try. But now I
am working on trying to make this work with templates as explained
here: 
http://stackoverflow.com/questions/4769063/how-do-i-pass-url-parameter-to-form-value

Unfortunately, I have an irrational hatred for Django templates so I
am trying to do this with Mako templates. Researching this I found an
old answer of yours: 
http://stackoverflow.com/questions/3938963/mako-templates-with-google-app-engine/3939208#3939208.
Thanks again for that answer. At this point my template page is
printing as text like this

<�html> <�body> <�p>Render template<�/p> ${greeting} <�/body> <�/html>

so I am going to try to fix that first and then try the urllib option.

-- 
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.

Reply via email to