caldav::CalDAV instproc generateResponse (public)

 <instance of caldav::CalDAV[i]> generateResponse \
    -queryType queryType  [ -user_id user_id ] \
    [ -calendar_id calendar_id ] [ -cal_item cal_item ] node

Defined in /var/www/openacs.org/packages/caldav/tcl/caldav-procs.tcl

Return a <response> ... </response> entry for the URL specified in the ${:url} and for the query attributes specified in the tdom node. The attributes user_id, calendar_id, or cal_item have to be set according to the queryType.

Switches:
-queryType (required)
is an abstraction of the query url and can be "calendar", "resource", "top", or "principal"
-user_id (optional)
-calendar_id (optional)
-cal_item (optional)
Parameters:
node (required)

Testcases:
PROPFIND_ios, PROPFIND_android, Thunderbird_subscribe, macOS_subscribe
[ show source ]
Show another procedure: