web/formwidgets.py
changeset 4375 6d34e3cf60a3
parent 4373 972143183ea3
child 4376 839b28a3652e
--- a/web/formwidgets.py	Tue Jan 26 16:47:45 2010 +0100
+++ b/web/formwidgets.py	Tue Jan 26 16:48:06 2010 +0100
@@ -698,12 +698,11 @@
 
 # more widgets #################################################################
 
-class EditableURLWidget(TextInput):
+class EditableURLWidget(FieldWidget):
     """custom widget to edit separatly an url path / query string (used by
     default for Bookmark.path for instance), dealing with url quoting nicely
     (eg user edit the unquoted value).
     """
-    type = 'text'
 
     def _render(self, form, field, renderer):
         """render the widget for the given `field` of `form`.