I do not think anybody did and here is why:
ToscaWidget example
import tw.forms as twf
movie_form = twf.TableForm('movie_form', action='save_movie',
children=[
twf.HiddenField('id'),
twf.TextField('title'),
twf.TextField('year', size=4),
twf.CalendarDatePicker('release_date'),
twf.SingleSelectField('genera', options=['', 'Action', 'Comedy',
'Other']),
twf.TextArea('description'),
])
same code in web2py:
movie_form = SQLFORM.factory(
Field('title','text'),
Field('year', length=4),
Field('release_date','date'),
Field('genera', requires=IS_IN_SET(('Action', 'Comedy',
'Other'),zero='')),
Field('description','text'),
_hidden=dict(id=3),_action=URL(r=request,f='save_movie'))
On May 12, 10:36 am, stefaan <[email protected]> wrote:
> > Nobody know Toscawidgets and have try it with web2py ?
>
> Hello Lannick,
>
> Given the lack of answers it is safe to assume that no-one has tried
> it with web2py...
>
> Best regards,
> Stefaan.