Wikitty-commits
Threads by month
- ----- 2026 -----
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
January 2012
- 4 participants
- 128 discussions
Author: maven-release
Date: 2012-01-09 16:15:10 +0100 (Mon, 09 Jan 2012)
New Revision: 1309
Url: http://nuiton.org/repositories/revision/wikitty/1309
Log:
[maven-release-plugin] copy for tag wikitty-3.3
Added:
tags/wikitty-3.3/
Property changes on: tags/wikitty-3.3
___________________________________________________________________
Added: svn:ignore
+ .settings
.project
target
*.iml
*.ipr
*.iws
Added: svn:mergeinfo
+ /branches/2.0-eugene2:164-179
1
0
r1308 - in trunk: . wikitty-api wikitty-dto wikitty-generators wikitty-hessian-client wikitty-hessian-server wikitty-jdbc wikitty-perf-test wikitty-solr wikitty-struts
by maven-release@users.nuiton.org 09 Jan '12
by maven-release@users.nuiton.org 09 Jan '12
09 Jan '12
Author: maven-release
Date: 2012-01-09 16:15:09 +0100 (Mon, 09 Jan 2012)
New Revision: 1308
Url: http://nuiton.org/repositories/revision/wikitty/1308
Log:
[maven-release-plugin] prepare release wikitty-3.3
Modified:
trunk/pom.xml
trunk/wikitty-api/pom.xml
trunk/wikitty-dto/pom.xml
trunk/wikitty-generators/pom.xml
trunk/wikitty-hessian-client/pom.xml
trunk/wikitty-hessian-server/pom.xml
trunk/wikitty-jdbc/pom.xml
trunk/wikitty-perf-test/pom.xml
trunk/wikitty-solr/pom.xml
trunk/wikitty-struts/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2012-01-09 14:54:17 UTC (rev 1307)
+++ trunk/pom.xml 2012-01-09 15:15:09 UTC (rev 1308)
@@ -15,7 +15,7 @@
<groupId>org.nuiton</groupId>
<artifactId>wikitty</artifactId>
- <version>3.3-SNAPSHOT</version>
+ <version>3.3</version>
<modules>
@@ -783,10 +783,10 @@
<!-- Source control management. -->
<scm>
- <connection>scm:svn:http://svn.nuiton.org/svn/wikitty/trunk</connection>
- <developerConnection>scm:svn:http://svn.nuiton.org/svn/wikitty/trunk
+ <connection>scm:svn:http://svn.nuiton.org/svn/wikitty/tags/wikitty-3.3</connection>
+ <developerConnection>scm:svn:http://svn.nuiton.org/svn/wikitty/tags/wikitty-3.3
</developerConnection>
- <url>http://www.nuiton.org/repositories/browse/wikitty/trunk</url>
+ <url>http://www.nuiton.org/repositories/browse/wikitty/tags/wikitty-3.3</url>
</scm>
<distributionManagement>
Modified: trunk/wikitty-api/pom.xml
===================================================================
--- trunk/wikitty-api/pom.xml 2012-01-09 14:54:17 UTC (rev 1307)
+++ trunk/wikitty-api/pom.xml 2012-01-09 15:15:09 UTC (rev 1308)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>wikitty</artifactId>
- <version>3.3-SNAPSHOT</version>
+ <version>3.3</version>
</parent>
<!-- ************************************************************* -->
Modified: trunk/wikitty-dto/pom.xml
===================================================================
--- trunk/wikitty-dto/pom.xml 2012-01-09 14:54:17 UTC (rev 1307)
+++ trunk/wikitty-dto/pom.xml 2012-01-09 15:15:09 UTC (rev 1308)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>wikitty</artifactId>
- <version>3.3-SNAPSHOT</version>
+ <version>3.3</version>
</parent>
<!-- ************************************************************* -->
Modified: trunk/wikitty-generators/pom.xml
===================================================================
--- trunk/wikitty-generators/pom.xml 2012-01-09 14:54:17 UTC (rev 1307)
+++ trunk/wikitty-generators/pom.xml 2012-01-09 15:15:09 UTC (rev 1308)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>wikitty</artifactId>
- <version>3.3-SNAPSHOT</version>
+ <version>3.3</version>
</parent>
<!-- ************************************************************* -->
Modified: trunk/wikitty-hessian-client/pom.xml
===================================================================
--- trunk/wikitty-hessian-client/pom.xml 2012-01-09 14:54:17 UTC (rev 1307)
+++ trunk/wikitty-hessian-client/pom.xml 2012-01-09 15:15:09 UTC (rev 1308)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>wikitty</artifactId>
- <version>3.3-SNAPSHOT</version>
+ <version>3.3</version>
</parent>
<!-- ************************************************************* -->
Modified: trunk/wikitty-hessian-server/pom.xml
===================================================================
--- trunk/wikitty-hessian-server/pom.xml 2012-01-09 14:54:17 UTC (rev 1307)
+++ trunk/wikitty-hessian-server/pom.xml 2012-01-09 15:15:09 UTC (rev 1308)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>wikitty</artifactId>
- <version>3.3-SNAPSHOT</version>
+ <version>3.3</version>
</parent>
<!-- ************************************************************* -->
Modified: trunk/wikitty-jdbc/pom.xml
===================================================================
--- trunk/wikitty-jdbc/pom.xml 2012-01-09 14:54:17 UTC (rev 1307)
+++ trunk/wikitty-jdbc/pom.xml 2012-01-09 15:15:09 UTC (rev 1308)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>wikitty</artifactId>
- <version>3.3-SNAPSHOT</version>
+ <version>3.3</version>
</parent>
<groupId>org.nuiton.wikitty</groupId>
Modified: trunk/wikitty-perf-test/pom.xml
===================================================================
--- trunk/wikitty-perf-test/pom.xml 2012-01-09 14:54:17 UTC (rev 1307)
+++ trunk/wikitty-perf-test/pom.xml 2012-01-09 15:15:09 UTC (rev 1308)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>wikitty</artifactId>
- <version>3.3-SNAPSHOT</version>
+ <version>3.3</version>
</parent>
<groupId>org.nuiton.wikitty</groupId>
Modified: trunk/wikitty-solr/pom.xml
===================================================================
--- trunk/wikitty-solr/pom.xml 2012-01-09 14:54:17 UTC (rev 1307)
+++ trunk/wikitty-solr/pom.xml 2012-01-09 15:15:09 UTC (rev 1308)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.nuiton</groupId>
<artifactId>wikitty</artifactId>
- <version>3.3-SNAPSHOT</version>
+ <version>3.3</version>
</parent>
<!-- ************************************************************* -->
Modified: trunk/wikitty-struts/pom.xml
===================================================================
--- trunk/wikitty-struts/pom.xml 2012-01-09 14:54:17 UTC (rev 1307)
+++ trunk/wikitty-struts/pom.xml 2012-01-09 15:15:09 UTC (rev 1308)
@@ -1,13 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.nuiton</groupId>
<artifactId>wikitty</artifactId>
- <version>3.3-SNAPSHOT</version>
+ <version>3.3</version>
</parent>
<!-- ************************************************************* -->
1
0
Author: echatellier
Date: 2012-01-09 15:54:17 +0100 (Mon, 09 Jan 2012)
New Revision: 1307
Url: http://nuiton.org/repositories/revision/wikitty/1307
Log:
USe nuiton-utils release
Modified:
trunk/pom.xml
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2012-01-09 13:24:33 UTC (rev 1306)
+++ trunk/pom.xml 2012-01-09 14:54:17 UTC (rev 1307)
@@ -53,7 +53,7 @@
<!-- common versions used in sub-poms -->
<eugeneVersion>2.4.2</eugeneVersion>
- <nuitonUtilsVersion>2.4.2-SNAPSHOT</nuitonUtilsVersion>
+ <nuitonUtilsVersion>2.4.2</nuitonUtilsVersion>
<nuitonI18nVersion>2.4.1</nuitonI18nVersion>
<processPluginVersion>1.1</processPluginVersion>
<jettyVersion>7.4.2.v20110526</jettyVersion>
1
0
Author: echatellier
Date: 2012-01-09 14:24:33 +0100 (Mon, 09 Jan 2012)
New Revision: 1306
Url: http://nuiton.org/repositories/revision/wikitty/1306
Log:
Fix build (header, licenses, dependencies)
Added:
trunk/wikitty-struts/src/license/
trunk/wikitty-struts/src/license/THIRD-PARTY.properties
Modified:
trunk/pom.xml
trunk/src/site/rst/user/query.rst
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/AbstractCondition.java
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ConditionValue.java
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ConditionValueString.java
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ContainerNaryOperator.java
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ContainerOperator.java
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ContainerUnaryOperator.java
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/TerminalNaryOperator.java
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/TerminalUnaryOperator.java
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/package-info.java
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyExtensionMigrationRegistry.java
trunk/wikitty-api/src/test/java/org/nuiton/wikitty/services/WikittyExtensionMigrationTest.java
trunk/wikitty-generators/src/license/THIRD-PARTY.properties
trunk/wikitty-solr/src/main/java/org/nuiton/wikitty/storage/solr/ElementModifier.java
trunk/wikitty-solr/src/main/java/org/nuiton/wikitty/storage/solr/WikittyQueryVisitorToSolr.java
trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittySearchEngineSolrForQueryTest.java
trunk/wikitty-struts/pom.xml
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/AbstractWikittyEditAction.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/ExtensionFieldStrutsBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/Option.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/TagUseException.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/WikittyFieldHandler.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/AbstractWikittyClosingUIBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/AbstractWikittyComponent.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/AbstractWikittyComponentBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/BooleanBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/DateBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/FieldBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/FormTagBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/HiddenBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectAssociationBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectCriteriaBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectFixedBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/TextAreaBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/TextFieldBean.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/AbstractWikittyClosingTag.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/AbstractWikittyTag.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/AbstractWikittyTagComponent.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/BooleanTag.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/DateTag.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/FieldTag.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/FormTag.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/HiddenTag.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectAssociationTag.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectCriteriaTag.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectFixedTag.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectTag.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/TextAreaTag.java
trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/TextFieldTag.java
trunk/wikitty-struts/src/main/resources/struts-plugin.xml
trunk/wikitty-struts/src/main/resources/template/wikitty/theme.properties
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-boolean.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-commons.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-date.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-empty.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-field.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-form-close.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-form-commons.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-form.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-hidden.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-label-commons.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-select.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-selectassociation.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-selectcriteria.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-selectfixed.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-textarea.ftl
trunk/wikitty-struts/src/main/resources/template/wikitty/ws-textfield.ftl
trunk/wikitty-struts/src/main/webapps/example.jsp
trunk/wikitty-struts/src/site/rst/doc.rst
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/pom.xml 2012-01-09 13:24:33 UTC (rev 1306)
@@ -113,6 +113,12 @@
<version>1.2.2</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ <version>3.1</version>
+ </dependency>
+
<!-- jetty servlet container used for hessian server -->
<dependency>
<groupId>org.eclipse.jetty</groupId>
@@ -400,6 +406,12 @@
</dependency>
<dependency>
+ <groupId>org.apache.struts.xwork</groupId>
+ <artifactId>xwork-core</artifactId>
+ <version>${struts2Version}</version>
+ </dependency>
+
+ <dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>${struts2Version}</version>
@@ -420,13 +432,6 @@
</dependency>
<dependency>
- <groupId>org.apache.struts.xwork</groupId>
- <artifactId>xwork-core</artifactId>
- <version>${struts2Version}</version>
- </dependency>
-
-
- <dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>${jspapiversion}</version>
Modified: trunk/src/site/rst/user/query.rst
===================================================================
--- trunk/src/site/rst/user/query.rst 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/src/site/rst/user/query.rst 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+.. -
+.. * #%L
+.. * Wikitty
+.. *
+.. * $Id$
+.. * $HeadURL$
+.. * %%
+.. * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+.. * %%
+.. * This program 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 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 Lesser Public License for more details.
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
+.. * License along with this program. If not, see
+.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+.. * #L%
+.. -
======================
Recherche avec Wikitty
======================
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/AbstractCondition.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/AbstractCondition.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/AbstractCondition.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: api
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.query.conditions;
import java.io.Serializable;
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ConditionValue.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ConditionValue.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ConditionValue.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: api
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.query.conditions;
/**
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ConditionValueString.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ConditionValueString.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ConditionValueString.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: api
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.query.conditions;
import org.apache.commons.lang.ObjectUtils;
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ContainerNaryOperator.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ContainerNaryOperator.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ContainerNaryOperator.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: api
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.query.conditions;
import java.util.LinkedList;
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ContainerOperator.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ContainerOperator.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ContainerOperator.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: api
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.query.conditions;
import org.apache.commons.logging.Log;
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ContainerUnaryOperator.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ContainerUnaryOperator.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/ContainerUnaryOperator.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: api
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.query.conditions;
import org.apache.commons.lang.ClassUtils;
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/TerminalNaryOperator.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/TerminalNaryOperator.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/TerminalNaryOperator.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: api
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.query.conditions;
import java.util.ArrayList;
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/TerminalUnaryOperator.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/TerminalUnaryOperator.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/TerminalUnaryOperator.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: api
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.query.conditions;
import org.apache.commons.lang.ObjectUtils;
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/package-info.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/package-info.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/package-info.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: api
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
/**
* Hierarchie
* <ul>
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyExtensionMigrationRegistry.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyExtensionMigrationRegistry.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyExtensionMigrationRegistry.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: api
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.services;
import org.apache.commons.logging.Log;
Modified: trunk/wikitty-api/src/test/java/org/nuiton/wikitty/services/WikittyExtensionMigrationTest.java
===================================================================
--- trunk/wikitty-api/src/test/java/org/nuiton/wikitty/services/WikittyExtensionMigrationTest.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-api/src/test/java/org/nuiton/wikitty/services/WikittyExtensionMigrationTest.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: api
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.services;
import java.util.Date;
Modified: trunk/wikitty-generators/src/license/THIRD-PARTY.properties
===================================================================
--- trunk/wikitty-generators/src/license/THIRD-PARTY.properties 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-generators/src/license/THIRD-PARTY.properties 2012-01-09 13:24:33 UTC (rev 1306)
@@ -9,16 +9,16 @@
# - Lesser General Public License (LPGL)
# - Lesser General Public License (LPGL) v 2.1
# - MIT License
+# - Mozilla Public License Version 1.0
# - The Apache Software License, Version 2.0
# - http://jaxen.codehaus.org/license.html
#-------------------------------------------------------------------------------
# Please fill the missing licenses for dependencies :
#
#
-#Thu Aug 18 08:18:10 CEST 2011
+#Fri Jan 06 18:10:34 CET 2012
commons-digester--commons-digester--2.0=Apache Software License, Version 2.0
commons-primitives--commons-primitives--1.0=Apache Software License, Version 2.0
dom4j--dom4j--1.6.1=BSD License
jaxen--jaxen--1.1.1=http\://jaxen.codehaus.org/license.html
jdom--jdom--1.0=The Apache Software License, Version 2.0
-xalan--xalan--2.6.0=The Apache Software License, Version 2.0
Modified: trunk/wikitty-solr/src/main/java/org/nuiton/wikitty/storage/solr/ElementModifier.java
===================================================================
--- trunk/wikitty-solr/src/main/java/org/nuiton/wikitty/storage/solr/ElementModifier.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-solr/src/main/java/org/nuiton/wikitty/storage/solr/ElementModifier.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: wikitty-solr
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.storage.solr;
import org.apache.commons.lang.ClassUtils;
Modified: trunk/wikitty-solr/src/main/java/org/nuiton/wikitty/storage/solr/WikittyQueryVisitorToSolr.java
===================================================================
--- trunk/wikitty-solr/src/main/java/org/nuiton/wikitty/storage/solr/WikittyQueryVisitorToSolr.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-solr/src/main/java/org/nuiton/wikitty/storage/solr/WikittyQueryVisitorToSolr.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: wikitty-solr
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.storage.solr;
import java.util.ArrayList;
Modified: trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittySearchEngineSolrForQueryTest.java
===================================================================
--- trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittySearchEngineSolrForQueryTest.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittySearchEngineSolrForQueryTest.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: wikitty-solr
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.storage.solr;
import java.util.Collections;
Modified: trunk/wikitty-struts/pom.xml
===================================================================
--- trunk/wikitty-struts/pom.xml 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/pom.xml 2012-01-09 13:24:33 UTC (rev 1306)
@@ -35,18 +35,34 @@
<artifactId>servlet-api</artifactId>
<scope>provided</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.nuiton</groupId>
+ <artifactId>nuiton-utils</artifactId>
+ </dependency>
<dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-lang3</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.struts.xwork</groupId>
+ <artifactId>xwork-core</artifactId>
+ </dependency>
+
+ <dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
</dependency>
-
</dependencies>
-
-
-
<!-- ************************************************************* -->
<!-- *** Project Information ************************************* -->
<!-- ************************************************************* -->
@@ -74,9 +90,7 @@
<targetPath>META-INF/tld</targetPath>
</resource>
-
</resources>
</build>
-
</project>
Added: trunk/wikitty-struts/src/license/THIRD-PARTY.properties
===================================================================
--- trunk/wikitty-struts/src/license/THIRD-PARTY.properties (rev 0)
+++ trunk/wikitty-struts/src/license/THIRD-PARTY.properties 2012-01-09 13:24:33 UTC (rev 1306)
@@ -0,0 +1,33 @@
+# Generated by org.codehaus.mojo.license.AddThirdPartyMojo
+#-------------------------------------------------------------------------------
+# Already used licenses in project :
+# - Apache Software License, Version 2.0
+# - Apache Software License, version 1.1
+# - BSD License
+# - BSD style
+# - BSD-style license
+# - COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
+# - INRIA, France Telecom
+# - Indiana University Extreme! Lab Software License, vesion 1.1.1
+# - Lesser General Public License (LGPL) v 3.0
+# - Lesser General Public License (LPGL)
+# - Lesser General Public License (LPGL) v 2.1
+# - MIT License
+# - Public Domain
+# - Public domain
+# - TECHNOLOGY LICENSE FROM SUN MICROSYSTEMS, INC.
+# - The Apache Software License, Version 2.0
+#-------------------------------------------------------------------------------
+# Please fill the missing licenses for dependencies :
+#
+#
+#Mon Jan 09 12:51:28 CET 2012
+asm--asm--3.1=INRIA, France Telecom
+asm--asm-commons--3.1=INRIA, France Telecom
+commons-primitives--commons-primitives--1.0=Apache Software License, Version 2.0
+concurrent--concurrent--1.0=TECHNOLOGY LICENSE FROM SUN MICROSYSTEMS, INC.
+javassist--javassist--3.8.0.GA=Apache Software License, Version 2.0
+javax.servlet--servlet-api--2.5=TECHNOLOGY LICENSE FROM SUN MICROSYSTEMS, INC.
+javax.servlet.jsp--jsp-api--2.1=TECHNOLOGY LICENSE FROM SUN MICROSYSTEMS, INC.
+javax.transaction--jta--1.1=COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
+xpp3--xpp3_min--1.1.3.4.O=Indiana University Extreme\! Lab Software License, vesion 1.1.1
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/AbstractWikittyEditAction.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/AbstractWikittyEditAction.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/AbstractWikittyEditAction.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,6 +1,30 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts;
-import static org.apache.commons.lang.StringUtils.EMPTY;
+import static org.apache.commons.lang3.StringUtils.EMPTY;
import java.util.ArrayList;
import java.util.Collection;
@@ -8,7 +32,7 @@
import java.util.Map;
import java.util.Map.Entry;
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.nuiton.util.StringUtil;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/ExtensionFieldStrutsBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/ExtensionFieldStrutsBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/ExtensionFieldStrutsBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts;
import java.util.Collection;
@@ -3,5 +27,5 @@
import java.util.LinkedList;
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/Option.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/Option.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/Option.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts;
public class Option {
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/TagUseException.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/TagUseException.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/TagUseException.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts;
public class TagUseException extends RuntimeException {
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/WikittyFieldHandler.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/WikittyFieldHandler.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/WikittyFieldHandler.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts;
import java.util.Collection;
@@ -7,8 +31,8 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
-import org.apache.commons.lang.StringEscapeUtils;
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringEscapeUtils;
+import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.nuiton.util.StringUtil;
@@ -384,7 +408,7 @@
result.setValue(valueString);
- valueString = StringEscapeUtils.escapeHtml(valueString);
+ valueString = StringEscapeUtils.escapeHtml4(valueString);
if (valueString.contains("\n")
|| "true".equals(fieldType.getTagValue("multiline"))) {
result.setType("textarea");
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/AbstractWikittyClosingUIBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/AbstractWikittyClosingUIBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/AbstractWikittyClosingUIBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin, Benjamin Poussin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/AbstractWikittyComponent.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/AbstractWikittyComponent.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/AbstractWikittyComponent.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import javax.servlet.http.HttpServletRequest;
@@ -3,5 +27,5 @@
import javax.servlet.http.HttpServletResponse;
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
import org.nuiton.wikitty.WikittyProxy;
import org.nuiton.wikitty.WikittyUtil;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/AbstractWikittyComponentBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/AbstractWikittyComponentBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/AbstractWikittyComponentBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/BooleanBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/BooleanBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/BooleanBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/DateBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/DateBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/DateBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/FieldBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/FieldBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/FieldBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/FormTagBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/FormTagBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/FormTagBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import javax.servlet.http.HttpServletRequest;
@@ -3,5 +27,5 @@
import javax.servlet.http.HttpServletResponse;
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/HiddenBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/HiddenBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/HiddenBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectAssociationBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectAssociationBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectAssociationBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import java.util.LinkedList;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import java.util.Collection;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectCriteriaBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectCriteriaBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectCriteriaBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import java.util.LinkedList;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectFixedBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectFixedBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/SelectFixedBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import java.util.LinkedList;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/TextAreaBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/TextAreaBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/TextAreaBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/TextFieldBean.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/TextFieldBean.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/component/TextFieldBean.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.component;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/AbstractWikittyClosingTag.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/AbstractWikittyClosingTag.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/AbstractWikittyClosingTag.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import org.apache.struts2.views.jsp.ui.AbstractClosingTag;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/AbstractWikittyTag.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/AbstractWikittyTag.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/AbstractWikittyTag.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import org.nuiton.wikitty.WikittyProxy;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/AbstractWikittyTagComponent.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/AbstractWikittyTagComponent.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/AbstractWikittyTagComponent.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import org.nuiton.wikitty.struts.component.AbstractWikittyComponentBean;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/BooleanTag.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/BooleanTag.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/BooleanTag.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/DateTag.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/DateTag.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/DateTag.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/FieldTag.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/FieldTag.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/FieldTag.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/FormTag.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/FormTag.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/FormTag.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/HiddenTag.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/HiddenTag.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/HiddenTag.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectAssociationTag.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectAssociationTag.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectAssociationTag.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectCriteriaTag.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectCriteriaTag.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectCriteriaTag.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectFixedTag.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectFixedTag.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectFixedTag.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectTag.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectTag.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/SelectTag.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import java.util.Collection;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/TextAreaTag.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/TextAreaTag.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/TextAreaTag.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/TextFieldTag.java
===================================================================
--- trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/TextFieldTag.java 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/java/org/nuiton/wikitty/struts/tag/TextFieldTag.java 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+/*
+ * #%L
+ * Wikitty :: struts
+ *
+ * $Id$
+ * $HeadURL$
+ * %%
+ * Copyright (C) 2011 - 2012 CodeLutin
+ * %%
+ * This program 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 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 Lesser Public License for more details.
+ *
+ * You should have received a copy of the GNU General Lesser Public
+ * License along with this program. If not, see
+ * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ * #L%
+ */
package org.nuiton.wikitty.struts.tag;
import javax.servlet.http.HttpServletRequest;
Modified: trunk/wikitty-struts/src/main/resources/struts-plugin.xml
===================================================================
--- trunk/wikitty-struts/src/main/resources/struts-plugin.xml 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/struts-plugin.xml 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,4 +1,29 @@
<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+ -->
+
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/theme.properties
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/theme.properties 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/theme.properties 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1 +1,25 @@
+###
+# #%L
+# Wikitty :: struts
+#
+# $Id$
+# $HeadURL$
+# %%
+# Copyright (C) 2011 - 2012 CodeLutin
+# %%
+# This program 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 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 Lesser Public License for more details.
+#
+# You should have received a copy of the GNU General Lesser Public
+# License along with this program. If not, see
+# <http://www.gnu.org/licenses/lgpl-3.0.html>.
+# #L%
+###
parent = css_xhtml
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-boolean.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-boolean.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-boolean.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<#if parameters.included?? && parameters.included==true >
<#include "/${parameters.templateDir}/${parameters.theme}/ws-label-commons.ftl" />
<input
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-commons.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-commons.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-commons.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
name="${parameters.name}"
<#if parameters.id?? ><#t/>
id="${parameters.id}"<#t/>
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-date.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-date.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-date.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<#if parameters.included?? && parameters.included==true >
<#include "/${parameters.templateDir}/${parameters.theme}/ws-label-commons.ftl" />
<input
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-empty.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-empty.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-empty.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -0,0 +1,24 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-field.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-field.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-field.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<#if parameters.included?? && parameters.included==true >
${parameters.value}
</#if>
\ No newline at end of file
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-form-close.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-form-close.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-form-close.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<#include "/${parameters.templateDir}/${parameters.theme}/ws-form-commons.ftl" />
<input type="submit" name="store" value="Store" />
<#if parameters.allowDelete?? && parameters.allowDelete==true >
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-form-commons.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-form-commons.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-form-commons.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<#assign aKeys = parameters.wikittyfields><#t/>
<#list aKeys as aKey><#t/>
<#--<#if aKey.type=="file">
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-form.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-form.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-form.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<form
<#include "/${parameters.templateDir}/${parameters.theme}/ws-commons.ftl" />
class="edit" action="${parameters.action}" method="post" enctype="multipart/form-data" >
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-hidden.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-hidden.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-hidden.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<#if parameters.included?? && parameters.included==true >
<input
<#include "/${parameters.templateDir}/${parameters.theme}/ws-commons.ftl" />
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-label-commons.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-label-commons.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-label-commons.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<#if parameters.label??>
<label for="${parameters.id}">${parameters.label}</label>
</#if>
\ No newline at end of file
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-select.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-select.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-select.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<#include "/${parameters.templateDir}/${parameters.theme}/ws-label-commons.ftl" />
<select
<#include "/${parameters.templateDir}/${parameters.theme}/ws-commons.ftl" />
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-selectassociation.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-selectassociation.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-selectassociation.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<#if parameters.included?? && parameters.included==true >
<#include "/${parameters.templateDir}/${parameters.theme}/ws-label-commons.ftl" />
<select
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-selectcriteria.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-selectcriteria.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-selectcriteria.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<#if parameters.included?? && parameters.included==true >
<#include "/${parameters.templateDir}/${parameters.theme}/ws-label-commons.ftl" />
<select
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-selectfixed.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-selectfixed.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-selectfixed.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<#if parameters.included?? && parameters.included==true >
<#include "/${parameters.templateDir}/${parameters.theme}/ws-label-commons.ftl" />
<select
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-textarea.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-textarea.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-textarea.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<#if parameters.included?? && parameters.included==true >
<#include "/${parameters.templateDir}/${parameters.theme}/ws-label-commons.ftl" />
<textarea
Modified: trunk/wikitty-struts/src/main/resources/template/wikitty/ws-textfield.ftl
===================================================================
--- trunk/wikitty-struts/src/main/resources/template/wikitty/ws-textfield.ftl 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/resources/template/wikitty/ws-textfield.ftl 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<#--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+-->
<#if parameters.included?? && parameters.included==true >
<#include "/${parameters.templateDir}/${parameters.theme}/ws-label-commons.ftl" />
<input
Modified: trunk/wikitty-struts/src/main/webapps/example.jsp
===================================================================
--- trunk/wikitty-struts/src/main/webapps/example.jsp 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/main/webapps/example.jsp 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+<%--
+ #%L
+ Wikitty :: struts
+
+ $Id$
+ $HeadURL$
+ %%
+ Copyright (C) 2011 - 2012 CodeLutin
+ %%
+ This program 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 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 Lesser Public License for more details.
+
+ You should have received a copy of the GNU General Lesser Public
+ License along with this program. If not, see
+ <http://www.gnu.org/licenses/lgpl-3.0.html>.
+ #L%
+ --%>
<%@page import="org.apache.commons.lang.StringEscapeUtils"%>
<%@page import="org.nuiton.wikitty.entities.Wikitty"%>
Modified: trunk/wikitty-struts/src/site/rst/doc.rst
===================================================================
--- trunk/wikitty-struts/src/site/rst/doc.rst 2012-01-09 11:23:35 UTC (rev 1305)
+++ trunk/wikitty-struts/src/site/rst/doc.rst 2012-01-09 13:24:33 UTC (rev 1306)
@@ -1,3 +1,27 @@
+.. -
+.. * #%L
+.. * Wikitty :: struts
+.. *
+.. * $Id$
+.. * $HeadURL$
+.. * %%
+.. * Copyright (C) 2011 - 2012 CodeLutin
+.. * %%
+.. * This program 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 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 Lesser Public License for more details.
+.. *
+.. * You should have received a copy of the GNU General Lesser Public
+.. * License along with this program. If not, see
+.. * <http://www.gnu.org/licenses/lgpl-3.0.html>.
+.. * #L%
+.. -
=========================
Documentation Utilisateur
=========================
1
0
r1305 - trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services
by echatellier@users.nuiton.org 09 Jan '12
by echatellier@users.nuiton.org 09 Jan '12
09 Jan '12
Author: echatellier
Date: 2012-01-09 12:23:35 +0100 (Mon, 09 Jan 2012)
New Revision: 1305
Url: http://nuiton.org/repositories/revision/wikitty/1305
Log:
Fix doc
Modified:
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServiceStorage.java
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServiceStorage.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServiceStorage.java 2012-01-09 09:11:24 UTC (rev 1304)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServiceStorage.java 2012-01-09 11:23:35 UTC (rev 1305)
@@ -5,7 +5,7 @@
* $Id$
* $HeadURL$
* %%
- * Copyright (C) 2009 - 2010 CodeLutin, Benjamin Poussin
+ * Copyright (C) 2009 - 2012 CodeLutin, Benjamin Poussin, Chatellier Eric
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
@@ -90,9 +90,7 @@
* TODO poussin 20101027 remove it when all used WikittyServiceHelper.build
*
* Used by specific child
- * {@link org.nuiton.wikitty.jdbc.WikittyStorageJDBC}
- * {@link org.nuiton.wikitty.jdbc.WikittyServiceJPA}
- * {@link org.nuiton.wikitty.jdbc.WikittyServiceHbase}
+ * {@link org.nuiton.wikitty.storage.solr.WikittyServiceSolr}
*/
protected WikittyServiceStorage(ApplicationConfig config) {
this.config = config;
1
0
Author: bpoussin
Date: 2012-01-09 10:11:24 +0100 (Mon, 09 Jan 2012)
New Revision: 1304
Url: http://nuiton.org/repositories/revision/wikitty/1304
Log:
maj de la doc secu
Modified:
trunk/src/site/rst/user/security.rst
Modified: trunk/src/site/rst/user/security.rst
===================================================================
--- trunk/src/site/rst/user/security.rst 2012-01-07 23:23:26 UTC (rev 1303)
+++ trunk/src/site/rst/user/security.rst 2012-01-09 09:11:24 UTC (rev 1304)
@@ -98,9 +98,9 @@
doit fournir ce token à chaque opération pour montrer qu'il a les droits.
Pour un token donné, on peut savoir à quel utilisateur il appartient. Pour le
développeur, cela n'implique pas de changement car le token de sécurité est
-conservé par le **WikittyProxy**. Il faut juste faire attention à bien avoir un
-WikittyProxy par utilisateur. Dans le cas d'applications web, il est conseillé
-de conserver le proxy dans la session de l'utilisateur.
+conservé par le **WikittyClient**. Il faut juste faire attention à bien avoir un
+WikittyClient par utilisateur. Dans le cas d'applications web, il est conseillé
+de conserver le client dans la session de l'utilisateur.
Les tokens sont stockés en base et supprimés au logout de l'utilisateur.
@@ -118,7 +118,7 @@
WikittyUser admin = new WikittyUserImpl();
admin.setLogin("admin");
admin.setPassword("admin");
- admin = proxy.store(admin);
+ admin = client.store(admin);
WikittyGroup adminGroup = WikittySecurityUtil.createAppAdminGroup(admin);
@@ -135,13 +135,13 @@
admin est déjà identifié) sur un wikitty::
//On commence par charger les wikitties concernés
- WikittyAuthorisation skill = proxy.restore(WikittyAuthorisation.class, id);
+ WikittyAuthorisation skill = client.restore(WikittyAuthorisation.class, id);
//On ajoute en reader notre utilisateur
skill.addReader(user.getWikittyId());
//On enregistre
- proxy.store(skill);
+ client.store(skill);
On peut de la même manière ajouter un groupe en tant que
reader/writer/owner/admin d'une entité.
@@ -155,10 +155,10 @@
+----------+---------+----------+-------------+----------------------+
| Writer | X | X | | |
+----------+---------+----------+-------------+----------------------+
-| Owner | X | X | X | |
-+----------+---------+----------+-------------+----------------------+
| Admin | X | X | X | X |
+----------+---------+----------+-------------+----------------------+
+| Owner | X | X | X | X |
++----------+---------+----------+-------------+----------------------+
| AppAdmin | X | X | X | X |
+----------+---------+----------+-------------+----------------------+
@@ -174,11 +174,6 @@
pas de gestion des droits par champs. Avoir le droit *reader* sur une extension
d'un wikitty donne le droit de lecture sur tous les champs de cette extension.
-La granularité des droits se situe donc au niveau de chaque instance. On doit
-pouvoir définir le droit pour chaque extension, de chaque wikitty. Il n'y a
-pas de gestion des droits par champs. Avoir le droit *reader* sur une extension
-d'un wikitty donne le droit de lecture sur tous les champs de cette extension.
-
Différence entre Admin et AppAdmin
----------------------------------
@@ -212,10 +207,10 @@
+----------+----------------------+----------+-------------+---------------+
| Writer | X | X | | |
+----------+----------------------+----------+-------------+---------------+
-| Owner | X | X | X | |
-+----------+----------------------+----------+-------------+---------------+
| Admin | X | X | X | X |
+----------+----------------------+----------+-------------+---------------+
+| Owner | X | X | X | X |
++----------+----------------------+----------+-------------+---------------+
| AppAdmin | X | X | X | X |
+----------+----------------------+----------+-------------+---------------+
1
0
r1303 - in trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query: . conditions
by bpoussin@users.nuiton.org 07 Jan '12
by bpoussin@users.nuiton.org 07 Jan '12
07 Jan '12
Author: bpoussin
Date: 2012-01-08 00:23:26 +0100 (Sun, 08 Jan 2012)
New Revision: 1303
Url: http://nuiton.org/repositories/revision/wikitty/1303
Log:
move String transformation to Element static method
Modified:
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/WikittyQueryParser.java
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/Element.java
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/WikittyQueryParser.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/WikittyQueryParser.java 2012-01-07 21:36:11 UTC (rev 1302)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/WikittyQueryParser.java 2012-01-07 23:23:26 UTC (rev 1303)
@@ -236,20 +236,7 @@
* @return
*/
protected Element toElement(String v) {
- Element result;
- if (Element.ID.getValue().equalsIgnoreCase(v)) {
- result = Element.ID;
- } else if (Element.EXTENSION.getValue().equalsIgnoreCase(v)) {
- result = Element.EXTENSION;
- } else if (Element.NODE_ROOT.getValue().equalsIgnoreCase(v)) {
- result = Element.NODE_ROOT;
- } else if (Element.NODE_PATH.getValue().equalsIgnoreCase(v)) {
- result = Element.NODE_PATH;
- } else if (Element.NODE_DEPTH.getValue().equalsIgnoreCase(v)) {
- result = Element.NODE_DEPTH;
- } else {
- result = new ElementField(v);
- }
+ Element result = Element.get(v);
return result;
}
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/Element.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/Element.java 2012-01-07 21:36:11 UTC (rev 1302)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/query/conditions/Element.java 2012-01-07 23:23:26 UTC (rev 1303)
@@ -66,6 +66,24 @@
this.value = value;
}
+ public static Element get(String v) {
+ Element result;
+ if (Element.ID.getValue().equalsIgnoreCase(v)) {
+ result = Element.ID;
+ } else if (Element.EXTENSION.getValue().equalsIgnoreCase(v)) {
+ result = Element.EXTENSION;
+ } else if (Element.NODE_ROOT.getValue().equalsIgnoreCase(v)) {
+ result = Element.NODE_ROOT;
+ } else if (Element.NODE_PATH.getValue().equalsIgnoreCase(v)) {
+ result = Element.NODE_PATH;
+ } else if (Element.NODE_DEPTH.getValue().equalsIgnoreCase(v)) {
+ result = Element.NODE_DEPTH;
+ } else {
+ result = new ElementField(v);
+ }
+ return result;
+ }
+
public String getValue() {
return value;
}
1
0
r1302 - trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr
by bpoussin@users.nuiton.org 07 Jan '12
by bpoussin@users.nuiton.org 07 Jan '12
07 Jan '12
Author: bpoussin
Date: 2012-01-07 22:36:11 +0100 (Sat, 07 Jan 2012)
New Revision: 1302
Url: http://nuiton.org/repositories/revision/wikitty/1302
Log:
maj documentation migration et ajout de methode utile dans le client
Modified:
trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittySearchEngineSolrForQueryTest.java
Modified: trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittySearchEngineSolrForQueryTest.java
===================================================================
--- trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittySearchEngineSolrForQueryTest.java 2012-01-07 21:34:07 UTC (rev 1301)
+++ trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittySearchEngineSolrForQueryTest.java 2012-01-07 21:36:11 UTC (rev 1302)
@@ -46,7 +46,7 @@
protected static ApplicationConfig instance =
WikittyConfig.getConfig("wikitty-config-sample-inmemory.properties");
- protected WikittyClient client = new WikittyClient(ws);
+ protected WikittyClient client = new WikittyClient(instance, ws);
@Before
public void deleteAll() throws Exception {
1
0
r1301 - in trunk: src/site/rst/user wikitty-api/src/main/java/org/nuiton/wikitty
by bpoussin@users.nuiton.org 07 Jan '12
by bpoussin@users.nuiton.org 07 Jan '12
07 Jan '12
Author: bpoussin
Date: 2012-01-07 22:34:07 +0100 (Sat, 07 Jan 2012)
New Revision: 1301
Url: http://nuiton.org/repositories/revision/wikitty/1301
Log:
maj documentation migration et ajout de methode utile dans le client
Modified:
trunk/src/site/rst/user/migration.rst
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/WikittyClient.java
Modified: trunk/src/site/rst/user/migration.rst
===================================================================
--- trunk/src/site/rst/user/migration.rst 2012-01-07 20:40:21 UTC (rev 1300)
+++ trunk/src/site/rst/user/migration.rst 2012-01-07 21:34:07 UTC (rev 1301)
@@ -57,7 +57,7 @@
Si vous avez des migrations spécifiques à effectuer, ajoutez au registre toutes
les migrations spécifiques des extensions::
- WikittyExtensionMigration.migrationRegistry.put("myExtension", myMigrationClass);
+ wikittyClient.getMigrationRegistry().put("myExtension", myMigrationClass);
Vous pouvez maintenant utiliser vos données simplement, elles seront migrées
au chargement.
@@ -92,8 +92,35 @@
ou renommés (dans ce cas, il faut ajouter un tag renameFrom sur le champ).
Pour toutes les autre migrations, vous devrez créer votre propre classe de
-migration qui implémente WikittyExtensionMigration. Cette classe n'a besoin de
+migration qui implante WikittyExtensionMigration. Cette classe n'a besoin de
faire la migration d'une version à l'autre, par exemple de la version 1 à la
version 2. Dans le cas d'une migration de la version 1 à la version 4, Wikitty
appellera automatiquement les classes pour migrer de la version 1 à la version 2
-puis de la version 2 à la version 3 et ainsi de suite.
\ No newline at end of file
+puis de la version 2 à la version 3 et ainsi de suite.
+
+Le plus simple pour imlanter votre propre migration est le plus souvent d'étendre
+la classe WikittyExtensionMigrationRename qui va permettre de géré le plus de
+chose possible. Il ne vous restera ensuite que les modifications que vous
+souhaitez réellement faire à implanter.::
+
+ public static class MyMigration extends WikittyExtensionMigrationRename {
+ public Wikitty migrate(WikittyService service, Wikitty wikitty,
+ WikittyExtension oldExt, WikittyExtension newExt) {
+ // ici le wikitty contient l'ancienne extension et les anciens champs
+ Wikitty result = super.migrate(service, wikitty, oldExt, newExt);
+ // ici result est la version migre de l'objet (nouvelle extension)
+ // Vous pouvez faire ici des traitement spécifique
+ return result;
+ }
+ }
+
+Utilisation du fichier de configuration
+=======================================
+
+Pour simplifier l'enregistrement des classes de migration et évité de devoir
+passer par de la programmation vous pouvez ajouter des entrées dans le fichier
+de configuration, par exemple pour utilier la classe **monpackage.MyMigration**
+pour la migration de l'extension **MyExtensionName**, ajoutez dans le fichier::
+
+ wikitty.migration.class.MyExtensionName=monpackage.MyMigration
+
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/WikittyClient.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/WikittyClient.java 2012-01-07 20:40:21 UTC (rev 1300)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/WikittyClient.java 2012-01-07 21:34:07 UTC (rev 1301)
@@ -64,6 +64,7 @@
import org.nuiton.wikitty.query.WikittyQueryResultTreeNode;
import org.nuiton.wikitty.query.conditions.ElementField;
import org.nuiton.wikitty.query.conditions.Select;
+import org.nuiton.wikitty.services.WikittyExtensionMigrationRegistry;
/**
* Wikitty client is object used in client side to access WikittyService.
@@ -88,6 +89,7 @@
final static private Log log = LogFactory.getLog(WikittyClient.class);
final static private TimeLog timeLog = new TimeLog(WikittyClient.class);
+ protected ApplicationConfig config = null;
/** Delegated wikitty service. */
protected WikittyServiceEnhanced wikittyService;
@@ -101,35 +103,39 @@
/**
* Empty constructor (uninitialized wikittyService).
*/
- public WikittyClient() {
+ protected WikittyClient() {
}
+ /**
+ * Creation du client, le wikittyService est instancier grace au information
+ * trouve dans la configuration.
+ *
+ * @param config
+ */
public WikittyClient(ApplicationConfig config) {
+ this(config, WikittyServiceFactory.buildWikittyService(config));
+ }
+
+ /**
+ * Creation du client en forcant le wikittyService
+ *
+ * @param config
+ * @param wikittyService
+ */
+ public WikittyClient(ApplicationConfig config, WikittyService wikittyService) {
if (config != null) {
+ this.config = config;
long timeToLogInfo = config.getOptionAsInt(WikittyConfigOption.
WIKITTY_CLIENT_TIME_TO_LOG_INFO.getKey());
long timeToLogWarn = config.getOptionAsInt(WikittyConfigOption.
WIKITTY_CLIENT_TIME_TO_LOG_WARN.getKey());
timeLog.setTimeToLogInfo(timeToLogInfo);
timeLog.setTimeToLogWarn(timeToLogWarn);
+
}
- }
-
- /**
- * Constructor with wikittyService.
- *
- * @param wikittyService wikitty service
- */
- public WikittyClient(WikittyService wikittyService) {
- this();
setWikittyService(wikittyService);
}
- public WikittyClient(ApplicationConfig config, WikittyService wikittyService) {
- this(config);
- setWikittyService(wikittyService);
- }
-
static public TimeLog getTimeTrace() {
return timeLog;
}
@@ -138,6 +144,12 @@
return timeLog.getCallCount();
}
+ public WikittyExtensionMigrationRegistry getMigrationRegistry() {
+ WikittyExtensionMigrationRegistry result =
+ config.getObject(WikittyExtensionMigrationRegistry.class);
+ return result;
+ }
+
public void login(String login, String password) {
long start = TimeLog.getTime();
String result = wikittyService.login(login, password);
@@ -198,6 +210,10 @@
this.wikittyService = new WikittyServiceEnhanced(wikittyService);
}
+ public ApplicationConfig getConfig() {
+ return config;
+ }
+
////////////////////////////////////////////////////////////////////////////
//
// STORE
1
0
r1300 - in trunk: . wikitty-api/src/main/java/org/nuiton/wikitty wikitty-api/src/main/java/org/nuiton/wikitty/services wikitty-api/src/test/java/org/nuiton/wikitty/services wikitty-jdbc/src/test/java/org/nuiton/wikitty/services wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr
by bpoussin@users.nuiton.org 07 Jan '12
by bpoussin@users.nuiton.org 07 Jan '12
07 Jan '12
Author: bpoussin
Date: 2012-01-07 21:40:21 +0100 (Sat, 07 Jan 2012)
New Revision: 1300
Url: http://nuiton.org/repositories/revision/wikitty/1300
Log:
Evolution #1126: Add migration class definition configurable in config file
modification du WikittyServiceStorage pour que les commits de transaction soient tous fait dans un finally
Added:
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyExtensionMigrationRegistry.java
trunk/wikitty-api/src/test/java/org/nuiton/wikitty/services/WikittyExtensionMigrationTest.java
Modified:
trunk/pom.xml
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/WikittyConfigOption.java
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyExtensionMigration.java
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServiceInMemory.java
trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServiceStorage.java
trunk/wikitty-jdbc/src/test/java/org/nuiton/wikitty/services/WikittyServiceInMemoryJdbcSolr.java
trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittySearchEngineSolrForQueryTest.java
trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittyServiceSolr.java
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2012-01-07 16:50:21 UTC (rev 1299)
+++ trunk/pom.xml 2012-01-07 20:40:21 UTC (rev 1300)
@@ -53,7 +53,7 @@
<!-- common versions used in sub-poms -->
<eugeneVersion>2.4.2</eugeneVersion>
- <nuitonUtilsVersion>2.4.1</nuitonUtilsVersion>
+ <nuitonUtilsVersion>2.4.2-SNAPSHOT</nuitonUtilsVersion>
<nuitonI18nVersion>2.4.1</nuitonI18nVersion>
<processPluginVersion>1.1</processPluginVersion>
<jettyVersion>7.4.2.v20110526</jettyVersion>
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/WikittyConfigOption.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/WikittyConfigOption.java 2012-01-07 16:50:21 UTC (rev 1299)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/WikittyConfigOption.java 2012-01-07 20:40:21 UTC (rev 1300)
@@ -305,6 +305,12 @@
n_("maximum time before send log warn with time consumed"),
"3000",
Integer.class, false, false),
+ WIKITTY_MIGRATION_CLASS(
+ "wikitty.migration.class.",
+ n_("prefix utilise pour indique les classes a utiliser pour la migration d'extension. Par exemple "
+ + "wikitty.migration.class.WikittyUser=org.nuiton.wikitty.entities.MigrationUser"),
+ "",
+ Class.class, false, false),
WIKITTY_SECURITY_TIME_TO_LOG_INFO(
"wikitty.security.timeToLog.info",
n_("maximum time before send log info with time consumed"),
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyExtensionMigration.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyExtensionMigration.java 2012-01-07 16:50:21 UTC (rev 1299)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyExtensionMigration.java 2012-01-07 20:40:21 UTC (rev 1300)
@@ -34,6 +34,8 @@
* Interface used to migrate Wikitty data from one WikittyExtension version
* to another version
*
+ * Your implementation can have constructor with ApplicationConfig as argument.
+ *
* @author poussin
* @version $Revision$
*
@@ -42,11 +44,13 @@
*/
public interface WikittyExtensionMigration {
- // TODO poussin 20090902 permit configuration of migrationRegistry by spring
+ // TODO poussin 20090902 permit configuration of migrationRegistry
/**
* use to put migration class for extension.
* key: extensionName, value: migration class
+ * @deprecated use new {@link WikittyExtensionMigrationRegistry}
*/
+ @Deprecated
static public Map<String, WikittyExtensionMigration> migrationRegistry =
new HashMap<String, WikittyExtensionMigration>();
Added: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyExtensionMigrationRegistry.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyExtensionMigrationRegistry.java (rev 0)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyExtensionMigrationRegistry.java 2012-01-07 20:40:21 UTC (rev 1300)
@@ -0,0 +1,56 @@
+package org.nuiton.wikitty.services;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.nuiton.util.ApplicationConfig;
+import org.nuiton.wikitty.WikittyConfigOption;
+import org.nuiton.wikitty.WikittyException;
+
+/**
+ * Permet de gerer les objets permettant les migrations d'extension. Il est
+ * possible d'ajouter programmatiquement des objects de migration ou bien en
+ * utilisant la configuration. Si les deux sont utilises l'ajout par programmation
+ * est toujours preponderant sur l'utilisation du fichier de configuration.
+ *
+ * Pour recuperer l'objet WikittyExtensionMigrationRegistry il faut utiliser
+ * <pre>
+ * ApplicationConfig config = ...;
+ * WikittyExtensionMigrationRegistry registry =
+ * config.getObject(WikittyExtensionMigrationRegistry.class);
+ * WikittyExtensionMigration migration = registry.get(WikittyUser.EXT_WIKITTYUSER);
+ * </pre>
+ *
+ * @author poussin
+ * @version $Revision$
+ *
+ * Last update: $Date$
+ * by : $Author$
+ */
+public class WikittyExtensionMigrationRegistry {
+
+ /** to use log facility, just put in your code: log.info(\"...\"); */
+ static private Log log = LogFactory.getLog(WikittyExtensionMigrationRegistry.class);
+
+ protected ApplicationConfig config;
+
+ public WikittyExtensionMigrationRegistry(ApplicationConfig config) {
+ this.config = config;
+ }
+
+ public WikittyExtensionMigration get(String extensionName) {
+ try {
+ String key = WikittyConfigOption.WIKITTY_MIGRATION_CLASS.getKey() + extensionName;
+ WikittyExtensionMigration result =
+ config.getOptionAsSingleton(WikittyExtensionMigration.class, key);
+ return result;
+ } catch (Exception eee) {
+ throw new WikittyException("Can't get migration class in configuration", eee);
+ }
+ }
+
+ public void put(String extensionName, WikittyExtensionMigration o) {
+ String key = WikittyConfigOption.WIKITTY_MIGRATION_CLASS.getKey() + extensionName;
+ config.putObject(key, o);
+ }
+
+}
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServiceInMemory.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServiceInMemory.java 2012-01-07 16:50:21 UTC (rev 1299)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServiceInMemory.java 2012-01-07 20:40:21 UTC (rev 1300)
@@ -69,7 +69,8 @@
protected File persistenceFile = null;
public WikittyServiceInMemory(ApplicationConfig config) {
- super(new WikittyExtensionStorageInMemory(),
+ super(config,
+ new WikittyExtensionStorageInMemory(),
new WikittyStorageInMemory(),
null);
searchEngine = new WikittySearchEngineInMemory(
Modified: trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServiceStorage.java
===================================================================
--- trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServiceStorage.java 2012-01-07 16:50:21 UTC (rev 1299)
+++ trunk/wikitty-api/src/main/java/org/nuiton/wikitty/services/WikittyServiceStorage.java 2012-01-07 20:40:21 UTC (rev 1300)
@@ -42,6 +42,7 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
+import org.nuiton.util.ApplicationConfig;
import org.nuiton.util.TimeLog;
import org.nuiton.wikitty.search.Criteria;
import org.nuiton.wikitty.entities.FieldType;
@@ -80,6 +81,7 @@
protected WikittyExtensionMigration defaultExtensionMigration =
new WikittyExtensionMigrationRename();
+ protected ApplicationConfig config;
protected WikittySearchEngine searchEngine;
protected WikittyExtensionStorage extensionStorage;
protected WikittyStorage wikittyStorage;
@@ -92,12 +94,15 @@
* {@link org.nuiton.wikitty.jdbc.WikittyServiceJPA}
* {@link org.nuiton.wikitty.jdbc.WikittyServiceHbase}
*/
- protected WikittyServiceStorage() {
+ protected WikittyServiceStorage(ApplicationConfig config) {
+ this.config = config;
}
- public WikittyServiceStorage(WikittyExtensionStorage extensionStorage,
+ public WikittyServiceStorage(ApplicationConfig config,
+ WikittyExtensionStorage extensionStorage,
WikittyStorage wikittyStorage,
WikittySearchEngine searchEngine) {
+ this.config = config;
this.extensionStorage = extensionStorage;
this.wikittyStorage = wikittyStorage;
this.searchEngine = searchEngine;
@@ -212,9 +217,6 @@
result.add(extUpdate);
result.add(wikUpdate);
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -226,6 +228,10 @@
tx.rollback();
}
throw new WikittyException("Can't store wikitty", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -241,9 +247,6 @@
List<String> result = getExtensionStorage().getAllExtensionIds(tx);
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -255,6 +258,10 @@
tx.rollback();
}
throw new WikittyException("Can't retrieve all extension's ids", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -272,9 +279,6 @@
List<String> result = getExtensionStorage()
.getAllExtensionsRequires(tx, extensionName);
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -287,6 +291,10 @@
}
throw new WikittyException(String.format(
"Can't retrieve all required extension for %s", extensionName), eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -341,9 +349,6 @@
WikittyEvent result =
getExtensionStorage().store(tx, exts);
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -355,6 +360,10 @@
tx.rollback();
}
throw new WikittyException("Can't store extensions", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -388,9 +397,6 @@
WikittyEvent result =
getExtensionStorage().delete(tx, extNames);
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -402,6 +408,10 @@
tx.rollback();
}
throw new WikittyException("Can't delete extensions", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -422,9 +432,6 @@
WikittyExtension result = getExtensionStorage().restore(tx, name, version);
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -436,6 +443,10 @@
tx.rollback();
}
throw new WikittyException("Can't restore extensions", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -461,9 +472,6 @@
WikittyExtension result = getExtensionStorage().restore(tx, name, version);
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -475,6 +483,10 @@
tx.rollback();
}
throw new WikittyException("Can't restore extensions", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -508,9 +520,6 @@
}
}
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -522,6 +531,10 @@
tx.rollback();
}
throw new WikittyException("Can't restore extensions", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -537,14 +550,15 @@
WikittyTransaction tx = WikittyTransaction.get();
boolean txBeginHere = false;
try {
+ if (id == null) {
+ return null;
+ }
+
if (!tx.isStarted()) {
tx.begin();
txBeginHere = true;
}
- if (id == null) {
- return null;
- }
if (!getWikittyStorage().exists(tx, id)) {
// object doesn't exist, we return null
return null;
@@ -559,9 +573,6 @@
result = upgradeData(securityToken, result);
}
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -573,17 +584,21 @@
tx.rollback();
}
throw new WikittyException("Can't store extensions", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@Override
public List<Wikitty> restore(String securityToken, List<String> ids) {
List<Wikitty> result = new ArrayList<Wikitty>();
- WikittyTransaction transaction = WikittyTransaction.get();
+ WikittyTransaction tx = WikittyTransaction.get();
boolean txBeginHere = false;
try {
- if (!transaction.isStarted()) {
- transaction.begin();
+ if (!tx.isStarted()) {
+ tx.begin();
txBeginHere = true;
}
@@ -595,20 +610,21 @@
// avec la demande
result.add(w);
}
- if (txBeginHere) {
- transaction.commit();
- }
return result;
} catch (WikittyException ex) {
- if (transaction != null) {
- transaction.rollback();
+ if (tx != null) {
+ tx.rollback();
}
throw ex;
} catch (Exception eee) {
- if (transaction != null) {
- transaction.rollback();
+ if (tx != null) {
+ tx.rollback();
}
throw new WikittyException("Can't restore wikitty", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -642,9 +658,18 @@
log.debug("lastExtensionVersion=" + lastExtensionVersion);
}
- WikittyExtensionMigration migration =
- WikittyExtensionMigration.migrationRegistry.get(extensionName);
+
+ WikittyExtensionMigration migration = null;
+
+ WikittyExtensionMigrationRegistry registry =
+ config.getObject(WikittyExtensionMigrationRegistry.class);
+ migration = registry.get(extensionName);
+ // @deprecated a supprimer lorsque ce sera supprime de l'api
if (migration == null) {
+ migration = WikittyExtensionMigration.migrationRegistry.get(extensionName);
+ }
+
+ if (migration == null) {
migration = defaultExtensionMigration;
}
@@ -755,9 +780,6 @@
result.add(eventDelete);
result.add(eventStore);
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -769,6 +791,10 @@
tx.rollback();
}
throw new WikittyException("Can't delete wikitty", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -794,9 +820,6 @@
result.add(eventWik);
result.add(eventExt);
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -808,6 +831,10 @@
tx.rollback();
}
throw new WikittyException("Can't clear all data", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -838,9 +865,6 @@
}
}
- if (txBeginHere) {
- tx.commit();
- }
if (criteria.size() != result.size()) {
log.error(String.format("Criteria input list (%s) has not same size that result list (%s)",
criteria.size(), result.size()));
@@ -856,6 +880,10 @@
tx.rollback();
}
throw new WikittyException("Error during find", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -888,9 +916,6 @@
}
}
- if (txBeginHere) {
- tx.commit();
- }
if (criteria.size() != result.size()) {
log.error(String.format("Criteria input list (%s) has not same size that result list (%s)",
criteria.size(), result.size()));
@@ -906,6 +931,10 @@
tx.rollback();
}
throw new WikittyException("Error during find", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -936,9 +965,6 @@
}
}
- if (txBeginHere) {
- tx.commit();
- }
if (queries.size() != result.size()) {
log.error(String.format("Query input list (%s) has not same size that result list (%s)",
queries.size(), result.size()));
@@ -954,6 +980,10 @@
tx.rollback();
}
throw new WikittyException("Error during find", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -985,9 +1015,6 @@
}
}
- if (txBeginHere) {
- tx.commit();
- }
if (queries.size() != result.size()) {
log.error(String.format("Query input list (%s) has not same size that result list (%s)",
queries.size(), result.size()));
@@ -1003,6 +1030,10 @@
tx.rollback();
}
throw new WikittyException("Error during find", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -1020,9 +1051,6 @@
securityToken, thesaurusId);
WikittyEvent result = delete(securityToken, allTreeNodeId);
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -1034,6 +1062,10 @@
tx.rollback();
}
throw new WikittyException("Can't delete tree", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -1077,9 +1109,6 @@
tx, wikittyId, depth, count, filter);
}
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -1091,6 +1120,10 @@
tx.rollback();
}
throw new WikittyException("Can't restore children", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -1112,9 +1145,6 @@
tx, wikittyId, depth, count, filter);
}
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -1126,6 +1156,10 @@
tx.rollback();
}
throw new WikittyException("Can't restore children", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -1226,9 +1260,6 @@
// Last wikitties
searchEngine.store(tx, wikitties, true);
- if (txBeginHere) {
- tx.commit();
- }
log.info("Reindexation finished");
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -1240,6 +1271,10 @@
tx.rollback();
}
throw new WikittyException("Can't sync searchable index with data", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -1333,9 +1368,6 @@
delete(securityToken, toRemoveWikitty.keySet());
result.add(eventDeleteWikitty);
- if(txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -1347,6 +1379,10 @@
tx.rollback();
}
throw new WikittyException("Can't replay data", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -1363,9 +1399,6 @@
boolean result = getWikittyStorage().exists(tx, wikittyId);
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -1377,6 +1410,10 @@
tx.rollback();
}
throw new WikittyException("Can't test existance", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
@@ -1391,9 +1428,6 @@
}
boolean result = getWikittyStorage().isDeleted(tx, wikittyId);
- if (txBeginHere) {
- tx.commit();
- }
return result;
} catch (WikittyException ex) {
if (tx != null && tx.isStarted()) {
@@ -1405,6 +1439,10 @@
tx.rollback();
}
throw new WikittyException("Can't test existance", eee);
+ } finally {
+ if (txBeginHere && tx != null && tx.isStarted()) {
+ tx.commit();
+ }
}
}
Added: trunk/wikitty-api/src/test/java/org/nuiton/wikitty/services/WikittyExtensionMigrationTest.java
===================================================================
--- trunk/wikitty-api/src/test/java/org/nuiton/wikitty/services/WikittyExtensionMigrationTest.java (rev 0)
+++ trunk/wikitty-api/src/test/java/org/nuiton/wikitty/services/WikittyExtensionMigrationTest.java 2012-01-07 20:40:21 UTC (rev 1300)
@@ -0,0 +1,91 @@
+package org.nuiton.wikitty.services;
+
+import java.util.Date;
+import java.util.List;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.junit.Assert;
+import org.junit.Test;
+import org.nuiton.util.ApplicationConfig;
+import org.nuiton.wikitty.WikittyClient;
+import org.nuiton.wikitty.WikittyConfig;
+import org.nuiton.wikitty.WikittyConfigOption;
+import org.nuiton.wikitty.WikittyService;
+import org.nuiton.wikitty.WikittyUtil;
+import org.nuiton.wikitty.entities.Wikitty;
+import org.nuiton.wikitty.entities.WikittyExtension;
+import org.nuiton.wikitty.entities.WikittyImpl;
+
+/**
+ *
+ * @author poussin
+ * @version $Revision$
+ *
+ * Last update: $Date$
+ * by : $Author$
+ */
+public class WikittyExtensionMigrationTest {
+
+ /** to use log facility, just put in your code: log.info(\"...\"); */
+ static private Log log = LogFactory.getLog(WikittyExtensionMigrationTest.class);
+
+ static protected String extensionName = "Dummy";
+
+ @Test
+ public void testMigration() throws Exception {
+
+ WikittyExtension ext1 = new WikittyExtension(extensionName,
+ "1.0", // version
+ WikittyUtil.tagValuesToMap(" version=\"1.0\""), // tag/values
+ (List)null,
+ WikittyUtil.buildFieldMapExtension( // building field map
+ "Numeric number",
+ "String string",
+ "Date date"));
+
+ WikittyExtension ext2 = new WikittyExtension(extensionName,
+ "2.0", // version
+ WikittyUtil.tagValuesToMap(" version=\"1.0\""), // tag/values
+ (List<String>)null,
+ WikittyUtil.buildFieldMapExtension( // building field map
+ "Numeric number",
+ "String string",
+ "Date date"));
+
+ ApplicationConfig config = WikittyConfig.getConfig();
+ String key = WikittyConfigOption.WIKITTY_MIGRATION_CLASS.getKey() + extensionName;
+ config.setOption(key, DummyMigration.class.getName());
+ WikittyService service = new WikittyServiceInMemory(config);
+ WikittyClient client = new WikittyClient(config, service);
+
+ WikittyImpl w1 = new WikittyImpl("w1");
+ w1.addExtension(ext1);
+ w1.setField(extensionName, "string", "coucou");
+
+ client.store(w1);
+
+ client.storeExtension(ext2);
+
+ Wikitty w2 = client.restore(w1.getId());
+ Assert.assertEquals("hello", w2.getFieldAsString(extensionName, "string"));
+ }
+
+ public static class DummyMigration extends WikittyExtensionMigrationRename {
+
+ public Wikitty migrate(WikittyService service, Wikitty wikitty, WikittyExtension oldExt, WikittyExtension newExt) {
+ System.out.println(String.format("migrate %s(%s) oldExt %s newExt %s",
+ wikitty.getId(), wikitty.getExtension(extensionName).getId(),
+ oldExt.getId(), newExt.getId()));
+
+ Wikitty result = super.migrate(service, wikitty, oldExt, newExt);
+ result.setField(extensionName, "string", "hello");
+ result.setField(extensionName, "date", new Date());
+
+ System.out.println(String.format("done %s(%s)",
+ result.getId(), result.getExtension(extensionName).getId()));
+
+ return result;
+ }
+
+ }
+}
Modified: trunk/wikitty-jdbc/src/test/java/org/nuiton/wikitty/services/WikittyServiceInMemoryJdbcSolr.java
===================================================================
--- trunk/wikitty-jdbc/src/test/java/org/nuiton/wikitty/services/WikittyServiceInMemoryJdbcSolr.java 2012-01-07 16:50:21 UTC (rev 1299)
+++ trunk/wikitty-jdbc/src/test/java/org/nuiton/wikitty/services/WikittyServiceInMemoryJdbcSolr.java 2012-01-07 20:40:21 UTC (rev 1300)
@@ -51,12 +51,11 @@
static private Log log = LogFactory.getLog(WikittyServiceInMemoryJdbcSolr.class);
public WikittyServiceInMemoryJdbcSolr() {
- super(null, null, null);
+ super(WikittyConfig.getConfig(), null, null, null);
// we use unique db name (this permit to use simultaneously many
// WikittyServiceInMemoryJdbcSolr)
String dbName = "wikitty-tx-" + UUID.randomUUID().toString();
- ApplicationConfig config = WikittyConfig.getConfig();
config.setOption(WikittyConfigOption.
WIKITTY_STORAGE_JDBC_URL.getKey(),
"jdbc:h2:mem:" + dbName);
Modified: trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittySearchEngineSolrForQueryTest.java
===================================================================
--- trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittySearchEngineSolrForQueryTest.java 2012-01-07 16:50:21 UTC (rev 1299)
+++ trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittySearchEngineSolrForQueryTest.java 2012-01-07 20:40:21 UTC (rev 1300)
@@ -26,7 +26,6 @@
import org.nuiton.wikitty.query.WikittyQueryParser;
import org.nuiton.wikitty.query.WikittyQueryResult;
import org.nuiton.wikitty.query.conditions.Aggregate;
-import org.nuiton.wikitty.query.conditions.Element;
import org.nuiton.wikitty.query.conditions.ElementField;
/**
Modified: trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittyServiceSolr.java
===================================================================
--- trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittyServiceSolr.java 2012-01-07 16:50:21 UTC (rev 1299)
+++ trunk/wikitty-solr/src/test/java/org/nuiton/wikitty/storage/solr/WikittyServiceSolr.java 2012-01-07 20:40:21 UTC (rev 1300)
@@ -40,6 +40,7 @@
*/
public class WikittyServiceSolr extends WikittyServiceStorage {
public WikittyServiceSolr(ApplicationConfig config) {
+ super(config);
extensionStorage = new WikittyExtensionStorageInMemory();
wikittyStorage = new WikittyStorageInMemory();
searchEngine = new WikittySearchEngineSolr(config, extensionStorage);
1
0