for any function, you can specify the template to be used to render the data you return; a couple of helpful bits from the book can be found at: http://www.web2py.com/books/default/search/29?search=response.view%2C+vars%29<http://www.web2py.com/books/default/search/29?search=response.render%28view%2C+vars%29>
essentially, in your function, you can set the template using "response.view = 'controller_name/template_name.ext'"; alternately, you can combine the template and data in one with "return response.render('template_path',dictionary_name)" On Friday, September 6, 2013 10:16:46 AM UTC-5, kranthi aeronaut wrote: > > hii all , i am new to web2py , it seems that in web2py for every function > we declare in default.py page , we should also create a new html page with > same name of function , is this mandatory or is there any other way to > implement the logic ?? > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.