web2py ajax function in py4web

41 views
Skip to first unread message

黄祥

unread,
Nov 7, 2020, 11:16:01 PM11/7/20
to web2py-users
http://web2py.com/books/default/chapter/29/11/jquery-and-ajax#The-ajax-function
how to achieve this in py4web ?

thx n best regards,
stifan

Jim S

unread,
Nov 9, 2020, 2:51:37 PM11/9/20
to web2py-users
Stifan

Can you post this in the py4web group?

In py4web we don't include any jquery components.  The goal is to be as light as possible and require as few additional packages as possible.

I think you'll get better visibility on the py4web list to get this question answered.  

I know there are some javascript utilities provided with py4web but I haven't used them yet.

-Jim

Tom Campbell

unread,
Nov 9, 2020, 7:09:52 PM11/9/20
to web...@googlegroups.com
Also, Stifan, could you post a few use cases? py4web includes vue.js by default and I am trying to understand the most common use cases of this for documentation purposes. I am guessing:
  • Instant form update on client side when a value is changed (for example, a star rating or even a complicated dialog)
  • Instant form update on client side when a database value is changed (for example, adding a line item to an invoice)
Note to py4web peeps: Stifan is a gifted web2py person and I am delighted to see him posting here!
Reply all
Reply to author
Forward
0 new messages