%3 ::xowiki::formfield::time_span ::xowiki::formfield::time_span initialize ::xowiki::formfield::CalendarField ::xowiki::formfield::CalendarField update_calendar ::xowiki::formfield::time_span->::xowiki::formfield::CalendarField ::xowiki::formfield::event ::xowiki::formfield::event convert_to_internal get_compound_value initialize pretty_value ::xowiki::formfield::event->::xowiki::formfield::CalendarField ::xowiki::formfield::CompoundField ::xowiki::formfield::CompoundField add_component add_statistics check=compound convert_to_external convert_to_internal create_components exists_named_sub_component generate_fieldnames get_component get_compound_value get_named_sub_component get_named_sub_component_value has_instance_variable leaf_components make_correct named_sub_components object pretty_value render_input reset_on_validation_error same_value set_compound_value set_disabled set_is_repeat_template specs_unmodified validate value ::xowiki::formfield::CalendarField->::xowiki::formfield::CompoundField ::xowiki::formfield::FormField ::xowiki::formfield::FormField ::xowiki::formfield::CompoundField->::xowiki::formfield::FormField

Class ::xowiki::formfield::time_span

::xowiki::formfield::time_span[i] create ...

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xowiki::formfield::CalendarField[i]
::xotcl::Class create ::xowiki::formfield::time_span \
     -superclass ::xowiki::formfield::CalendarField

Methods (to be applied on instances)

  • initialize (scripted)

    #:log "time_span initialize [info exists :__initialized], multi=${:multiday} state=${:__state}"
    if {${:__state} ne "after_specs"} return
    set :widget_type time_span
    # if {${:multiday}} {
    #   set dtend_format DD_MONTH_YYYY_#xowiki.event-hour_prefix#_HH24_MI
    #   set dtend_display_format %Q_%X
    # } else {
    #   set dtend_format HH24_MI
    #   set dtend_display_format %X
    # }
    :create_components [subst {
      {dtstart {datetime-local,form_item_wrapper_CSSclass=form-inline,label=#xowiki.From#}}
      {dtend   {h5time,form_item_wrapper_CSSclass=form-inline,label=#xowiki.to#}}
      {cal_item_id hidden}
    }]
    set :__initialized 1