Index: openacs-4/packages/new-portal/sql/oracle/defaults.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/sql/oracle/defaults.sql,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/new-portal/sql/oracle/defaults.sql	29 Sep 2001 19:22:52 -0000	1.4
+++ openacs-4/packages/new-portal/sql/oracle/defaults.sql	3 Oct 2001 18:30:39 -0000	1.5
@@ -72,8 +72,8 @@
 	layout_id := portal_layout.new (
 		name => 'Simple 2-Column',
 		description => 'A simple 2-column layout',
-		filename => 'layouts/simple2',
-		resource_dir => 'layouts/components/simple2');
+		filename => 'www/layouts/simple2',
+		resource_dir => 'www/layouts/components/simple2');
 
 -- the supported regions for that layout.
 	portal_layout.add_region (layout_id => layout_id, region => '1');
@@ -126,19 +126,29 @@
 declare
 	datasource_id	portal_datasources.datasource_id%TYPE;
 begin
-	datasource_id := portal_datasource.new (
+	v_datasource_id := portal_datasource.new (
 		data_type => 'raw',
 		mime_type => 'application/x-ats',
-		name => 'NULL datasource',
+		name => 'null-datasource',
 		description => 'NULL DS for testing',
-		content_varchar => '/packages/new-portal/www/datasources/null/null'
+		content_varchar => '/packages/new-portal/www/datasources/null/null',
+		configurable_p => 't'
 	);
-
+	
+	-- some test default params
+	portal_datasource.set_def_param (
+		datasource_id => v_datasource_id,
+		config_required_p => 'f',
+		configured_p => 'f'
+		key => 'foo',
+		value => 'bar'
+	);
 end;
 /
 
 commit;
 
+
 -- test ds
 declare
 	datasource_id	portal_datasources.datasource_id%TYPE;
