Hi,
I try to do exactly the same and have the following in my app:
controller:
def index():
response.js = '$.web2py.component(%s, target=graph1);' %
URL('default', 'graph1.load')
index.html:
div id=graph1 style=width: 400px; height: 400px; margin: 0 auto
/div
graph1.load
You could put both the form and the grid in ajax components. When the form
is submitted, it could send back a JS command to load the grid:
In index.html:
{{=LOAD('default', 'tracker_form.load', ajax=True)}}
div id='content_grid'/div
Change your two existing views to a .load extension (not
Thank you so much; this awesome I appreciate your time.
On Tuesday, January 21, 2014 9:37:04 AM UTC-6, En Ware wrote:
Hello,
I am trying to figure out how to call more then function per view.
I would like to be to have users fill out a form and and then as soon as they
submit
show the
3 matches
Mail list logo