Thanks for all the suggestions. I was able to make the "disable_with"
solution work with an IMG by converting it to xml before storing, e.g.,
_disable_with=IMG(_src=URL('static', 'images/spinner.gif')).xml()
so I'm all set.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Docu
You could try with css.
1. assign to the component trigger a specific class for example
"link_with_loader"
A(IMG(_src=image), _href=URL('default', 'getit'), _class="link_with_loader",
user_signature=True, cid=request.cid)
2. since web2py adds the "disabled" class to the component trigger whe
On Wednesday, February 8, 2017 at 12:57:00 PM UTC-5, Tim Korb wrote:
>
> That's good, but it apparently only accepts text as the replacement. I
> really want to have an IMG being displayed.
Yeah, you'll have to implement that yourself.
--
Resources:
- http://web2py.com
- http://web2py.com/b
That's good, but it apparently only accepts text as the replacement. I really
want to have an IMG being displayed.
--
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 Is
On Tuesday, February 7, 2017 at 10:54:45 PM UTC-5, Tim Korb wrote:
>
> Thanks, I'll look at that. Maybe a content= parameter to A(...) would be
> useful, analogous to the one for LOAD(...).
>
Actually, you can do:
A(IMG(_src=image), _href=URL('default', 'getit'), user_signature=True, cid=
requ
Thanks, I'll look at that. Maybe a content= parameter to A(...) would be
useful, analogous to the one for LOAD(...).
--
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
In your web2py_ajax.html view there's a w2p_ajax_disable_with_message you
can change it there.
--
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 receiv
7 matches
Mail list logo