Thanks for the clarification Hermann.  My JQuery autocomplete code
doesn't work and I'm slowly working through and re-visiting every key
webpy assumption and code to identify the problem.


On Apr 7, 12:57 pm, "Hermann Kaser" <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 7, 2008 at 9:48 PM, dineshv <[EMAIL PROTECTED]> wrote:
>
> >  Could you please explain how web.input works for multiple entries? For
> >  example, consider the entry /example.com?id=10&id2=20:
>
> >  def POST(self):
> >         # Assume, the HTML name for the input is 'entry'
> >         # web.input stores the user input in a dictionary-like object
> >  ie. entry ={} - yes/no?
> >         # entry = web.input()
> >         # In our example, entry = {id:10, id2:20}
> >         # a = entry.id or a = entry["id"]
> >         # b = entry.id2 or b = entry["id2"]
> >         # Btw, what does web.debug(entry) do?
>
> >         entry = web.input()
> >         web.debug(entry)
> >         a = entry.id
> >         b = entry.id2
> >         return
>
> >  Is this correct?
>
> >  Dinesh
>
> Not sure what you're asking, it's all clearly stated in the comments
> of the snippet you've posted.
>
> --
> Hermann Käserhttp://theragingche.com/http://semicir.cl/user/hermzz
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to