Just playing with the plugin wiki and jqgrid with a simple example below, but
it return an error:
Not sure why, any ideas?
<code>
# List of Plant
``
name: jqgrid
table: plant
fields: Code,Description,SMU,Date
col_width: 80
width: 700
height: 300
``:widget
# New Plant
``
name: create
table: plant
``:widget
</code>
<error>
Traceback (most recent call last):
File "C:\web2py1\applications\MedicalSocialNetwork\models\plugin_wiki.py",
line 552, in render_widget
html = getattr(PluginWikiWidgets,name)(**args)
File "C:\web2py1\applications\MedicalSocialNetwork\models\plugin_wiki.py",
line 174, in create
return crud.create(db[table],message=message,next=next)
File "C:\web2py1\gluon\dal.py", line 6638, in __getitem__
return dict.__getitem__(self, str(key))
*KeyError: 'plant'*
</error>
version 1.99.7 (2012-04-09 09:21:21) dev
os: win7, 64bit
sqlite