Anthony/All,

I'd like to return the results through an AJAX button. Right now I have 
everything being appended to a dictionary. How could I have the dictionary 
displayed on the same page after they click the button?

On Wednesday, February 5, 2014 4:12:19 PM UTC-5, Anthony wrote:
>
> On Wednesday, February 5, 2014 3:32:46 PM UTC-5, Austin Taylor wrote:
>>
>> Now if I want to run it through a series of functions should I put the 
>> functions in the model.py? What would be the best way to do it?
>>
>
> If the functions are needed in multiple controllers, you can define them 
> in a model file. You can also import them from a module. Functions needed 
> only within a given controller can be defined right in the controller 
> itself (functions that take arguments or start with a double underscore are 
> not exposed as actions via URL), though you may still prefer to organize 
> them in modules.
>
> Anthony 
>

-- 
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