Oh, and by appending the :widget at the end I get the an error telling
ther is a problem with the List

Traceback (most recent call last):
  File "/Users/mart/web/web2py_184/applications/nmc_rm_Portal/models/
plugin_wiki.py", line 580, in render_widget
    args = dict((item[0].strip(), self.parse_value(item[1].strip()))
for item in items)
  File "/Users/mart/web/web2py_184/applications/nmc_rm_Portal/models/
plugin_wiki.py", line 580, in
    args = dict((item[0].strip(), self.parse_value(item[1].strip()))
for item in items)
IndexError: list index out of range


thanks again,
Mart :)

On Sep 14, 5:20 pm, mart <msenecal...@gmail.com> wrote:
> :)
>
> Hi Massimo,
>
> ok, that was humbling ;)
>
> So, I do have a question though... should the following work? I did
> try with quoted values as well (and using the "update" widget with the
> same values does work...)
>
> {{=plugin_wiki.widget(update,table=adminCategory,record_id=id,message=add
> category,next=/nmc_rm_Portal/PLugin_wi/page/mart_docs)}}
> {{pass}}
>
> Thanks,
> Mart :)
>
> On Sep 14, 10:56 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > It is a widget
>
> > {{=plugin_wiki.widget_builder()}}
>
> > On Sep 14, 8:51 am, mart <msenecal...@gmail.com> wrote:
>
> > > yes, that will do the trick!, thanks for that :) also, how about that
> > > "widget builder", can we use that (or a variation of that) which we
> > > could just bring up at any time (from any wiki page), have a drop
> > > down, choose the db we want? then depending on the choice, perhaps
> > > another drop down (or something like that) where could specify an
> > > action (create/update/select/view)? Is it possible to use that 'widget
> > > builder' code you put together for these purposes, and if yes, is it
> > > made available somewhere (or would we need to take the different
> > > pieces directly out of plugin_wiki? Pehaps a 'widget builder' widget?
>
> > > Thanks again,
> > > Mart :)
>
> > > On Sep 14, 7:25 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > No. But you can do use web2py template in quotes
>
> > > > ``
> > > > {{if condition:}}
> > > > {{=plugin_wiki.widget(name,**attributes)}}
> > > > {{pass}}
> > > > ``:template
>
> > > > On Sep 13, 8:53 pm, mart <msenecal...@gmail.com> wrote:
>
> > > > > hi,
>
> > > > > couldn't find anything earlier posts... so basically, just looking to
> > > > > see of there is a way to make the contents of quotes (forms for db
> > > > > query/update, etc.) within plugin_wiki pages disappear while not used/
> > > > > needed ?
>
> > > > > again, any help would be great :)
>
> > > > > Thanks,
> > > > > Mart :)
>
>

Reply via email to