On Mon, Jul 27, 2009 at 12:40 AM, mdipierro <mdipie...@cs.depaul.edu> wrote:
> > I fixed the example. Thanks for reporting the typo. > > @Yarko, the workflow image you refer to is here: > > http://www.web2py.com/examples/static/diagram1.png > > Massimo Thanks! > > > On Jul 26, 11:00 pm, Rob McC <hgle...@gmail.com> wrote: > > I am getting the hang of web2py, and having a lot of fun learning this > > superb framework. > > > > Question: > > In the "from PHP to web2py" documentation Should > > return dict() > > read > > return dict(form=form) > > > > Or am I mission something? > > > > Many thanks, > > Rob > > > > REFERENCE: > > from PHP to web2pyhttp://www.web2py.com/AlterEgo/default/show/106 > > > > - - - - - - - - - - - - - - - - - - - > > AS STATED: (didn't work) > > - - - - - - - - - - - - - - - - - - - > > def index(): > > form=FORM(INPUT(_name="n"),INPUT(_type="submit")) > > if form.accepts(request.vars): > > session.n=form.vars.n > > redirect('hello') > > return dict() > > > > - - - - - - - - - - - - - - - - - - - > > THIS WORKS FOR ME: > > - - - - - - - - - - - - - - - - - - - > > def index(): > > form=FORM(INPUT(_name="n"),INPUT(_type="submit")) > > if form.accepts(request.vars): > > session.n=form.vars.n > > redirect('hello') > > return dict(form=form) > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---