Hi All, I have just spent a few frustrating hours with the jQuery
Multi-Select widget:
http://www.abeautifulsite.net/blog/2008/04/jquery-multiselect/
For this field:
db.define_table('gallery', Field('tag_id','list:reference tag')
it renders for example this HTML element:
MyTag
You need to create a custom widget and then:
db.gallery.tag_id.widget = mycustomwidget
or use the web2py mult select widget that ships with plugin_wiki.
http://zerp.ly/rochacbruno
Em 14/04/2012 07:50, "villas" escreveu:
> Hi All, I have just spent a few frustrating hours with the jQuery
> Mul
Well there is the widget on Web2pySlices (which I believe is the one in the
Cookbook). Sadly that doesn't seem to work. However, if I put this in my
HTML, I don't seem to need a widget at all, so maybe that's better. I
mean I already have the multiselect function there, so it's only one
3 matches
Mail list logo