rql_download.views.cwsearch.CWSearchPathWidget

class rql_download.views.cwsearch.CWSearchPathWidget(attrs=None, setdomid=None, settabindex=None, suffix=None)[source]

Custom widget to edit the query string from the ‘path’ attribute.

It deals with url quoting nicely so that the user edit the unquoted value.

Methods

__init__([attrs, setdomid, settabindex, suffix])
add_media(form) adds media (CSS & JS) required by this widget
attributes(form, field) Return HTML attributes for the widget, automatically setting DOM
format_value(form, field, value)
process_field_data(form, field) Return process posted value(s) for widget and return something understandable by the associated field.
render(form, field[, renderer]) Called to render the widget for the given field in the given form.
typed_value(form, field) return field’s typed value specified in:
values(form, field) Return the current string values (i.e.
values_and_attributes(form, field)

Attributes

needs_css
needs_js
setdomid
settabindex
suffix
vocabulary_widget
__module__ = 'rql_download.views.cwsearch'
_render(form, field, renderer)[source]

Create the ‘path’ form field.