I cannot get load results to appear on html page.  Only the words "
loading..." appear

CONTROLLER
def post():
    comments=db(db.SuperObjectComment).select()
    return locals()

LOAD DOCUMENT (named: post.load)
{{for post in comments:}}
<div class="post">
  On {{=post.created_on}}
</div>
{{pass}}

WHEN BROWSING TO http://127.0.0.1:8000/ES1/default/post.load, THE RESULTS 
ARE CORRECT
On 2016-04-08 01:12:09
On 2016-04-08 11:16:37
On 2016-04-08 12:34:05
On 2016-04-08 19:47:51
On 2016-04-08 20:03:03

HTML PAGE (named post.html but also tried from other pages)
{{extend 'layout.html'}}
{{=LOAD('default','post.load',ajax=True)}}

The only result is the word: loading...

THE PAGE SOURCE SHOWS:
<section id="main" class="main row">

<div class="span12">
<div data-w2p_remote="/ES1/default/post.load" id="c245896991304">loading...
</div>
</div>

</section><!--/main-->

Thanks,

Alex Glaros




-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to