I just fix this issue :

https://github.com/BuhtigithuB/sqlabs/blob/patch-1/modules/plugin_lazy_options_widget.py

See around 108...

Better late then never!!

:)

Richard


On Tue, Sep 18, 2012 at 9:49 AM, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:

> Will need some code!
>
> Richard
>
>
> On Mon, Sep 17, 2012 at 6:48 PM, lyn2py <lyn...@gmail.com> wrote:
>
>> Hi!
>>
>> I'm testing the lazy options plugin again, the website is here:
>> http://dev.s-cubism.com/plugin_lazy_options_widget
>>
>> And I find that if 'form has errors', the selected value gets reset
>> instead of being remembered (all the other fields get remembered).
>> The code for form has errors is the simple code from web2py book:
>>     form=SQLFORM(db.table)
>>     if form.process().accepted:
>>         response.flash = 'success'
>>     elif form.errors:
>>         response.flash = 'form has errors'
>>
>>
>> How do I get the widget to behave like it remembers the selected option?
>>
>>  --
>>
>>
>>
>>
>
>

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