- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::formfield::CompoundField
::xowiki::formfield::CompoundField create ... \
[ -CSSclass (default "compound-field") ] \
[ -components (default "") ]
Defined in
Class Relations
- class: ::xotcl::Class
- superclass: ::xowiki::formfield::FormField
- subclass: ::xowiki::formfield::repeatContainer, ::xowiki::formfield::regression_test_mycompound, ::xowiki::formfield::text_fields, ::xowiki::formfield::regression_test_compound_with_repeat2, ::xowiki::formfield::mc_exercise, ::xowiki::formfield::date, ::xowiki::formfield::CalendarField, ::xowiki::formfield::repeattest, ::xowiki::formfield::mc_alternative, ::xowiki::formfield::FormGeneratorField, ::xowiki::formfield::regression_test_compound_with_repeat, ::xowiki::formfield::regression_test_compound_numeric, ::xowiki::formfield::comp_correct_when
Methods (to be applied on instances)
CSSclass (setter)
add_component (scripted)
add_statistics (scripted)
check=compound (scripted)
components (setter)
convert_to_external (scripted)
convert_to_internal (scripted)
create_components (scripted)
exists_named_sub_component (scripted)
generate_fieldnames (scripted)
get_component (scripted)
get_compound_value (scripted)
get_named_sub_component (scripted)
get_named_sub_component_value (scripted, public)
<instance of xowiki::formfield::CompoundField> get_named_sub_component_value \ [ -from_repeat ] [ -default default ] args [ args... ]Return the value of a named subcomponent. When the named subcomponent is a repeated item, and the value of the 0th element of the repeat (the template element) is omitted from the returned value.
- Switches:
- -from_repeat (optional)
- skip template element from repeated values
- -default (optional)
- default value, when component is not found
- Parameters:
- args (required)
- space separated path of elements names in a potentially nested component structure (similar to dict)
- Testcases:
- create_test_items
has_instance_variable (scripted)
leaf_components (scripted)
make_correct (scripted)
named_sub_components (scripted)
object (scripted)
pretty_value (scripted)
render_input (scripted)
reset_on_validation_error (scripted)
same_value (scripted)
set_compound_value (scripted)
set_disabled (scripted)
set_is_repeat_template (scripted)
specs_unmodified (scripted)
validate (scripted)
validator (setter)
value (scripted)
Variables
::xowiki::formfield::CompoundField set __default_metaclass ::xotcl::Class ::xowiki::formfield::CompoundField set __default_superclass ::xotcl::Object
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables