Upgrade script für relatedLinks eingebaut, XSL Files aus portal in die richtigen Pakete verschoben.
git-svn-id: https://svn.libreccm.org/ccm/trunk@833 8810af33-2d31-482b-a856-94f89814c4dfmaster
|
|
@ -2,7 +2,7 @@
|
||||||
<ccm:application xmlns:ccm="http://ccm.redhat.com/ccm-project"
|
<ccm:application xmlns:ccm="http://ccm.redhat.com/ccm-project"
|
||||||
name="ccm-cms-assets-relatedlink"
|
name="ccm-cms-assets-relatedlink"
|
||||||
prettyName="Red Hat CMS Content Asset Related Link"
|
prettyName="Red Hat CMS Content Asset Related Link"
|
||||||
version="6.6.0"
|
version="6.6.1"
|
||||||
release="1"
|
release="1"
|
||||||
webapp="ROOT">
|
webapp="ROOT">
|
||||||
<ccm:dependencies>
|
<ccm:dependencies>
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
--
|
||||||
|
-- This library is free software; you can redistribute it and/or
|
||||||
|
-- modify it under the terms of the GNU Lesser General Public License
|
||||||
|
-- as published by the Free Software Foundation; either version 2.1 of
|
||||||
|
-- the License, or (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This library is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
-- Lesser General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU Lesser General Public
|
||||||
|
-- License along with this library; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
--
|
||||||
|
-- $Id: upd_table_ct_addresses.sql pboy $
|
||||||
|
|
||||||
|
UPDATE cms_related_links
|
||||||
|
SET link_list_name = 'NONE'
|
||||||
|
WHERE link_list_name IS NULL;
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
--
|
||||||
|
-- Copyright (C) 2008 Peter Boy All Rights Reserved.
|
||||||
|
--
|
||||||
|
-- This library is free software; you can redistribute it and/or
|
||||||
|
-- modify it under the terms of the GNU Lesser General Public License
|
||||||
|
-- as published by the Free Software Foundation; either version 2.1 of
|
||||||
|
-- the License, or (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This library is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
-- Lesser General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU Lesser General Public
|
||||||
|
-- License along with this library; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
--
|
||||||
|
-- $Id: oracle-se-6.6.0-6.6.1.sql 293 2011-01-07 15:10:39Z pboy $
|
||||||
|
|
||||||
|
PROMPT Red Hat Enterprise assets-relatedLinks 6.6.0 -> 6.6.1 Upgrade Script (Oracle)
|
||||||
|
|
||||||
|
@@ default/6.6.0-6.6.1/upd_table_cms_related_links.sql
|
||||||
|
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
--
|
||||||
|
-- Copyright (C) 2011 Peter Boy All Rights Reserved.
|
||||||
|
--
|
||||||
|
-- This library is free software; you can redistribute it and/or
|
||||||
|
-- modify it under the terms of the GNU Lesser General Public License
|
||||||
|
-- as published by the Free Software Foundation; either version 2.1 of
|
||||||
|
-- the License, or (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This library is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
-- Lesser General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU Lesser General Public
|
||||||
|
-- License along with this library; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
--
|
||||||
|
-- $DateTime: 2010/11/10 23:15:09 $
|
||||||
|
|
||||||
|
\echo Red Hat Enterprise assets-relatedLinks 6.6.0 -> 6.6.1 Upgrade Script (PostgreSQL)
|
||||||
|
|
||||||
|
begin;
|
||||||
|
|
||||||
|
\i default/6.6.0-6.6.1/upd_table_cms_related_links.sql
|
||||||
|
|
||||||
|
commit;
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
<upgrade>
|
||||||
|
<version from="6.6.0" to="6.6.1">
|
||||||
|
<script sql="ccm-cms-assets-relatedlink/upgrade/::database::-6.6.0-6.6.1.sql"/>
|
||||||
|
</version>
|
||||||
|
</upgrade>
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||||
xmlns:portlet="http://www.uk.arsdigita.com/portlet/1.0">
|
xmlns:portlet="http://www.uk.arsdigita.com/portlet/1.0">
|
||||||
|
|
||||||
<xsl:import href="../../content-section/xsl/cms-item.xsl"/>
|
<xsl:import href="../../../../../packages/content-section/xsl/cms-item.xsl"/>
|
||||||
|
|
||||||
<xsl:template match="portlet:contentItem">
|
<xsl:template match="portlet:contentItem">
|
||||||
<xsl:apply-templates/>
|
<xsl:apply-templates/>
|
||||||
|
|
@ -13,7 +13,8 @@
|
||||||
</td>
|
</td>
|
||||||
<td class="table_cell">
|
<td class="table_cell">
|
||||||
<a href="{@url}admin/index.jsp">
|
<a href="{@url}admin/index.jsp">
|
||||||
<img border="0" width="11" height="11" alt="admin" src="{$root-context-prefix}/assets/images/arrow-box.gif"/>
|
<img border="0" width="11" height="11" alt="admin"
|
||||||
|
src="{$root-context-prefix}/assets/images/arrow-box.gif"/>
|
||||||
</a>
|
</a>
|
||||||
<a href="{@url}admin/index.jsp" class="action_link">admin</a>
|
<a href="{@url}admin/index.jsp" class="action_link">admin</a>
|
||||||
</td>
|
</td>
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
<ccm:requires name="ccm-core" version="6.6.0" relation="ge"/>
|
<ccm:requires name="ccm-core" version="6.6.0" relation="ge"/>
|
||||||
<ccm:requires name="ccm-cms" version="6.6.0" relation="ge"/>
|
<ccm:requires name="ccm-cms" version="6.6.0" relation="ge"/>
|
||||||
<ccm:requires name="ccm-ldn-subsite" version="6.6.0" relation="ge"/>
|
<ccm:requires name="ccm-ldn-subsite" version="6.6.0" relation="ge"/>
|
||||||
<ccm:requires name="ccm-ldn-portal" version="6.6.0" relation="ge"/>
|
<ccm:requires name="ccm-portalworkspace" version="6.6.0" relation="ge"/>
|
||||||
<ccm:requires name="ccm-ldn-terms" version="6.6.0" relation="ge"/>
|
<ccm:requires name="ccm-ldn-terms" version="6.6.0" relation="ge"/>
|
||||||
<!-- not required anymore (2007-06-09)
|
<!-- not required anymore (2007-06-09)
|
||||||
<ccm:requires name="ccm-ldn-dublin" version="6.6.0" relation="ge"/>
|
<ccm:requires name="ccm-ldn-dublin" version="6.6.0" relation="ge"/>
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,10 @@ ccm-cms
|
||||||
|
|
||||||
# Content assets
|
# Content assets
|
||||||
ccm-cms-assets-fileattachment
|
ccm-cms-assets-fileattachment
|
||||||
# ccm-cms-assets-imagestep
|
ccm-cms-assets-imagestep
|
||||||
ccm-cms-assets-notes
|
ccm-cms-assets-notes
|
||||||
ccm-cms-assets-relatedlink
|
ccm-cms-assets-relatedlink
|
||||||
|
|
||||||
# is ccm-ldn-dublin really an asset?
|
# is ccm-ldn-dublin really an asset?
|
||||||
## -- ccm-ldn-dublin
|
## -- ccm-ldn-dublin
|
||||||
|
|
||||||
|
|
@ -49,9 +50,11 @@ ccm-cms-types-newsitem
|
||||||
# -- ccm-formbuilder-pdf
|
# -- ccm-formbuilder-pdf
|
||||||
ccm-forum
|
ccm-forum
|
||||||
# ccm-forum-categorised
|
# ccm-forum-categorised
|
||||||
|
# ccm-portalserver
|
||||||
|
ccm-portalworkspace
|
||||||
# -- ccm-simplesurvey
|
# -- ccm-simplesurvey
|
||||||
# ccm-themedirector
|
ccm-themedirector
|
||||||
ccm-user-preferences
|
# ccm-user-preferences
|
||||||
# -- ccm-weblog
|
# -- ccm-weblog
|
||||||
# -- ccm-webpage
|
# -- ccm-webpage
|
||||||
|
|
||||||
|
|
@ -63,8 +66,7 @@ ccm-user-preferences
|
||||||
# -- ccm-ldn-exporter
|
# -- ccm-ldn-exporter
|
||||||
# -- ccm-ldn-freeform
|
# -- ccm-ldn-freeform
|
||||||
# -- ccm-ldn-importer
|
# -- ccm-ldn-importer
|
||||||
# ccm-ldn-navigation
|
ccm-ldn-navigation
|
||||||
ccm-ldn-portal
|
|
||||||
# ccm-ldn-rss
|
# ccm-ldn-rss
|
||||||
ccm-ldn-search
|
ccm-ldn-search
|
||||||
ccm-ldn-shortcuts
|
ccm-ldn-shortcuts
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,8 @@
|
||||||
<initializer class="com.arsdigita.cms.Initializer"/>
|
<initializer class="com.arsdigita.cms.Initializer"/>
|
||||||
<initializer class="com.arsdigita.london.terms.Initializer"/>
|
<initializer class="com.arsdigita.london.terms.Initializer"/>
|
||||||
<initializer class="com.arsdigita.london.subsite.Initializer"/>
|
<initializer class="com.arsdigita.london.subsite.Initializer"/>
|
||||||
<initializer class="com.arsdigita.london.portal.Initializer"/>
|
<initializer class="com.arsdigita.portalworkspace.Initializer"/>
|
||||||
|
<initializer class="com.arsdigita.london.navigation.Initializer"/>
|
||||||
<initializer class="com.arsdigita.london.search.Initializer"/>
|
<initializer class="com.arsdigita.london.search.Initializer"/>
|
||||||
</requires>
|
</requires>
|
||||||
<provides>
|
<provides>
|
||||||
|
|
|
||||||
|
|
@ -132,7 +132,7 @@ public class Loader extends PackageLoader {
|
||||||
if (url != null) {
|
if (url != null) {
|
||||||
|
|
||||||
// check weather the url parameter is properly formatted
|
// check weather the url parameter is properly formatted
|
||||||
s_log.error("process url " + url);
|
s_log.debug("process url " + url);
|
||||||
Assert.isTrue(url.startsWith("/"), "url starts not with /");
|
Assert.isTrue(url.startsWith("/"), "url starts not with /");
|
||||||
Assert.isTrue(url.endsWith("/"), "url ends not with /");
|
Assert.isTrue(url.endsWith("/"), "url ends not with /");
|
||||||
Assert.isTrue(!url.equals("/"), "url is not /");
|
Assert.isTrue(!url.equals("/"), "url is not /");
|
||||||
|
|
@ -149,7 +149,7 @@ public class Loader extends PackageLoader {
|
||||||
} else {
|
} else {
|
||||||
name = url.substring(1, url.length() - 1);
|
name = url.substring(1, url.length() - 1);
|
||||||
}
|
}
|
||||||
s_log.error("node name is " + name);
|
s_log.debug("node name is " + name);
|
||||||
|
|
||||||
// set up the portal node
|
// set up the portal node
|
||||||
// Workspace workspace = Workspace.createWorkspace(name, title,
|
// Workspace workspace = Workspace.createWorkspace(name, title,
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
||||||
version="1.0">
|
|
||||||
|
|
||||||
<xsl:import href="../../../../packages/bebop/xsl/bebop.xsl"/>
|
|
||||||
<xsl:import href="../../../../packages/ui/xsl/ui.xsl"/>
|
|
||||||
<xsl:import href="../../../../packages/portalworkspace/xsl/admin.xsl"/>
|
|
||||||
|
|
||||||
</xsl:stylesheet>
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
|
version="1.0">
|
||||||
|
|
||||||
|
<xsl:import href="../../../packages/bebop/xsl/bebop.xsl"/>
|
||||||
|
<xsl:import href="../../../packages/ui/xsl/ui.xsl"/>
|
||||||
|
<xsl:import href="../../../packages/portal-workspace/xsl/admin.xsl"/>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
xmlns:portal="http://www.uk.arsdigita.com/portal/1.0"
|
xmlns:portal="http://www.uk.arsdigita.com/portal/1.0"
|
||||||
version="1.0">
|
version="1.0">
|
||||||
|
|
||||||
<xsl:import href="../../../../packages/portalworkspace/xsl/portal.xsl"/>
|
<xsl:import href="../../../packages/portal-workspace/xsl/portal.xsl"/>
|
||||||
|
|
||||||
<xsl:template match="portal:workspaceDetails">
|
<xsl:template match="portal:workspaceDetails">
|
||||||
<a href="index.jsp">View</a>
|
<a href="index.jsp">View</a>
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
xmlns:portal="http://www.uk.arsdigita.com/portal/1.0"
|
xmlns:portal="http://www.uk.arsdigita.com/portal/1.0"
|
||||||
version="1.0">
|
version="1.0">
|
||||||
|
|
||||||
<xsl:import href="../../../../packages/portalworkspace/xsl/portal.xsl"/>
|
<xsl:import href="../../../packages/portal-workspace/xsl/portal.xsl"/>
|
||||||
|
|
||||||
<xsl:template match="portal:workspaceDetails">
|
<xsl:template match="portal:workspaceDetails">
|
||||||
<xsl:if test="@canEdit = 'true'">
|
<xsl:if test="@canEdit = 'true'">
|
||||||
|
Before Width: | Height: | Size: 860 B After Width: | Height: | Size: 860 B |
|
Before Width: | Height: | Size: 870 B After Width: | Height: | Size: 870 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 865 B After Width: | Height: | Size: 865 B |
|
Before Width: | Height: | Size: 874 B After Width: | Height: | Size: 874 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 660 B After Width: | Height: | Size: 660 B |
|
Before Width: | Height: | Size: 641 B After Width: | Height: | Size: 641 B |
|
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 617 B |
|
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 617 B |
|
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 621 B |
|
Before Width: | Height: | Size: 624 B After Width: | Height: | Size: 624 B |
|
Before Width: | Height: | Size: 122 B After Width: | Height: | Size: 122 B |
|
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 357 B |
|
|
@ -33,7 +33,8 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<input type="checkbox" checked="checked" name="persistentCookieP" value="1" id="persistentCookieP:1"/>
|
<input type="checkbox" checked="checked" name="persistentCookieP"
|
||||||
|
value="1" id="persistentCookieP:1"/>
|
||||||
<label for="persistentCookieP:1">Remember this login?</label>
|
<label for="persistentCookieP:1">Remember this login?</label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Before Width: | Height: | Size: 100 B After Width: | Height: | Size: 100 B |
|
Before Width: | Height: | Size: 99 B After Width: | Height: | Size: 99 B |
|
Before Width: | Height: | Size: 99 B After Width: | Height: | Size: 99 B |
|
Before Width: | Height: | Size: 100 B After Width: | Height: | Size: 100 B |
|
|
@ -2,22 +2,30 @@
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||||
version="1.0">
|
version="1.0">
|
||||||
|
|
||||||
<xsl:import href="content-sections-portlet.xsl"/>
|
|
||||||
<xsl:import href="login-portlet.xsl"/>
|
|
||||||
<xsl:import href="time-of-day-portlet.xsl"/>
|
|
||||||
<xsl:import href="content-item-portlet.xsl"/>
|
|
||||||
<xsl:import href="freeform-html-portlet.xsl"/>
|
|
||||||
<xsl:import href="rss-feed-portlet.xsl"/>
|
|
||||||
<xsl:import href="tasklist-portlet.xsl"/>
|
|
||||||
<xsl:import href="application-directory-portlet.xsl"/>
|
<xsl:import href="application-directory-portlet.xsl"/>
|
||||||
<xsl:import href="workspace-directory-portlet.xsl"/>
|
|
||||||
<xsl:import href="content-directory-portlet.xsl"/>
|
<xsl:import href="content-directory-portlet.xsl"/>
|
||||||
<xsl:import href="flash-portlet.xsl"/>
|
<xsl:import href="flash-portlet.xsl"/>
|
||||||
|
<xsl:import href="freeform-html-portlet.xsl"/>
|
||||||
|
<xsl:import href="login-portlet.xsl"/>
|
||||||
|
<!-- MyWorkspacesPortlet - xsl file missing -->
|
||||||
|
<xsl:import href="rss-feed-portlet.xsl"/>
|
||||||
|
<xsl:import href="time-of-day-portlet.xsl"/>
|
||||||
|
<!-- WorkspaceNavigatorPortlet - xsl file missing -->
|
||||||
|
<!-- WorkspaceSummaryPortlet - xsl file missing -->
|
||||||
|
|
||||||
|
<!-- stuff from/for portlets not part of the portal package
|
||||||
|
(ccm-cms, ldn-rss)
|
||||||
|
<xsl:import href="content-sections-portlet.xsl"/>
|
||||||
|
<xsl:import href="content-item-portlet.xsl"/>
|
||||||
|
<xsl:import href="tasklist-portlet.xsl"/>
|
||||||
|
<xsl:import href="workspace-directory-portlet.xsl"/>
|
||||||
|
-->
|
||||||
|
<!-- We want no dependency from forum package in the portal package -->
|
||||||
<!-- import statement, if forum is installed in a separate webapp context
|
<!-- import statement, if forum is installed in a separate webapp context
|
||||||
<xsl:import href="../../../../ccm-forum/packages/forum/xsl/recent-postings-portlet.xsl"/>
|
<xsl:import href="../../../../ccm-forum/packages/forum/xsl/recent-postings-portlet.xsl"/>
|
||||||
-->
|
-->
|
||||||
<!-- import statement, if forum is installed in the main CCM webapp context
|
<!-- import statement, if forum is installed in the main CCM webapp context
|
||||||
|
<xsl:import href="../../../../packages/forum/xsl/recent-postings-portlet.xsl"/>
|
||||||
-->
|
-->
|
||||||
<xsl:import href="../../../packages/forum/xsl/recent-postings-portlet.xsl"/>
|
|
||||||
<xsl:import href="/__ccm__/servlet/portlet-type/index.xsl"/>
|
<xsl:import href="/__ccm__/servlet/portlet-type/index.xsl"/>
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
@ -46,7 +46,8 @@
|
||||||
|
|
||||||
<xsl:template match="rss:channel">
|
<xsl:template match="rss:channel">
|
||||||
<xsl:param name="maxItems" select="10"/>
|
<xsl:param name="maxItems" select="10"/>
|
||||||
<a><xsl:attribute name="href"><xsl:value-of select="rss:link"/></xsl:attribute><xsl:value-of select="rss:title"/></a>
|
<a><xsl:attribute name="href"><xsl:value-of select="rss:link"/>
|
||||||
|
</xsl:attribute><xsl:value-of select="rss:title"/></a>
|
||||||
<!-- backwards compatability with old rss format -->
|
<!-- backwards compatability with old rss format -->
|
||||||
<xsl:for-each select="rss:item[$maxItems > position()]">
|
<xsl:for-each select="rss:item[$maxItems > position()]">
|
||||||
<dl>
|
<dl>
|
||||||
|
|
@ -57,7 +58,8 @@
|
||||||
|
|
||||||
<xsl:template match="rss:item">
|
<xsl:template match="rss:item">
|
||||||
<dt>
|
<dt>
|
||||||
<a><xsl:attribute name="href"><xsl:value-of select="rss:link"/></xsl:attribute><xsl:value-of select="rss:title"/></a>
|
<a><xsl:attribute name="href"><xsl:value-of select="rss:link"/>
|
||||||
|
</xsl:attribute><xsl:value-of select="rss:title"/></a>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<xsl:value-of select="rss:description"/>
|
<xsl:value-of select="rss:description"/>
|
||||||
|
|
@ -67,7 +69,8 @@
|
||||||
|
|
||||||
<xsl:template match="channel">
|
<xsl:template match="channel">
|
||||||
<xsl:param name="maxItems" select="10"/>
|
<xsl:param name="maxItems" select="10"/>
|
||||||
<a><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a>
|
<a><xsl:attribute name="href"><xsl:value-of select="link"/>
|
||||||
|
</xsl:attribute><xsl:value-of select="title"/></a>
|
||||||
<!-- backwards compatability with old rss format -->
|
<!-- backwards compatability with old rss format -->
|
||||||
<xsl:for-each select="item[$maxItems > position()]">
|
<xsl:for-each select="item[$maxItems > position()]">
|
||||||
<dl>
|
<dl>
|
||||||
|
|
@ -78,7 +81,8 @@
|
||||||
|
|
||||||
<xsl:template match="item">
|
<xsl:template match="item">
|
||||||
<dt>
|
<dt>
|
||||||
<a><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a>
|
<a><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute>
|
||||||
|
<xsl:value-of select="title"/></a>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<xsl:value-of select="description"/>
|
<xsl:value-of select="description"/>
|
||||||
|
|
@ -39,8 +39,10 @@ import com.arsdigita.runtime.DomainInitEvent;
|
||||||
import com.arsdigita.runtime.PDLInitializer;
|
import com.arsdigita.runtime.PDLInitializer;
|
||||||
import com.arsdigita.runtime.RuntimeConfig;
|
import com.arsdigita.runtime.RuntimeConfig;
|
||||||
import com.arsdigita.templating.PatternStylesheetResolver;
|
import com.arsdigita.templating.PatternStylesheetResolver;
|
||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Theme Directory initializer.
|
* The Theme Directory initializer.
|
||||||
*
|
*
|
||||||
|
|
@ -91,6 +93,7 @@ public class Initializer extends CompoundInitializer {
|
||||||
evt.getFactory().registerInstantiator(
|
evt.getFactory().registerInstantiator(
|
||||||
ThemeDirector.BASE_DATA_OBJECT_TYPE,
|
ThemeDirector.BASE_DATA_OBJECT_TYPE,
|
||||||
new ACSObjectInstantiator() {
|
new ACSObjectInstantiator() {
|
||||||
|
@Override
|
||||||
public DomainObject doNewInstance(DataObject dataObject) {
|
public DomainObject doNewInstance(DataObject dataObject) {
|
||||||
return new ThemeDirector(dataObject);
|
return new ThemeDirector(dataObject);
|
||||||
}
|
}
|
||||||
|
|
|
||||||