summaryrefslogtreecommitdiff
path: root/orkweb/context
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2005-12-02 16:31:48 +0000
committerHenri Herscher <henri@oreka.org>2005-12-02 16:31:48 +0000
commitc851c21a303403f24f19572ba09905473c55a8b9 (patch)
tree1b6524c555665882d375ffe06f620ea78d538735 /orkweb/context
parent53bc868730fd5da3d7bba4014783cca1d13dbb21 (diff)
Added Authentication against database
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@84 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkweb/context')
-rw-r--r--orkweb/context/WEB-INF/Home.html2
-rw-r--r--orkweb/context/WEB-INF/Home.page4
-rw-r--r--orkweb/context/WEB-INF/RecSegments.html2
-rw-r--r--orkweb/context/WEB-INF/RecSegments.page2
-rw-r--r--orkweb/context/WEB-INF/hivemodule.xml9
5 files changed, 14 insertions, 5 deletions
diff --git a/orkweb/context/WEB-INF/Home.html b/orkweb/context/WEB-INF/Home.html
index 4256a96..6b7fed1 100644
--- a/orkweb/context/WEB-INF/Home.html
+++ b/orkweb/context/WEB-INF/Home.html
@@ -1,4 +1,4 @@
-<html jwcid="@Shell" stylesheet="ognl:assets.mystyle" title="Welcome to OrkWeb" >
+<html jwcid="@Shell" stylesheet="asset:globalStylesheet" title="Welcome to OrkWeb" >
<link jwcid="@If" condition="false" href="orekastyle.css" rel="stylesheet" type="text/css"/>
<body>
diff --git a/orkweb/context/WEB-INF/Home.page b/orkweb/context/WEB-INF/Home.page
index 93a41cd..7d70dd3 100644
--- a/orkweb/context/WEB-INF/Home.page
+++ b/orkweb/context/WEB-INF/Home.page
@@ -4,8 +4,8 @@
"http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
<!-- generated by Spindle, http://spindle.sourceforge.net -->
-<page-specification class="net.sf.oreka.pages.Home">
+<page-specification class="net.sf.oreka.pages.HomePage">
<description><![CDATA[ add a description ]]></description>
- <external-asset name="mystyle" URL="./css/orekastyle.css" />
+ <!--<external-asset name="mystyle" URL="./css/orekastyle.css" />-->
</page-specification>
diff --git a/orkweb/context/WEB-INF/RecSegments.html b/orkweb/context/WEB-INF/RecSegments.html
index 31b977b..75c5263 100644
--- a/orkweb/context/WEB-INF/RecSegments.html
+++ b/orkweb/context/WEB-INF/RecSegments.html
@@ -1,4 +1,4 @@
-<html jwcid="@Shell" stylesheet="ognl:assets.mystyle" title="Browse segments" >
+<html jwcid="@Shell" stylesheet="asset:globalStylesheet" title="Browse segments" >
<link jwcid="@If" condition="false" href="orekastyle.css" rel="stylesheet" type="text/css"/>
<body jwcid="@Body">
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
diff --git a/orkweb/context/WEB-INF/RecSegments.page b/orkweb/context/WEB-INF/RecSegments.page
index 96f3e4c..e13003d 100644
--- a/orkweb/context/WEB-INF/RecSegments.page
+++ b/orkweb/context/WEB-INF/RecSegments.page
@@ -19,7 +19,7 @@
</property-specification>
<!--<context-asset name="myimage" path="/images/Czech.gif"/>-->
- <external-asset name="mystyle" URL="./css/orekastyle.css" />
+ <!--<external-asset name="mystyle" URL="./css/orekastyle.css" />-->
<context-asset name="play" path="/images/common/icon_play.gif"/>
<context-asset name="cal" path="/images/common/icon_calendar.gif"/>
diff --git a/orkweb/context/WEB-INF/hivemodule.xml b/orkweb/context/WEB-INF/hivemodule.xml
new file mode 100644
index 0000000..66ed176
--- /dev/null
+++ b/orkweb/context/WEB-INF/hivemodule.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<module id="orkweb" version="0.0.3">
+
+<contribution configuration-id="tapestry.state.ApplicationObjects">
+ <state-object name="session-state-object" scope="session">
+ <create-instance class="net.sf.oreka.pages.SessionStateObject"/>
+ </state-object>
+</contribution>
+</module> \ No newline at end of file