Hi, I'm looking at the beginner's examples. The examples work fine but I
don't understand how they function.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*How would I type a clickable link to mytable_manage in the middle of the
index page? In other words, how do I call a function from an html page? Can
you please write out the syntax? Right now mytable_mange is calls the
menu.py function from the top bar menu below:*
*
*
response.menu = [
(T('Index'),URL('default','index')==URL(),URL('default','index'),[]),
(T('Mytable'),URL('default','mytable_manage')==URL(),URL('default','mytable_manage'),[]),
]
*How would I call mytable_manage from the body of the index.html page?*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*What calls this? views/default/mytable_manage.html. I don't see any code
specifically calling that page "mytable_manage.html". *
{{extend 'layout.html'}}
<h2>Manage mytable</h2><p>{{=form}}</p>
*In the above page, it references "=form". How does it know which "form"
to use?*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Thanks,
Alex Glaros
--