Class Radio-Presentation

Part of:

package weblocks, class form-presentation, class choices-presentation-mixin

Direct Superclass

choices-presentation-mixin
form-presentationA base class for all presentations that output form
constructs. All form presentations should d...

Slot

choices
A list of choices a user may select from. This value may be bound either to a list of choices, or a function object that accepts the object being rendered and returns such a list. The list may contain single entries (in which case the label for each choice will be obtained via 'label-key' and value via 'value-key'), or cons pairs, in which case label will be obtained by car, and value via cdr.
Initargs::choices; Accessors:presentation-choices.
label-key
A function used to transform a choice into a label. Default implementation transforms CLOS objects via 'object-class-name', and other lisp objects via 'humanize-name' (see presentation-choices-default-label-key).
Initform:#'presentation-choices-default-label-key, Initargs::label-key; Accessors:presentation-choices-label-key.
value-key
A function used to transform a choice into a value. Default implementation transforms CLOS objects via 'object-id', and other lisp objects via 'attributize-name' (see presentation-choices-default-value-key).
Initform:#'presentation-choices-default-value-key, Initargs::value-key; Accessors:presentation-choices-value-key.

Direct Method

render-view-fieldRenders a given view field. This function should
render appropriate structural markup, and call r...
render-view-field-valueRenders 'value' obtained from 'field' using
'presentation'. If this function requires a textual r...