Hi Rutwick,
  It sounds like you might want to very carefully and thoroughly go
through the guestbook app as-is and try to understand how all of the
pieces work.

  Where does the data for your app come from?  Can you post some code
showing us what you've tried?



Robert




On Thu, Feb 17, 2011 at 12:23, Rutwick <[email protected]> wrote:
> Hi GAE Gurus,
>
> I'm fairly new to GAE. I'm making an APP which gets some data from a
> RESTful API. My home page has the form to take the keyword for
> searching, and below that a div which will hold the data returned from
> the API. The problem is, when someone first opens the homepage, that
> div will hold a message 'Please enter a keyword', which I'm sending in
> the 'template_values' dictionary, which also contains the site title,
> description etc. Once a person enters a keyword and clicks submit, I
> want the returned data to be displayed in same div. How to I redirect
> to the homepage on submitting the keyword, along with the returned
> data and the old values? I'm not using a datastore so I couldn't use
> the method given in the guestbook app which gets the values from the
> datastore and if no values are available, shows a message to enter a
> greeting. 'self.redirect', or the render method wipes out my old
> values, which include my site title, desc. etc!
>
> Please someone tell me a method to do it!
>
> Thanks for any help in advance.
>
> Rutwick
> blog.rutwick.com
>
> --
> 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.
>
>

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

Reply via email to