I think you're supposed to be able to do:

A(..., data=dict(w2p_disable_with=...))

but looks like there might be a bug in the A() code that prevents that from 
working properly right now.

Anthony

On Wednesday, December 4, 2013 3:00:49 PM UTC-5, pjryan126 wrote:
>
> Hi, everyone. I am working on a controller that loads a view into a 
> component when an anchor element is clicked. I am building the anchor using 
> the A helper in a manner similar to the following:
>
> A(SPAN(_class='span_class'), _class='a_class', _title='a_title', callback 
> = URL(c='default', f='page.load'), target = 'load_page')
>
> When I click the anchor element, the element is replaced briefly with a 
> "Working..." message. What I'm wondering is whether there is a way to 
> customize this behavior to display a spinning icon or make no change to the 
> button at all?
>
> Any help would be greatly appreciated. 
>
> Thanks,
> Patrick
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to