-- -- /calendar-portlet/sql/oracle/calendar-portlet-create.sql -- -- Creates calendar portlet -- Copyright (C) 2001 OpenForce, Inc. -- @author Arjun Sanyal (arjun@openforce.net) -- @creation-date 2001-26-10 -- $Id: calendar-portlet-create.sql,v 1.1 2001/10/26 15:58:38 oracle Exp $ -- This is free software distributed under the terms of the GNU Public -- License version 2 or higher. Full text of the license is available -- from the GNU Project: http://www.fsf.org/copyleft/gpl.html declare ds_id portal_datasources.datasource_id%TYPE; begin ds_id := portal_datasource.new( data_type => 'tcl_proc', mime_type => 'text/html', name => 'calendar-portlet', description => 'Displays the calendar ', content => 'calendar_portlet::show', configurable_p => 't' ); -- community_calendar_id must be configured portal_datasource.set_def_param ( datasource_id => ds_id, config_required_p => 't', configured_p => 'f', key => 'community_calendar_id', value => '' ); -- XXX personal calendars? -- -- -- portal_datasource.set_def_param ( -- datasource_id => ds_id, -- config_required_p => 't', -- configured_p => 'f', -- key => 'folder_id', -- value => '' --); -- end; / show errors