empty database
and the error disappears.

may be in the tests were corrupted data

could show me how to do what I need without having to install plugin_wiki?


2010/12/15 Luis Díaz <[email protected]>

> eliminating SQLFORM.widgets.checkboxes.widget
>
> I still get the error
>
> 2010/12/15 mdipierro <[email protected]>
>
> ... but you can use jquery plugin multiselect which comes by default
>> if you install plugin_wiki.
>>
>> On Dec 15, 12:38 pm, mdipierro <[email protected]> wrote:
>> > Sorry you cannod use the SQLFORM.widgets.checkboxes.widget  with a
>> > list:reference
>> >
>> > On Dec 15, 12:11 pm, Luis Díaz <[email protected]> wrote:
>> >
>> > > is't code:
>> >
>> > > db.define_table('tag',
>> > >     Field('nombre', 'string', length=32, ondelete='CASCADE'),
>> > >     format='%(nombre)s'
>> > > )
>> >
>> > > db.define_table('producto',
>> > >     Field('nombre', 'string', length=64, ondelete='CASCADE'),
>> > >     Field('codigo', 'string', length=10),
>> > >     Field('tag', 'list:reference tag'),
>> > >     Field('descripcion', 'text', length=512),
>> > >     Field('faq', 'text', length=256),
>> > >     Field('precio', 'decimal(6,2)'),
>> > >     Field('user', db.auth_user, default=id_user, writable=False,
>> > > readable=False),
>> > >     format = '%(nombre)s'
>> > > )
>> >
>> > > db.producto.tag.widget = SQLFORM.widgets.checkboxes.widget
>> >
>> > > error:
>> > > 'int' object has no attribute 'split'
>> >
>> > > Version 1.89.5 (2010-11-21 22:12:54)
>> >
>> > > --
>> > > Díaz Luis
>> > > TSU Analisis de Sistemas
>> > > Universidad de Carabobo
>> >
>> > >http://web2pyfacil.blogspot.com/
>> > > Facultad de Odontología<
>> http://www.odontologia.uc.edu.ve/index.php?option=com_content&view=ar...>
>> >
>> >
>>
>
>
>
> --
> Díaz Luis
> TSU Analisis de Sistemas
> Universidad de Carabobo
>
> http://web2pyfacil.blogspot.com/
> Facultad de 
> Odontología<http://www.odontologia.uc.edu.ve/index.php?option=com_content&view=article&id=102&Itemid=85>
>
>


-- 
Díaz Luis
TSU Analisis de Sistemas
Universidad de Carabobo

http://web2pyfacil.blogspot.com/
Facultad de 
Odontología<http://www.odontologia.uc.edu.ve/index.php?option=com_content&view=article&id=102&Itemid=85>

Reply via email to