Grant widget for building a colorized matrix.
The matrix shows anytime the status if you edit the radio widgets. This special widget shows the radio input field without labels. The labels are added in the header of the table. The order of the radio input fields is 'Allowed', 'Unset', 'Deny'.
cssClass
(type:
unicode
)
u''
extra
(type:
str
)
''
orientation
(type:
str
)
'horizontal'
size
(type:
int
)
5
tag
(type:
str
)
'select'
type
(type:
unicode
)
u'text'
visible
(type:
bool
)
True
hint(...)
label(...)
applyChanges(content)
convertTokensToValues(tokens)
Convert term tokens to the terms themselves.
Tokens are used in the HTML form to represent terms. This method takes the form tokens and converts them back to terms.
error()
getInputValue()
hasInput()
Check whether we have any input.
hasValidInput()
hidden()
renderItem(index, text, value, name, cssClass)
Render an item of the list.
Revert the order of label and text. Added field id to the lable attribute.
Added tabel td tags for fit in the matrix table.
renderItems(value)
renderItemsWithValues(values)
Render the list of possible values, with those found in values being marked as selected.
renderSelectedItem(index, text, value, name, cssClass)
Render a selected item of the list.
Revert the order of label and text. Added field id to the lable attribute.
renderValue(value)
setPrefix(prefix)
Set the prefix of the input name.
Once we set the prefix of input field, we use the name of the input field and the postfix '-query' for the associated query view.
setRenderedValue(value)
textForValue(term)
Extract a string from the term.
The term must be a vocabulary tokenized term.
This can be overridden to support more complex term objects. The token is returned here since it's the only thing known to be a string, or str()able.
translate(msgid)
There are no known subclasses.