maltes
committed
on 21 Oct 05
Fixed issue with the fact that not nonly files use the glossar as a parent_id
/oracle/calendar-portlet-create.sql (+2 -2)
1 1 --
2 2 -- /calendar-portlet/sql/oracle/calendar-portlet-create.sql
3 3 --
4 4
5 5 -- Creates calendar portlet
6 6
7 7 -- Copyright (C) 2001 OpenForce, Inc.
8 8 -- @author Arjun Sanyal (arjun@openforce.net)
9 9 -- @creation-date 2001-26-10
10 10
11 11 -- $Id$
12 12
13 13 -- This is free software distributed under the terms of the GNU Public
14 14 -- License version 2 or higher.  Full text of the license is available
15 15 -- from the GNU Project: http://www.fsf.org/copyleft/gpl.html
16 16
17 17 declare
18 18   ds_id portal_datasources.datasource_id%TYPE;
19 19 begin
20 20   ds_id := portal_datasource.new(
21       name             => 'calendar-portlet',
  21     name             => 'calendar_portlet',
22 22     description      => 'Displays the calendar '
23 23   );
24 24
25 25  
26 26   --  the standard 4 params
27 27
28 28   -- shadeable_p
29 29   portal_datasource.set_def_param (
30 30         datasource_id => ds_id,
31 31         config_required_p => 't',
32 32         configured_p => 't',
33 33         key => 'shadeable_p',
34 34         value => 't'
35 35 );      
36 36
37 37
38 38   -- hideable_p
39 39   portal_datasource.set_def_param (
40 40         datasource_id => ds_id,
41 41         config_required_p => 't',