On Sun, Sep 13, 2009 at 1:08 AM, Arvind <[email protected]> wrote:
> > Hello, > > this is a very basic question. > > i have defined a page called views/signup.html > and in controllers/signup.py > Your controller is signup (signup.py) - you also want a function which corresponds to a view - e.g. signup() You also will notice that views has a default folder - that holds the views for controllers/default.py - you will want signup.html to reside in views/signup/signup.html Hope this helps. - Yarko > > unless i specify in my signup.py > respons.view = 'signup.html' > > i keep getting invalid view. > > i thought, that, the controller will automatically look for > /[controller]/[function].html. > > please correct me if i am wrong. > > also, my signup.html extends a simple layout. > > how can i define, my page title dynamically for each page ? > response.header does not change the title. > > thanks > Arvind > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

