Your questions are about jqmodal and I am not sure myself. I think it
preloads the content of the window and simply opens the window when
you click. This means the ajax_create action may be called BEFORE you
click. I do not know about loadingAnimation.gif.

On Feb 21, 7:56 am, DenesL <[email protected]> wrote:
> I am trying to understand the flow of the ajax example given 
> inhttp://groups.google.com/group/web2py/msg/0d9a3d7ab6ed95fb
> so I added some print statements to the code, and now I need some
> help.
>
> This is the printout (I am using 1.75.1 and I changed index to
> addPerson) with my comments and questions.
>
> # db.py model execution 1st, ok
> before comment setup in model...
> 2010-02-21 07:27:07  inside ajax_create...
> args:  []
> vars:  <Storage {}>
> get_vars:  <Storage {}>
> returning the LOAD...
> after comment setup in model...
>
> inside addPerson
> # now to the action, ok
> before comment setup in model...
>
> # Q1 running the model again?
>
> 2010-02-21 07:27:07.390000  inside ajax_create...
> args:  ['loadingAnimation.gif']
>
> # Q2 what is this gif? could not find it
>
> vars:  <Storage {}>
> get_vars:  <Storage {}>
> returning the LOAD...
> after comment setup in model...
>
> before comment setup in model...
>
> # Q3 the model again?
>
> 2010-02-21 07:27:07.406000  inside ajax_create...
> args:  []
> vars:  <Storage {'_ajax_add': 'person.organization'}>
> get_vars:  <Storage {'_ajax_add': 'person.organization'}>
>
> # Q4 _ajax_add? I thought this happens when I use the 'create' link
> which I have not done yet
>
> just before raise HTTP(200...
>
> # confused!
>
> Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to