From: <die...@us...> - 2012-03-21 11:56:47
|
Revision: 3878 http://openutils.svn.sourceforge.net/openutils/?rev=3878&view=rev Author: diego_schivo Date: 2012-03-21 11:56:37 +0000 (Wed, 21 Mar 2012) Log Message: ----------- StripesAwareParagraphManager Modified Paths: -------------- magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/META-INF/magnolia/stripes.xml Removed Paths: ------------- magnoliamodules/trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesAwareParagraphManager.java Deleted: magnoliamodules/trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesAwareParagraphManager.java =================================================================== --- magnoliamodules/trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesAwareParagraphManager.java 2012-03-21 10:32:50 UTC (rev 3877) +++ magnoliamodules/trunk/openutils-mgnlstripes/src/main/java/it/openutils/magnoliastripes/StripesAwareParagraphManager.java 2012-03-21 11:56:37 UTC (rev 3878) @@ -1,39 +0,0 @@ -/** - * - * Stripes module for Magnolia CMS (http://www.openmindlab.com/lab/products/mgnlstripes.html) - * Copyright(C) 2008-2012, Openmind S.r.l. http://www.openmindonline.it - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -package it.openutils.magnoliastripes; - - - -/** - * Extended paragraph manager that reload atogenerated stripes paragraphs after a refresh. - * @author fgiust - * @version $Id$ - */ -public class StripesAwareParagraphManager extends ParagraphManager -{ - - @Override - public void onClear() - { - super.onClear(); - log.info("Reloading Stripes paragraphs"); - MgnlActionResolver.registerParagraphs(); - } -} Modified: magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/META-INF/magnolia/stripes.xml =================================================================== --- magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/META-INF/magnolia/stripes.xml 2012-03-21 10:32:50 UTC (rev 3877) +++ magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/META-INF/magnolia/stripes.xml 2012-03-21 11:56:37 UTC (rev 3878) @@ -7,12 +7,6 @@ <class>it.openutils.magnoliastripes.StripesModule</class> <versionHandler>it.openutils.magnoliastripes.setup.StripesModuleVersionHandler</versionHandler> <version>${project.version}</version> - <properties> - <property> - <name>info.magnolia.module.templating.ParagraphManager</name> - <value>it.openutils.magnoliastripes.StripesAwareParagraphManager</value> - </property> - </properties> <dependencies> <dependency> <name>adminInterface</name> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |