[twill] Problem with multiple forms
Andrew Smart
subscriptions at smart-knowhow.de
Fri Mar 16 01:55:15 PDT 2007
Hi,
I have the same problem. I didn't invest much time so I thoughed it is
somehow my fault.
Seems that I'm not the only one.
Regards,
Andrew Smart
> -----Ursprüngliche Nachricht-----
> Von: twill-bounces at lists.idyll.org
> [mailto:twill-bounces at lists.idyll.org] Im Auftrag von Samuel
> Iseli - Vertec AG
> Gesendet: Freitag, 16. März 2007 09:12
> An: 'twill at lists.idyll.org'
> Betreff: [twill] Problem with multiple forms
>
> Hi folks
>
> I can't get twill to work with multiple forms on a page.
> submit gives an error although I previously selected a form
> using formvalue.
> With only 1 form on a page, it works perfectly.
>
> I'm using twill 0.9b1, Python 2.3.5 on Window XP.
>
> what I did:
> >>> fv 3 pres_von_new 8:00
> >>> fv 3 pres_bis_new 11
> >>> submit
>
> ERROR: more than one form; you must select one (use 'fv')
> before submitting
>
> here's my forms list:
> >> showforms
>
> Form #1
> ## ## __Name__________________ __Type___ __ID________
> __Value__________________
> 1 fromdate_prev button (None) None
> 2 fromdate text (None) 16.03.2007
> 3 fromdate_next button (None) None
> 4 tilldate_prev button (None) None
> 5 tilldate text (None) 16.03.2007
> 6 tilldate_next button (None) None
>
>
> Form name=frm_presence_edit (#2)
> ## ## __Name__________________ __Type___ __ID________
> __Value__________________
> 1 curr_datum hidden (None) 2007-03-16
> 2 1 presence_save submit (None) Speichern
> 3 2 presence_delete submit (None) L÷schen
>
>
> Form name=frm_presence_new (#3)
> ## ## __Name__________________ __Type___ __ID________
> __Value__________________
> 1 curr_datum hidden (None) 2007-03-16
> 2 pres_von_new text (None)
> 3 pres_bis_new text (None)
> 4 pres_text_new text (None)
> 5 1 presence_add submit (None) Neu
>
>
> Form name=frm_service_new (#4)
> ## ## __Name__________________ __Type___ __ID________
> __Value__________________
> 1 curr_datum hidden (None) 2007-03-16
> 2 inp_date text (None) 16.03.2007
> 3 inp_project text (None)
> 4 inp_phase text (None)
> 5 inp_type text (None)
> 6 inp_text text (None)
> 7 inp_minutes text (None)
> 8 1 submitButton image (None) update
>
> current page: http://localhost:8095/service_list/
>
>
> Cheers
> Samuel
>
>
> _______________________________________________
> twill mailing list
> twill at lists.idyll.org
> http://lists.idyll.org/listinfo/twill
>
More information about the twill
mailing list