- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::formfield::CalendarField
::xowiki::formfield::CalendarField create ... \
[ -calendar calendar ] \
[ -multiday:boolean (default "false") ] \
[ -time_label (default "#xowiki.event-time#") ]
Class Relations
- class: ::xotcl::Class
- superclass: ::xowiki::formfield::CompoundField
- subclass: ::xowiki::formfield::time_span, ::xowiki::formfield::event
::xotcl::Class create ::xowiki::formfield::CalendarField \ -superclass ::xowiki::formfield::CompoundFieldMethods (to be applied on instances)
calendar (setter)
multiday (setter)
time_label (setter)
update_calendar (scripted)
# # If we have already a valid cal_item_id (checked previously) # update the entry. Otherwise create a new calendar item and # update the instance variables. # if {$cal_item_id ne ""} { #:log "===== [list calendar::item::edit -start_date $start -end_date $end -cal_item_id $cal_item_id ...]" calendar::item::edit -cal_item_id $cal_item_id -start_date $start -end_date $end -name $name -description $description } else { #:log "===== [list calendar::item::new -start_date $start -end_date $end -calendar_id $calendar_id ...]" set cal_item_id [calendar::item::new -start_date $start -end_date $end -name $name -description $description -calendar_id $calendar_id] [:get_component cal_item_id] value $cal_item_id # # The following line is required when used in transaction to # update the instance attributes # ${:object} set_property [namespace tail [:info class]] [:get_compound_value] }
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables