All the web2py API are also described here: http://www.web2py.com/examples/default/api
On Jul 12, 7:08 pm, Yarko Tymciurak <[email protected]> wrote: > from the source distribution, look at gluon/html.py - the top has the list > of all the helpers. > > Helpers are named after the HTML equivalent tags; html fields in the > helpers start with an underscore, e.g. <....class='foo'....> would be > SOME(.... _class='foo') in the helper. > > Finally, there is a TAG helper where you can specify any arbitrary HTML tag > which is not predefined, e.g. TAG.center('foo") would generate what you > would expect... > > You might want to try this in a web2py shell to see the outputs, e.g. > python web2py.py -S welcome > > and try some print statements: > > >>>print CENTER("this") > >>>print CENTER("this", _id='foo') > > On Sun, Jul 12, 2009 at 6:53 PM, Vinicius Assef <[email protected]>wrote: > > > > > Where can I find a list of possible helpers to use in web2py templates? > > > -- > > [ ]s > > Vinicius Assef. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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 -~----------~----~----~----~------~----~------~--~---

