specifying an id of an ajax component (LOAD)

45 views
Skip to first unread message

Vlad

unread,
Jun 30, 2019, 11:12:11 AM6/30/19
to web2py-users
I am using the LOAD helper in the view: 

{{=LOAD(c='customer',f='testimonials',extension='load',ajax=True,ajax_trap=True,content='loading testimonials...',_id='TESTIMONIALS_HERE')}}

The id (_id) is specified explicitly. 

However, it ignores the id parameter and produces the following: 

<div data-w2p_remote="/testapp/customer/testimonials.load" id="c8732965856892612">loading testimonials...</div>

What am I missing?

Massimiliano

unread,
Jul 1, 2019, 11:10:58 AM7/1/19
to web...@googlegroups.com

--
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 web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/4a07a293-6296-4aa4-b760-2643d44b13c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Massimiliano

Eliezer (Vlad) Tseytkin

unread,
Jul 1, 2019, 11:23:12 AM7/1/19
to web...@googlegroups.com
Got it,
Works like a charm,
Thank you! 

You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/N1k4l70un7U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CANPTPx%2BDkKVySq4tDmH82dFyRDp7rvgLCF9AvVJZXJ29nbSgTg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages