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 <ml.richard.vez...@gmail.com>
wrote:

> Is you LOAD() in view surrounding with a div? like so :
>
> <div id="my_load_component_div'>
> LOAD(...)
> </div>
>
> Then response.js = 'web2py_component("%(URL)s","my_load_component_div"' %
> {'URL': URL(Off the component)} should works just fine in your use
> scenario...
>
> Richard
>
> On Thu, Nov 6, 2014 at 6:38 PM, Tim Richardson <t...@growthpath.com.au>
> 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
>>> submits a LOAD form via Ajax automatically).  You can refresh the div when
>>> your processing of answers is complete.
>>
>>
>> I should have said that it looks like you have read the chapter. The
>> problem with helping you further is that you refer to attempted solutions
>> but don't provide the detail of what you tried and what went wrong. Lots of
>> people have done what you want to do.
>>
>> --
>> 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/d/optout.
>>
>
>

-- 
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/d/optout.

Reply via email to