I found this wonderfull plugin: 
http://dev.s-cubism.com/plugin_multiselect_widget
which looks awesome for the things I wonna do.
But I don't get ist to work with a field which has a list reference table
I want the field to be either empty of filled with an unlimeted amount of 
entries. So I had no required field at all:
Field('Fruit','list:reference Fruits'),
so I tried the following:
from plugin_multiselect_widget import (
    hmultiselect_widget, vmultiselect_widget,
    rhmultiselect_widget, rvmultiselect_widget,
)
...
db.Cocktail.Fruit.requires=IS_EMPTY_OR(IS_IN_DB(db,'Fruits.id','Fruits.Name'
,multiple=True))
db.Cocktail.Fruit.widget = hmultiselect_widget
which gave me the multiselect widget but When I mark a fruit and click on 
the register button nothing happens.


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