You should also use session.flash instead of response.flash if you want
your flash message to pop in the right place, I mean in your reloaded
component after the form it contains has been submitted...
Richard
On Fri, Jan 9, 2015 at 1:32 PM, Richard Vézina
wrote:
> Is you LOAD() in view surround
Is you LOAD() in view surrounding with a div? like so :
wrote:
>
>
> On Friday, 7 November 2014 09:19:40 UTC+11, Tim Richardson wrote:
>>
>> At first glance it seems to me that you should use LOAD components on the
>> page. Read that chapter. You will process answers via Ajax (web2py
>> submit
On Friday, 7 November 2014 09:19:40 UTC+11, Tim Richardson wrote:
>
> At first glance it seems to me that you should use LOAD components on the
> page. Read that chapter. You will process answers via Ajax (web2py
> submits a LOAD form via Ajax automatically). You can refresh the div when
>
At first glance it seems to me that you should use LOAD components on the page.
Read that chapter. You will process answers via Ajax (web2py submits a LOAD
form via Ajax automatically). You can refresh the div when your processing of
answers is complete.
--
Resources:
- http://web2py.com
-
At first glance it seems to me that you should use LOAD components on the page.
Read that chapter. You will process answers via Ajax (web2py submits a LOAD
form via Ajax automatically). You can refresh the div when your processing of
answers is complete.
--
Resources:
- http://web2py.com
-
Did anyone have an alternative?
On Thursday, October 16, 2014 12:08:18 AM UTC-4, LoveWeb2py wrote:
>
> UPDATE: This works well for me after the form submits: redirect(
> request.env.http_web2py_component_location,client_side=True)
>
> That came straight from the book, but its when the student get
UPDATE: This works well for me after the form submits: redirect(
request.env.http_web2py_component_location,client_side=True)
That came straight from the book, but its when the student gets a question
wrong is where I'm running into trouble. I'd like to just refresh the div
so they could contin
7 matches
Mail list logo