Great work!
2011/8/26 Massimo Di Pierro <massimo....@gmail.com>:
I loved the extracolumns feature! this really need to be included in SQLTABLE!
I loved the extracolumns feature! this really need to be included in SQLTABLE!
Bruno extracolumns are in SQLTABLE.
Kenji,I try to use the nice (modal) Dialog widget with a Web2py app. It starts but keeps ths status loading...In the controller:
dlg_add_role = DIALOG(LOAD(f='add_role', ajax=True), title='Add role', close_button='close', renderstyle=True)return dict(dlg_add_role=dlg_add_role,s1s=s1s, entities=entities, assets=assets, parents=parents, sip=sip,env_cat=env_cat, env_domains=env_domains,channels=channels, supply_channels=supply_channels, im_labels=im_labels,form_env=form_env, form_vpu=form_vpu,data_list = data_list,activities = activities,roles = roles,customers = customers)def add_role():return DIV('OK!')In the index.html view:.....</table>{{=A('Add role', _href='#dlg_add_role', _onclick='%s;return false' % dlg_add_role.show())}}</div>......
On Thursday, September 8, 2011 11:53:28 AM UTC+2, kenji4569 wrote:
--
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+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The problem I’m currently facing is the fact that I don’t know how to preselect values.
For instance, I’m trying to create a page where a user’s membership can be rectified.
The administrator first have to select a username (based on a dropdown from), afterwards the 2 boxes(“member of” and “Not member of”) should display the memberships of that specific user.
And this is the point where I’m stuck.
All the groups seem to end up in the same box, and I can’t figure out how to make the selection of “members” and “nomembers”.
And I just wanted to make sure that I’m not doing something wrong, and I’m not forgetting something.
Hi, I've just published a collection of plugins which I'd created for
some web2py products (mainly cms sites) in my job:
The index page:
http://dev.s-cubism.com/web2py_plugins
The plugins are below:
[Form Widgets]
Horizontal Radio Widget http://dev.s-cubism.com/plugin_hradio_widget
Multiple Select Widget http://dev.s-cubism.com/plugin_multiselect_widget
Suggest Widget http://dev.s-cubism.com/plugin_suggest_widget
Lazy Options Widget http://dev.s-cubism.com/plugin_lazy_options_widget
Anytime Widget http://dev.s-cubism.com/plugin_anytime_widget
Color Widget http://dev.s-cubism.com/plugin_color_widget
elRTE WYSIWYG Widget http://dev.s-cubism.com/plugin_elrte_widget
Uploadify Widget http://dev.s-cubism.com/plugin_uploadify_widget
[Form Customize]
Solid Form http://dev.s-cubism.com/plugin_solidform
Not-Empty Marker http://dev.s-cubism.com/plugin_notemptymarker
[Table Customize]
Solid Table http://dev.s-cubism.com/plugin_solidtable
Pagenator http://dev.s-cubism.com/plugin_paginator
Table Scope http://dev.s-cubism.com/plugin_tablescope
Table Checkbox http://dev.s-cubism.com/plugin_tablecheckbox
Table Permuter http://dev.s-cubism.com/plugin_tablepermuter
You can try demos, see souces, and download plugins (MIT Licence).
I'll appreciate your feedback and advises (especially for design
decisions).
I'll keep trying to create useful plugins and to improve them!
--
form2 = SQLFORM.factory(Field("Members", type='list:reference(db.auth_group.role)', requires=IS_IN_SET(members,multiple=True), widget=rhmultiselect_widget))
db.auth_group.role.widget = rhmultiselect_widget
db.auth_group.role.requires = [IS_IN_SET(grouplist, multiple=True)]
form2 = hmultiselect_widget(db.auth_group.role, members)