Guys,
could any of you at least try uploading stuff to a plugin-wiki meta-code
created database.
Just to tell me that it's just my configuration that's broken ( i tried
firefox and chromium linux ) or it's the plugin.

On Mon, Feb 27, 2012 at 12:20 AM, smogzer <smog...@gmail.com> wrote:

> I'm trying to create a meta-database that can be defined via meta-code and
> i've come to a bug : i can't upload data to fields in that database.
> Could anybody fix the problem ? here is a sample code for testing.
>
> http://127.0.0.1/apagar/plugin_wiki/page_edit/meta-code
> code:
> db.define_table('imagex',
>     Field('id','id',represent=lambda id:SPAN(id,'
> ',A('edit',_href=URL('page',args='edit',vars=dict(table='imagex',rec=id))))),
>     Field('name'),
>     Field('type'),
>     Field('picture', 'upload',requires=IS_IMAGE()),
>     format = '%(name)s')
>
> for testing
> http://127.0.0.1/apagar/plugin_wiki/page/edit?table=imagex&rec=1
> code:
> ``
> {{=plugin_wiki.widget('create',table='imagex')}}
> ``:template
>
> ``
>
> {{=plugin_wiki.widget('read',table=str(request.vars.table),record_id=str(request.vars.rec))}}
> ``:template
>
> ``
>
> {{=plugin_wiki.widget('update',table=str(request.vars.table),record_id=str(request.vars.rec))}}
> ``:template
>

Reply via email to