With ToscaWidgets.org, you have the ability to override the default
TableForm template with your own template and I believe you can
override individual elements.  In tw.forms, there are templates

lib/python2.5/site-packages/tw.forms-0.9.9-py2.5.egg/tw/forms/templates
$ ls
calendar.html         input_field.html    selection_list.html
calendar.mak          input_field.mak     selection_list.mak
check_box_table.html  label_hidden.html   spacer.html
check_box_table.mak   label_hidden.mak    spacer.mak
datagrid.html         label.html          table_fieldset.html
datagrid.mak          label.mak           table_fieldset.mak
fieldset.html         list_fieldset.html  table_form.html
fieldset.mak          list_fieldset.mak   table_form.mak
form.html             list_form.html      textarea.html
form.mak              list_form.mak       textarea.mak
__init__.py           select_field.html
__init__.pyc          select_field.mak

which do correspond to the way the markup is done for each element. In
your schema:

class NewTicketForm(TableForm):
    action = '/tools/ticketsave'

    submit_text = 'Submit Ticket'
    template = 'cp.templates.form'

where form.mak adjusted the html slightly for one page.

But, yes, form handling does require a bit of work to make some forms
more intuitive.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to