r1320 - in xwiki-apps: . gelc gelc/gelcv1 gelc/gelcv1/trunk gelc/gelcv1/trunk/gelc gelc/gelcv1/trunk/gelc/src gelc/gelcv1/trunk/gelc/src/main gelc/gelcv1/trunk/gelc/src/main/web gelc/gelcv1/trunk/gelc/src/main/web/META-INF gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF gelc/gelcv1/trunk/gelc/src/main/web/templates gelc/gelcv1/trunk/gelc/src/main/xwiki gelc/gelcv1/trunk/gelc/src/main/xwiki/Admin gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog gelc/gelcv1/trunk/gelc/src/main/xwiki/Doc gelc/gelcv1/trunk/gelc/src/main/xwiki/Main gelc/gelcv1/trunk/gelc/src/main/xwiki/Photos gelc/gelcv1/trunk/gelc/src/main/xwiki/Sandbox gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki gelc/gelcv1/trunk/gelc/src/test gelc/gelcv1/trunk/gelcplugins gelc/gelcv1/trunk/gelcplugins/src gelc/gelcv1/trunk/gelcplugins/src/main gelc/gelcv1/trunk/gelcplugins/src/main/java gelc/gelcv1/trunk/gelcplugins/src/main/java/org gelc/gelcv1/trunk/gelcplugins/src/main/java/org/gelc gelc/gelcv1/trunk/gelcplugins/src/main/java/org/gelc/xwiki gelc/gelcv1/trunk/gelcplugins/src/main/java/org/gelc/xwiki/plugins gelc/gelcv1/trunk/gelcplugins/src/main/java/org/gelc/xwiki/plugins/mdfw gelc/gelcv1/trunk/gelcplugins/src/test

Ludovic Dubost ludovic at users.forge.objectweb.org
Fri Sep 15 13:46:53 CEST 2006


Author: ludovic
Date: 2006-09-15 13:46:52 +0200 (Fri, 15 Sep 2006)
New Revision: 1320

Added:
   xwiki-apps/gelc/
   xwiki-apps/gelc/gelcv1/
   xwiki-apps/gelc/gelcv1/trunk/
   xwiki-apps/gelc/gelcv1/trunk/gelc.iml
   xwiki-apps/gelc/gelcv1/trunk/gelc.ipr
   xwiki-apps/gelc/gelcv1/trunk/gelc.iws
   xwiki-apps/gelc/gelcv1/trunk/gelc/
   xwiki-apps/gelc/gelcv1/trunk/gelc/gelc.iml
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/java/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/resources/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/META-INF/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/META-INF/context.xml
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/hibernate.cfg.xml
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/velocity.properties
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/version.properties
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/web-test.xml
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/web.xml
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/xwiki.cfg
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INFweb.xml
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/templates/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/templates/macrosgelc.vm
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Admin/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Admin/Export
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/Categories
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/Category
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/Macros
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/TestArticle
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/WebHome
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Doc/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Doc/WebHome
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Doc/XWikiSyntax
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/AllDocs
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/BlogRss
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/EventCalendar
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/ExampleLink1
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/FilsRss
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/KnowledgeBase
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/LaunchOfXWiki
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/Presentations
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/RecentMembers
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/Sites
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/Test
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WebHome
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WebRss
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WebSearch
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WhatIsAWiki
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WhatsNew
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Photos/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Photos/CatPhotoAlbum
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Photos/Seychelles1999
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Photos/Vietnam2001
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Photos/WebHome
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Sandbox/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Sandbox/WebHome
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Sandbox/WebPreferences
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/Admin
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/ArticleClass
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/ArticleClassSheet
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/ArticleClassTemplate
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/BlogRssCode
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/CalendarEvent
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/ClassItemSheet
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/ClassItemTemplate
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/ClassSheet
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/ClassTemplate
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/EditRightsHelp
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/EditToolbar
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/Menu
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/Menu.it
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/MySkin
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/PhotoAlbumClass
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/PhotoAlbumClassSheet
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/PhotoAlbumClassTemplate
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/PresentationClass
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/PresentationClassEditSheet
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/PresentationClassS5Sheet
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/PresentationClassSheet
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/PresentationClassTemplate
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/RegisterJS
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/RegisterNewUser
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/SlideClass
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/Toolbar
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/WebHome
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/WebPreferences
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/WebRssCode
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiAdminGroup
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiAllGroup
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiClasses
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiComments
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiCommonJavascript
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiGlobalRights
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiGroupSheet
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiGroupTemplate
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiGroups
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiPreferences
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiRights
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiSkins
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiUserSheet
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiUserTemplate
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/XWiki/XWikiUsers
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/package.xml
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/test/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/test/java/
   xwiki-apps/gelc/gelcv1/trunk/gelc/src/test/resources/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/gelcplugins.iml
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/main/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/main/java/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/main/java/org/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/main/java/org/gelc/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/main/java/org/gelc/xwiki/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/main/java/org/gelc/xwiki/plugins/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/main/java/org/gelc/xwiki/plugins/mdfw/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/main/java/org/gelc/xwiki/plugins/mdfw/MetaDataFrameworkPlugin.java
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/main/java/org/gelc/xwiki/plugins/mdfw/MetaDataFrameworkPluginAPI.java
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/main/resources/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/test/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/test/cactus/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/test/java/
   xwiki-apps/gelc/gelcv1/trunk/gelcplugins/src/test/resources/
Log:
Initial Import of GELC

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/gelc.iml
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/gelc.iml	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/gelc.iml	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module version="4" relativePaths="true" type="J2EE_WEB_MODULE" j2ee-integration="Tomcat Server">
+  <component name="AppServerSpecificValidatorsManager" />
+  <component name="ModuleRootManager" />
+  <component name="NewModuleRootManager">
+    <output url="file://$MODULE_DIR$/../build/gelc/WEB-INF/classes" />
+    <exclude-output />
+    <exploded url="file://$MODULE_DIR$/../build/gelc" />
+    <exclude-exploded />
+    <output-test url="file://$MODULE_DIR$/../build/gelcpluginstest" />
+    <content url="file://$MODULE_DIR$/src/main/web" />
+    <content url="file://$MODULE_DIR$/../xwiki/src/main/web" />
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+    <orderEntry type="library" name="xwiki" level="project" />
+    <orderEntry type="library" name="Tomcat" level="application_server_libraries" />
+    <orderEntry type="module" module-name="xwikibase" />
+    <orderEntry type="module" module-name="gelcplugins" />
+    <orderEntryProperties />
+  </component>
+  <component name="WebModuleBuildComponent">
+    <setting name="EXPLODED_URL" value="file://$MODULE_DIR$/../build/gelc" />
+    <setting name="EXPLODED_ENABLED" value="true" />
+    <setting name="JAR_URL" value="file://$MODULE_DIR$/../build/gelc.war" />
+    <setting name="JAR_ENABLED" value="false" />
+    <setting name="SYNC_EXPLODED_DIR" value="true" />
+    <setting name="BUILD_ON_FRAME_DEACTIVATION" value="false" />
+    <setting name="RUN_JASPER_VALIDATION" value="false" />
+  </component>
+  <component name="WebModuleProperties">
+    <containerElement type="library" level="project" name="xwiki">
+      <attribute name="method" value="1" />
+      <attribute name="URI" value="/WEB-INF/lib" />
+    </containerElement>
+    <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/web/WEB-INF/web.xml" optional="false" version="2.3" />
+    <deploymentDescriptor name="context.xml" url="file://$MODULE_DIR$/src/main/web/META-INF/context.xml" optional="false" version="5.x" />
+    <webroots>
+      <root url="file://$MODULE_DIR$/src/main/web" relative="/" />
+      <root url="file://$MODULE_DIR$/../xwiki/src/main/web" relative="/" />
+    </webroots>
+  </component>
+  <component name="WeblogicWebModuleProperties">
+    <option name="IS_RUN_APPC" value="false" />
+  </component>
+</module>
+

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/META-INF/context.xml
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/META-INF/context.xml	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/META-INF/context.xml	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Context path="/">
+</Context>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/hibernate.cfg.xml
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/hibernate.cfg.xml	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/hibernate.cfg.xml	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,40 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
+        "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
+<hibernate-configuration>
+    <session-factory>
+        <property name="show_sql">false</property>
+        <property name="use_outer_join">true</property>
+
+        <property name="dbcp.defaultAutoCommit">false</property>
+        <property name="dbcp.maxActive">50</property>
+        <property name="dbcp.maxIdle">5</property>
+        <property name="dbcp.maxWait">30000</property>
+        <property name="dbcp.whenExhaustedAction">1</property>
+        <property name="dbcp.ps.whenExhaustedAction">1</property>
+        <property name="dbcp.ps.maxActive">20</property>
+        <property name="dbcp.ps.maxWait">120000</property>
+        <property name="dbcp.ps.maxIdle">20</property>
+
+        <!--
+        <property name="connection.url">jdbc:hsqldb:file:c:/dev/java/xwiki/release/xwikionjetty/db/xwiki_db;shutdown=true;ifexists=true</property>
+        <property name="connection.username">sa</property>
+        <property name="connection.password"></property>
+        <property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
+        <property name="dialect">org.hibernate.dialect.HSQLDialect</property>
+            -->
+
+        <property name="connection.url">jdbc:mysql://localhost/gelc</property>
+        <property name="connection.username">gelc</property>
+        <property name="connection.password">gelc</property>
+        <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
+        <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
+
+        <property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
+        <property name="connection.pool_size">2</property>
+        <property name="statement_cache.size">2</property>
+           <property name="jdbc.batch_size">0</property>
+        <!-- Mapping files -->
+        <mapping resource="xwiki.hbm.xml"/>
+    </session-factory>
+</hibernate-configuration>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/velocity.properties
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/velocity.properties	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/velocity.properties	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,99 @@
+#----------------------------------------------------------------------------
+# These are the default properties for the
+# Velocity Runtime. These values are used when
+# Runtime.init() is called, and when Runtime.init(properties)
+# fails to find the specificed properties file.
+#----------------------------------------------------------------------------
+
+
+#----------------------------------------------------------------------------
+# R U N T I M E  L O G  
+#----------------------------------------------------------------------------
+# Velocity uses the Servlet APIs logging facilites.
+
+#----------------------------------------------------------------------------
+# This controls if Runtime.error(), info() and warn() messages include the
+# whole stack trace. The last property controls whether invalid references
+# are logged.
+#----------------------------------------------------------------------------
+
+runtime.log.error.stacktrace = false
+runtime.log.warn.stacktrace = false
+runtime.log.info.stacktrace = false
+runtime.log.invalid.reference = true
+
+
+#----------------------------------------------------------------------------
+# T E M P L A T E  E N C O D I N G
+#----------------------------------------------------------------------------
+
+input.encoding=ISO-8859-1
+output.encoding=ISO-8859-1
+
+
+#----------------------------------------------------------------------------
+# F O R E A C H  P R O P E R T I E S
+#----------------------------------------------------------------------------
+# These properties control how the counter is accessed in the #foreach
+# directive. By default the reference $velocityCount will be available
+# in the body of the #foreach directive. The default starting value
+# for this reference is 1.
+#----------------------------------------------------------------------------
+
+directive.foreach.counter.name = velocityCount
+directive.foreach.counter.initial.value = 1
+
+
+#----------------------------------------------------------------------------
+# I N C L U D E  P R O P E R T I E S
+#----------------------------------------------------------------------------
+# These are the properties that governed the way #include'd content
+# is governed.
+#----------------------------------------------------------------------------
+
+directive.include.output.errormsg.start = <!-- include error : 
+directive.include.output.errormsg.end   =  see error log -->
+
+
+#----------------------------------------------------------------------------
+# P A R S E  P R O P E R T I E S
+#----------------------------------------------------------------------------
+
+directive.parse.max.depth = 10
+
+
+#----------------------------------------------------------------------------
+# VELOCIMACRO PROPERTIES
+#----------------------------------------------------------------------------
+# global : name of default global library.  It is expected to be in the regular
+# template path.  You may remove it (either the file or this property) if 
+# you wish with no harm.
+#----------------------------------------------------------------------------
+velocimacro.library = /templates/macros.vm,/templates/macrosgelc.vm
+velocimacro.library.autoreload = false
+
+velocimacro.permissions.allow.inline = true
+velocimacro.permissions.allow.inline.to.replace.global = false
+velocimacro.permissions.allow.inline.local.scope = true
+
+#----------------------------------------------------------------------------
+# INTERPOLATION
+#----------------------------------------------------------------------------
+# turn off and on interpolation of references and directives in string
+# literals.  ON by default :)
+#----------------------------------------------------------------------------
+runtime.interpolate.string.literals = true
+
+
+#----------------------------------------------------------------------------
+# RESOURCE MANAGEMENT
+#----------------------------------------------------------------------------
+# Allows alternative ResourceManager and ResourceCache implementations
+# to be plugged in.
+#----------------------------------------------------------------------------
+#resource.manager.class = org.apache.velocity.runtime.resource.ResourceManagerImpl
+resource.manager.class = com.xpn.xwiki.web.XWikiResourceManagerImpl
+resource.manager.cache.class = org.apache.velocity.runtime.resource.ResourceCacheImpl
+file.resource.loader.path=
+file.resource.loader.cache=false
+

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/version.properties
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/version.properties	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/version.properties	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1 @@
+build.number=1
\ No newline at end of file

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/web-test.xml
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/web-test.xml	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/web-test.xml	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE web-app
+  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+  "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+    <display-name>xwiki</display-name>
+
+    <description>This application is a servlet and a portlet</description>
+
+    <filter>
+            <filter-name>Set Character Encoding</filter-name>
+            <filter-class>com.xpn.xwiki.web.SetCharacterEncodingFilter</filter-class>
+            <init-param>
+                <param-name>encoding</param-name>
+                <param-value>ISO-8859-1</param-value>
+            </init-param>
+   </filter>
+
+      <filter-mapping>
+            <filter-name>Set Character Encoding</filter-name>
+            <url-pattern>/*</url-pattern>
+      </filter-mapping>
+
+    <servlet>
+        <servlet-name>action</servlet-name>
+        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
+        <init-param>
+            <param-name>application</param-name>
+            <param-value>ApplicationResources</param-value>
+        </init-param>
+        <init-param>
+            <param-name>xwiki</param-name>
+            <param-value>com.xpn.xwiki.XWiki</param-value>
+        </init-param>
+        <init-param>
+            <param-name>config</param-name>
+            <param-value>/WEB-INF/struts-config.xml</param-value>
+        </init-param>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>2</param-value>
+        </init-param>
+        <init-param>
+            <param-name>detail</param-name>
+            <param-value>2</param-value>
+        </init-param>
+        <init-param>
+            <param-name>validate</param-name>
+            <param-value>true</param-value>
+        </init-param>
+        <load-on-startup>2</load-on-startup>
+    </servlet>
+
+
+    <servlet>
+        <servlet-name>velocity</servlet-name>
+        <servlet-class>org.apache.velocity.tools.view.servlet.VelocityViewServlet</servlet-class>
+
+        <init-param>
+            <param-name>org.apache.velocity.toolbox</param-name>
+            <param-value>/WEB-INF/toolbox.xml</param-value>
+        </init-param>
+
+        <init-param>
+            <param-name>org.apache.velocity.properties</param-name>
+            <param-value>/WEB-INF/velocity.properties</param-value>
+        </init-param>
+
+        <load-on-startup>10</load-on-startup>
+    </servlet>
+    
+     <servlet>
+        <servlet-name>xmlrpc</servlet-name>
+        <servlet-class>com.xpn.xwiki.xmlrpc.XWikiXmlRpcServlet</servlet-class>
+        <init-param>
+          <param-name>enabledForExtensions</param-name>
+          <param-value>false</param-value>
+          <description>Sets, whether the servlet supports vendor extensions for XML-RPC.</description>
+        </init-param>
+     </servlet>
+     
+     <servlet>
+        <servlet-name>ServletRedirector</servlet-name>
+        <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
+    </servlet>
+    <servlet>
+        <servlet-name>ServletTestRunner</servlet-name>
+        <servlet-class>org.apache.cactus.server.runner.ServletTestRunner</servlet-class>
+    </servlet>
+    <servlet>
+        <servlet-name>JspRedirector</servlet-name>
+        <jsp-file>/jspRedirector.jsp</jsp-file>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>action</servlet-name>
+        <url-pattern>/bin/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>action</servlet-name>
+        <url-pattern>/testbin/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>xmlrpc</servlet-name>
+        <url-pattern>/xmlrpc/*</url-pattern>
+    </servlet-mapping>
+
+     <servlet-mapping>
+        <servlet-name>ServletRedirector</servlet-name>
+        <url-pattern>/ServletRedirector</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>JspRedirector</servlet-name>
+        <url-pattern>/JspRedirector</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>ServletTestRunner</servlet-name>
+        <url-pattern>/ServletTestRunner</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>action</servlet-name>
+        <url-pattern>/xwiki/*</url-pattern>
+    </servlet-mapping>
+
+    <!--
+    <error-page>
+          <error-code>500</error-code>
+          <location>/error.jsp</location>
+    </error-page>
+    <error-page>
+          <error-code>404</error-code>
+          <location>/error.jsp</location>
+    </error-page>
+    -->
+
+     <!-- The Usual Welcome File List -->
+    <welcome-file-list>
+        <welcome-file>index.html</welcome-file>
+    </welcome-file-list>
+
+    <!-- Example Application Tag Library Descriptor
+<taglib>
+<taglib-uri>/WEB-INF/app.tld</taglib-uri>
+<taglib-location>/WEB-INF/app.tld</taglib-location>
+</taglib>
+  -->
+
+    <!-- Struts Tag Library Descriptors -->
+    <taglib>
+        <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
+        <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
+    </taglib>
+
+    <taglib>
+        <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
+        <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
+    </taglib>
+
+    <taglib>
+        <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
+        <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
+    </taglib>
+
+  <resource-ref>
+      <description>DB Connection</description>
+      <res-ref-name>jdbc/XWikiDS</res-ref-name>
+      <res-type>javax.sql.DataSource</res-type>
+      <res-auth>Container</res-auth>
+  </resource-ref>
+
+  <env-entry>
+      <env-entry-name>XWikiConfig</env-entry-name>
+      <env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value>
+      <env-entry-type>java.lang.String</env-entry-type>
+  </env-entry>
+
+</web-app>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/web.xml
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/web.xml	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/web.xml	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE web-app
+  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+  "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+    <display-name>xwiki</display-name>
+
+    <description>This application is a servlet and a portlet</description>
+
+    <filter>
+            <filter-name>Set Character Encoding</filter-name>
+            <filter-class>com.xpn.xwiki.web.SetCharacterEncodingFilter</filter-class>
+            <init-param>
+                <param-name>encoding</param-name>
+                <param-value>ISO-8859-1</param-value>
+            </init-param>
+   </filter>
+
+      <filter-mapping>
+            <filter-name>Set Character Encoding</filter-name>
+            <url-pattern>/*</url-pattern>
+      </filter-mapping>
+
+    <servlet>
+        <servlet-name>action</servlet-name>
+        <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
+        <init-param>
+            <param-name>application</param-name>
+            <param-value>ApplicationResources</param-value>
+        </init-param>
+        <init-param>
+            <param-name>xwiki</param-name>
+            <param-value>com.xpn.xwiki.XWiki</param-value>
+        </init-param>
+        <init-param>
+            <param-name>config</param-name>
+            <param-value>/WEB-INF/struts-config.xml</param-value>
+        </init-param>
+        <init-param>
+            <param-name>debug</param-name>
+            <param-value>2</param-value>
+        </init-param>
+        <init-param>
+            <param-name>detail</param-name>
+            <param-value>2</param-value>
+        </init-param>
+        <init-param>
+            <param-name>validate</param-name>
+            <param-value>true</param-value>
+        </init-param>
+        <load-on-startup>2</load-on-startup>
+    </servlet>
+
+
+    <servlet>
+        <servlet-name>velocity</servlet-name>
+        <servlet-class>org.apache.velocity.tools.view.servlet.VelocityViewServlet</servlet-class>
+
+        <init-param>
+            <param-name>org.apache.velocity.toolbox</param-name>
+            <param-value>/WEB-INF/toolbox.xml</param-value>
+        </init-param>
+
+        <init-param>
+            <param-name>org.apache.velocity.properties</param-name>
+            <param-value>/WEB-INF/velocity.properties</param-value>
+        </init-param>
+
+        <load-on-startup>10</load-on-startup>
+    </servlet>
+    
+     <servlet>
+        <servlet-name>xmlrpc</servlet-name>
+        <servlet-class>com.xpn.xwiki.xmlrpc.XWikiXmlRpcServlet</servlet-class>
+        <init-param>
+          <param-name>enabledForExtensions</param-name>
+          <param-value>false</param-value>
+          <description>Sets, whether the servlet supports vendor extensions for XML-RPC.</description>
+        </init-param>
+     </servlet>
+
+    <servlet-mapping>
+        <servlet-name>action</servlet-name>
+        <url-pattern>/bin/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>action</servlet-name>
+        <url-pattern>/testbin/*</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>action</servlet-name>
+        <url-pattern>/xwiki/*</url-pattern>
+    </servlet-mapping>
+    
+    <servlet-mapping>
+        <servlet-name>xmlrpc</servlet-name>
+        <url-pattern>/xmlrpc/*</url-pattern>
+    </servlet-mapping>
+
+    <!-- The Usual Welcome File List -->
+    <welcome-file-list>
+        <welcome-file>index.html</welcome-file>
+    </welcome-file-list>
+
+    <!--
+    <error-page>
+      <error-code>500</error-code>
+      <location>/error.jsp</location>
+    </error-page>
+    <error-page>
+      <error-code>404</error-code>
+      <location>/error.jsp</location>
+    </error-page>
+    -->
+
+    <!-- Example Application Tag Library Descriptor
+<taglib>
+<taglib-uri>/WEB-INF/app.tld</taglib-uri>
+<taglib-location>/WEB-INF/app.tld</taglib-location>
+</taglib>
+  -->
+
+    <!-- Struts Tag Library Descriptors -->
+    <taglib>
+        <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
+        <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
+    </taglib>
+
+    <taglib>
+        <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
+        <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
+    </taglib>
+
+    <taglib>
+        <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
+        <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
+    </taglib>
+
+    <resource-ref>
+        <description>DB Connection</description>
+        <res-ref-name>jdbc/XWikiDS</res-ref-name>
+        <res-type>javax.sql.DataSource</res-type>
+        <res-auth>Container</res-auth>
+    </resource-ref>
+    
+    <env-entry>
+        <env-entry-name>XWikiConfig</env-entry-name>
+        <env-entry-value>/WEB-INF/xwiki.cfg</env-entry-value>
+        <env-entry-type>java.lang.String</env-entry-type>
+    </env-entry>
+</web-app>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/xwiki.cfg
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/xwiki.cfg	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INF/xwiki.cfg	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,71 @@
+xwiki.version=0.9
+xwiki.base=../../
+#xwiki.store.class=com.xpn.xwiki.store.XWikiRCSFileStore
+#xwiki.store.rcs.path=c:/dev/java/xwiki/src/web/rcs
+xwiki.store.class=com.xpn.xwiki.store.XWikiHibernateStore
+xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml
+xwiki.store.hibernate.updateschema=1
+xwiki.store.hibernate.custommapping=1
+
+## Jcr Store configuration
+#xwiki.store.class=com.xpn.xwiki.store.jcr.XWikiJcrStore
+#xwiki.store.attachment.class=com.xpn.xwiki.store.jcr.XWikiJcrAttachmentStore
+#xwiki.store.versioning.class=com.xpn.xwiki.store.jcr.XWikiJcrPropertyVersioningStore
+#xwiki.store.jcr.mapping=WEB-INF/classes/jcrmapping.xml
+#xwiki.store.jcr.provider=com.xpn.xwiki.store.jcr.JackRabbitJCRProvider
+#xwiki.store.jcr.jackrabbit.repository.config=WEB-INF/classes/jackrabbit/repository.xml
+#xwiki.store.jcr.jackrabbit.repository.path=jackrabbitrepo
+#xwiki.store.jcr.jackrabbit.nodetypes.config=WEB-INF/classes/jackrabbit/nodetypes.cnd
+
+xwiki.store.cache=1
+xwiki.store.cache.capacity=100
+xwiki.monitor=1
+xwiki.plugins=com.xpn.xwiki.monitor.api.MonitorPlugin,com.xpn.xwiki.plugin.calendar.CalendarPlugin,com.xpn.xwiki.plugin.feed.FeedPlugin,com.xpn.xwiki.plugin.ldap.LDAPPlugin,com.xpn.xwiki.plugin.google.GooglePlugin,com.xpn.xwiki.plugin.flickr.FlickrPlugin,com.xpn.xwiki.plugin.mail.MailPlugin,com.xpn.xwiki.plugin.packaging.PackagePlugin,com.xpn.xwiki.plugin.query.QueryPlugin,com.xpn.xwiki.plugin.graphviz.GraphVizPlugin,com.xpn.xwiki.plugin.svg.SVGPlugin,com.xpn.xwiki.plugin.charts.ChartingPlugin,com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,com.xpn.xwiki.plugin.laszlo.LaszloPlugin,com.xpn.xwiki.plugin.image.ImagePlugin,com.xpn.xwiki.plugin.packaging.PackagePlugin,org.gelc.xwiki.plugins.mdfw.MetaDataFrameworkPlugin
+
+# This parameter allows XWiki to operate in Hosting mode
+# allowing to create multiple wikis having their own database
+# and responding to different URLs
+xwiki.virtual=0
+xwiki.virtual.redirect=http://127.0.0.1:9080/xwiki/bin/Main/ThisWikiDoesNotExist
+
+# This parameter will activate the exo integration
+xwiki.exo=0
+
+xwiki.authentication=form
+xwiki.authentication.validationKey=totototototototototototototototo
+xwiki.authentication.encryptionKey=titititititititititititititititi
+xwiki.authentication.cookiedomains=xwiki.com,wiki.fr
+
+# Stats configuration allows to globally activate/deactivate stats module
+# it is also possible to choose a different stats service to record
+# statistics separately from XWiki
+xwiki.stats=1
+xwiki.stats.default=1
+xwiki.stats.class=com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl
+
+xwiki.encoding=ISO-8859-1
+xwiki.render.macromapping=1
+xwiki.backlinks=1
+
+xwiki.plugin.graphviz.dotpath=c:/Program Files/ATT/GraphViz/bin/dot.exe
+xwiki.plugin.graphviz.neatopath=c:/Program Files/ATT/GraphViz/bin/neato.exe
+
+xwiki.plugin.laszlo.baseurl=/openlaszlo/xwiki/
+xwiki.plugin.laszlo.path=c:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/openlaszlo/xwiki/
+
+xwiki.plugin.image.cache.capacity=30
+
+
+## Personal config
+xwiki.superadminpassword=toto
+xwiki.authentication.ldap=0
+xwiki.authentication.ldap.server=172.29.116.202
+xwiki.authentication.ldap.check_level=1
+xwiki.authentication.ldap.port=389
+xwiki.authentication.ldap.base_DN=dc=necf,dc=fr
+xwiki.authentication.ldap.bind_DN=cn={0},cn=Users,dc=necf,dc=fr
+xwiki.authentication.ldap.bind_pass={1}
+xwiki.authentication.ldap.UID_attr=sAMAccountName
+xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
+
+xwiki.authentication.unauthorized_code=200
\ No newline at end of file

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INFweb.xml
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INFweb.xml	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/WEB-INFweb.xml	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+</web-app>
\ No newline at end of file

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/web/templates/macrosgelc.vm
===================================================================

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Admin/Export
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Admin/Export	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Admin/Export	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Admin</web>
+<name>Export</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent></parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor>XWiki.Admin</contentAuthor>
+<creationDate>1158320124000</creationDate>
+<date>1158320198000</date>
+<contentUpdateDate>1158320198000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<content>1 Export du Wiki en XML
+
+&lt;%
+import com.xpn.xwiki.*;
+import com.xpn.xwiki.plugin.packaging.*;
+
+if (request.confirm=="1") {
+println "Starting export"
+println "Creating package"
+pack = new Package()
+pack.setWithVersions(false)
+println "Adding documents"
+pack.addAllWikiDocuments(context.context)
+println "Exporting documents"
+try {
+ pack.exportToDir(new File("C:/dev/java/gelc/v1/gelc/src/main/xwiki/"), context.context)
+} catch (Exception e) {
+ println "Error exporting"
+ println e.getMessage()
+}
+println "Finished."
+} else {
+ println "[Confirm export&gt;Export?confirm=1]"
+}
+
+%&gt;</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/Categories
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/Categories	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/Categories	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,242 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Blog</web>
+<name>Categories</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent></parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712020000</creationDate>
+<date>1107712020000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<class>
+<name>Blog.Categories</name>
+<customClass></customClass>
+<customMapping></customMapping>
+<defaultViewSheet></defaultViewSheet>
+<defaultEditSheet></defaultEditSheet>
+<defaultWeb></defaultWeb>
+<nameField></nameField>
+<description>
+<prettyName>Description</prettyName>
+<customDisplay></customDisplay>
+<rows>5</rows>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<name>description</name>
+<number>2</number>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</description>
+<name>
+<prettyName>Name</prettyName>
+<customDisplay></customDisplay>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<name>name</name>
+<number>1</number>
+<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
+</name>
+</class>
+<object>
+<class>
+<name>Blog.Categories</name>
+<customClass></customClass>
+<customMapping></customMapping>
+<defaultViewSheet></defaultViewSheet>
+<defaultEditSheet></defaultEditSheet>
+<defaultWeb></defaultWeb>
+<nameField></nameField>
+<description>
+<prettyName>Description</prettyName>
+<customDisplay></customDisplay>
+<rows>5</rows>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<name>description</name>
+<number>2</number>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</description>
+<name>
+<prettyName>Name</prettyName>
+<customDisplay></customDisplay>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<name>name</name>
+<number>1</number>
+<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
+</name>
+</class>
+<name>Blog.Categories</name>
+<number>0</number>
+<className>Blog.Categories</className>
+<property>
+<description>News on this Wiki/blog.</description>
+</property>
+<property>
+<name>News</name>
+</property>
+</object>
+<object>
+<class>
+<name>Blog.Categories</name>
+<customClass></customClass>
+<customMapping></customMapping>
+<defaultViewSheet></defaultViewSheet>
+<defaultEditSheet></defaultEditSheet>
+<defaultWeb></defaultWeb>
+<nameField></nameField>
+<description>
+<prettyName>Description</prettyName>
+<customDisplay></customDisplay>
+<rows>5</rows>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<name>description</name>
+<number>2</number>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</description>
+<name>
+<prettyName>Name</prettyName>
+<customDisplay></customDisplay>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<name>name</name>
+<number>1</number>
+<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
+</name>
+</class>
+<name>Blog.Categories</name>
+<number>1</number>
+<className>Blog.Categories</className>
+<property>
+<description>Personal information. These informations should only appear on the user's personal blog.</description>
+</property>
+<property>
+<name>Personal</name>
+</property>
+</object>
+<object>
+<class>
+<name>Blog.Categories</name>
+<customClass></customClass>
+<customMapping></customMapping>
+<defaultViewSheet></defaultViewSheet>
+<defaultEditSheet></defaultEditSheet>
+<defaultWeb></defaultWeb>
+<nameField></nameField>
+<description>
+<prettyName>Description</prettyName>
+<customDisplay></customDisplay>
+<rows>5</rows>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<name>description</name>
+<number>2</number>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</description>
+<name>
+<prettyName>Name</prettyName>
+<customDisplay></customDisplay>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<name>name</name>
+<number>1</number>
+<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
+</name>
+</class>
+<name>Blog.Categories</name>
+<number>2</number>
+<className>Blog.Categories</className>
+<property>
+<description>Anything else that does not fit in the previous categories. [Click here to edit categories&gt;Blog.Categories]</description>
+</property>
+<property>
+<name>Other</name>
+</property>
+</object>
+<object>
+<class>
+<name>Blog.Categories</name>
+<customClass></customClass>
+<customMapping></customMapping>
+<defaultViewSheet></defaultViewSheet>
+<defaultEditSheet></defaultEditSheet>
+<defaultWeb></defaultWeb>
+<nameField></nameField>
+<description>
+<prettyName>Description</prettyName>
+<customDisplay></customDisplay>
+<rows>5</rows>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<name>description</name>
+<number>2</number>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</description>
+<name>
+<prettyName>Name</prettyName>
+<customDisplay></customDisplay>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<name>name</name>
+<number>1</number>
+<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
+</name>
+</class>
+<name>Blog.Categories</name>
+<number>3</number>
+<className>Blog.Categories</className>
+<property>
+<description></description>
+</property>
+<property>
+<name></name>
+</property>
+</object>
+<object>
+<class>
+<name>Blog.Categories</name>
+<customClass></customClass>
+<customMapping></customMapping>
+<defaultViewSheet></defaultViewSheet>
+<defaultEditSheet></defaultEditSheet>
+<defaultWeb></defaultWeb>
+<nameField></nameField>
+<description>
+<prettyName>Description</prettyName>
+<customDisplay></customDisplay>
+<rows>5</rows>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<name>description</name>
+<number>2</number>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</description>
+<name>
+<prettyName>Name</prettyName>
+<customDisplay></customDisplay>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<name>name</name>
+<number>1</number>
+<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
+</name>
+</class>
+<name>Blog.Categories</name>
+<number>4</number>
+<className>Blog.Categories</className>
+</object>
+<content>1 Categories
+
+{form:${doc.fullName}}
+
+#set($redirect = $xwiki.getRequestURL())
+&lt;a href="$doc.getURL("inline")"&gt;Edit categories&lt;/a&gt; or &lt;a href="$doc.getURL("objectadd","classname=${doc.fullName}&amp;xredirect=$redirect")"&gt;Add a category&lt;/a&gt;.
+</content></xwikidoc>
\ No newline at end of file

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/Category
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/Category	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/Category	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Blog</web>
+<name>Category</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent>Blog.Menu</parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712021000</creationDate>
+<date>1107712021000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<content>#set($category = $request.category)
+#set($nbitems = "10")
+#set($nbstart = $request.nbstart)
+
+1 Entries for category $category
+
+#includeMacros("Blog.Macros")
+</content></xwikidoc>
\ No newline at end of file

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/Macros
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/Macros	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/Macros	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Blog</web>
+<name>Macros</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent></parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712020000</creationDate>
+<date>1107732755000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.5</version>
+<title></title>
+<template></template>
+<content>#macro(blog $category $nbitems $nbstart)
+#if($category=='')
+#set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ArticleClass' and obj.name&lt;&gt;'XWiki.ArticleClassTemplate' order by doc.creationDate desc")
+#else
+#set ($sql = ", BaseObject as obj, DBStringListProperty as prop join prop.list list where obj.name=doc.fullName and obj.className='XWiki.ArticleClass' and obj.name&lt;&gt;'XWiki.ArticleClassTemplate' and obj.id=prop.id.id and prop.id.name='category'  and list='${category}' order by doc.creationDate desc")
+#end
+#set($cdate = "")
+#set($inbitems = $xwiki.parseInt($nbitems))
+#set($inbstart = $xwiki.parseInt($nbstart))
+#set($counter = 0)
+#foreach ($item in $xwiki.searchDocuments($sql, $inbitems, $inbstart))
+#set($counter = $counter+1)
+#set($bentrydoc = $xwiki.getDocument($item))
+#set($bentryobj = $bentrydoc.getObject("XWiki.ArticleClass"))
+#set($creationDate = $xwiki.formatDate($bentrydoc.creationDate,"MMMM dd, yyyy"))
+#if($cdate!=$creationDate)
+&lt;div class="article_date"&gt;
+$creationDate
+&lt;/div&gt;
+#set ($cdate = $creationDate)
+#end
+
+1.1.1 $bentrydoc.display("title","view", $bentryobj)
+&lt;div class="article_content" &gt;
+#set($content = $bentrydoc.display("extract", "view", $bentryobj))
+#if($content=="")
+#set($content = $bentrydoc.display("content", "view", $bentryobj))
+#if($content.length()&gt;400)
+#set($i = $content.lastIndexOf(" ",400))
+#set($i = $i + 1)
+#set($content = "${content.substring(0,$i)} ... [continue reading&gt;${bentrydoc.fullName}]")
+#end
+#else
+#set($content = "${content} ... [continue reading&gt;${bentrydoc.fullName}]")
+#end
+$bentrydoc.getRenderedContent($content)
+&lt;/div&gt;
+&lt;div class="article_footer" &gt;
+Posted by $xwiki.getLocalUserName($bentrydoc.creator) at $xwiki.formatDate($bentrydoc.creationDate, "MMM dd, yyyy HH:mm") in $!bentrydoc.display("category","view", $bentryobj) | Modified by $xwiki.getLocalUserName($bentrydoc.author) at $xwiki.formatDate($bentrydoc.date, "MMM dd, yyyy HH:mm") | [$bentrydoc.comments.size() Comment(s)&gt;${bentrydoc.fullName}?xpage=comments] | [Permalink&gt;$bentrydoc.fullName]
+&lt;/div&gt;
+
+#if($counter==$inbitems)
+&lt;div style="float: right; margin-right: 30px"&gt;
+#if ($inbstart!=0)
+#set($iprev = $inbstart - $inbitems)
+[Previous&gt;$doc.name?nbstart=${iprev}]
+#end
+#set($inext = $inbstart + $inbitems)
+[Next&gt;$doc.name?nbstart=${inext}]
+&lt;/div&gt;
+#end
+#end
+#end
+#blog($category $nbitems $nbstart)</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/TestArticle
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/TestArticle	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/TestArticle	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Blog</web>
+<name>TestArticle</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent>Blog.WebHome</parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712020000</creationDate>
+<date>1107712020000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<object>
+<class>
+<name>XWiki.XWikiComments</name>
+<customClass></customClass>
+<customMapping></customMapping>
+<defaultViewSheet></defaultViewSheet>
+<defaultEditSheet></defaultEditSheet>
+<defaultWeb></defaultWeb>
+<nameField></nameField>
+<author>
+<name>author</name>
+<prettyName>Author</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>30</size>
+<number>1</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
+</author>
+<highlight>
+<name>highlight</name>
+<prettyName>Highlighted Text</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<rows>2</rows>
+<number>2</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</highlight>
+<date>
+<name>date</name>
+<prettyName>Date</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>20</size>
+<dateFormat>dd/MM/yyyy HH:mm:ss</dateFormat>
+<emptyIsToday>1</emptyIsToday>
+<number>3</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.DateClass</classType>
+</date>
+<comment>
+<name>comment</name>
+<prettyName>Comment</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>40</size>
+<rows>5</rows>
+<number>4</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</comment>
+<replyto>
+<name>replyto</name>
+<prettyName>Reply To</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>5</size>
+<numberType>integer</numberType>
+<number>5</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.NumberClass</classType>
+</replyto>
+</class>
+<name>Blog.TestArticle</name>
+<number>0</number>
+<className>XWiki.XWikiComments</className>
+<property>
+<comment>This is an interesting article.</comment>
+</property>
+<property>
+<date>2005-02-02 22:57:29.0</date>
+</property>
+<property>
+<author>xwiki:XWiki.LudovicDubost</author>
+</property>
+</object>
+<object>
+<class>
+<name>XWiki.ArticleClass</name>
+<customClass></customClass>
+<customMapping></customMapping>
+<defaultViewSheet></defaultViewSheet>
+<defaultEditSheet></defaultEditSheet>
+<defaultWeb></defaultWeb>
+<nameField></nameField>
+<title>
+<name>title</name>
+<prettyName>Title</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>80</size>
+<number>1</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
+</title>
+<category>
+<name>category</name>
+<prettyName>Category</prettyName>
+<unmodifiable>0</unmodifiable>
+<relationalStorage>1</relationalStorage>
+<displayType>select</displayType>
+<multiSelect>1</multiSelect>
+<size>5</size>
+<number>2</number>
+<customDisplay></customDisplay>
+<sql>select prop.value from BaseObject as obj, StringProperty as prop where obj.className='Blog.Categories' and prop.id.id = obj.id and prop.id.name='name'</sql>
+<classType>com.xpn.xwiki.objects.classes.DBListClass</classType>
+</category>
+<content>
+<name>content</name>
+<prettyName>Content</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>80</size>
+<rows>15</rows>
+<number>3</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</content>
+<extract>
+<name>extract</name>
+<prettyName>Extract</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>80</size>
+<rows>5</rows>
+<number>4</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</extract>
+</class>
+<name>Blog.TestArticle</name>
+<number>0</number>
+<className>XWiki.ArticleClass</className>
+<property>
+<extract></extract>
+</property>
+<property>
+<title>Another Article</title>
+</property>
+<property>
+<category2>Autre</category2>
+</property>
+<property>
+<category>
+<value>Other</value>
+<value>News</value>
+</category>
+</property>
+<property>
+<content>This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. 
+
+This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. This is another article. 
+</content></property></object><content>#includeForm("XWiki.ArticleClassSheet")</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/WebHome
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/WebHome	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Blog/WebHome	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Blog</web>
+<name>WebHome</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent>Main.WebHome</parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712020000</creationDate>
+<date>1107712020000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<content>1 Latest Articles
+
+
+#set($nbstart = $request.nbstart)
+#set($category = "")
+#set($nbitems = "10")
+#includeMacros("Blog.Macros")
+</content></xwikidoc>
\ No newline at end of file

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Doc/WebHome
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Doc/WebHome	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Doc/WebHome	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Doc</web>
+<name>WebHome</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>1</translation>
+<parent></parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor>XWiki.Admin</contentAuthor>
+<creationDate>1107712020000</creationDate>
+<date>1154687703000</date>
+<contentUpdateDate>1154687703000</contentUpdateDate>
+<version>1.13</version>
+<title></title>
+<template></template>
+<content>1 Documentation
+
+* You can keep up to date with the latest news on XWiki on the [XWiki Blog&gt;http://www.xwiki.com/xwiki/bin/view/Blog/WebHome].
+* You will find the current administration functions [here.&gt;XWiki.WebHome]
+* You can subscribe to the [user's mailing list list&gt;http://forge.objectweb.org/mail/?group_id=170]
+
+1.1 Online documentation
+
+* [FAQ&gt;http://www.xwiki.com/xwiki/bin/view/FAQ/WebHome]
+* [Administration Guide&gt;http://www.xwiki.org/xwiki/bin/view/AdminGuide/]
+* [Developer's Guide&gt;http://www.xwiki.org/xwiki/bin/view/DevGuide/]
+
+1.1 Support
+
+Don&amp;rsquo;t hesitate to contact the [technical support&gt;http://www.xwiki.com/xwiki/bin/view/Support/WebHome] to tell us about any problems or even with your comments about XWiki. You might find some things that you thing are wrong or that you don't understand. We *NEED* to know about it, otherwise we can't make the service better. Please do contact us ! However do make sure you have looked at the documentation before that.
+
+1.1 Where to start
+
+You can start by modifying this page by clicking on the &amp;quot;Edit&amp;quot; button in the action bar on the right (for this you need to be logged-in). Before editing a page, check out the documentation about the [XWiki syntax&gt;http://www.xwiki.com/xwiki/bin/view/Doc/XWikiSyntax]
+
+1.1 Searching
+
+If you search for documents in your wiki, use the [search page&gt;Main.WebSearch].</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Doc/XWikiSyntax
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Doc/XWikiSyntax	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Doc/XWikiSyntax	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,391 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Doc</web>
+<name>XWikiSyntax</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent>Doc.WebHome</parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712020000</creationDate>
+<date>1107712020000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<content>1 XWiki Syntax
+
+XWiki allows you to create internet pages without using HTML thanks to the Wiki Syntax. This Wiki Syntax is a simple way to modify the aspect of a document as well as create links between documents.
+
+
+This document briefly explains the wiki syntax. 
+
+{pre}
+&lt;table class="wiki-table" border="1" cellspacing="0" cellpadding="2" width="80%"&gt;
+&lt;tr&gt;&lt;th width="25%"&gt;Description:&lt;/th&gt;
+&lt;th width="10%"&gt;Example:&lt;/th&gt;
+&lt;th width="10%"&gt;Result:&lt;/th&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+
+&lt;td&gt;
+&lt;b class="bold"&gt;Titles&lt;/b&gt;&lt;br/&gt;&lt;p class="paragraph"/&gt;&lt;/td&gt;
+&lt;td&gt;
+&lt;pre&gt;
+
+1 Title 1
+
+1.1 Title 2
+
+&lt;/pre&gt;
+&lt;/td&gt;
+&lt;td&gt;
+&lt;h3 class="heading-1"&gt;Title 1&lt;/h3&gt;
+&lt;h3 class="heading-1-1"&gt;Title 2&lt;/h3&gt;
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+
+&lt;td&gt;
+&lt;b class="bold"&gt;Paragraphs&lt;/b&gt;&lt;br/&gt;&lt;p class="paragraph"/&gt;&lt;/td&gt;
+&lt;td&gt;
+&lt;pre&gt;
+
+Here is a paragraph.
+This text continues the same paragraph.
+
+This paragraph is a new one.
+
+This paragraph is another new one.
+
+&lt;/pre&gt;
+&lt;/td&gt;
+&lt;td&gt;
+Here is a paragraph.
+This text continues the same paragraph.&lt;p class="paragraph"/&gt;This paragraph is a new one.&lt;p class="paragraph"/&gt;This paragraph is another new one.
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;
+
+&lt;b class="bold"&gt;Lists&lt;/b&gt;&lt;br/&gt;&lt;p class="paragraph"/&gt;&lt;/td&gt;
+&lt;td&gt;
+&lt;pre&gt;
+
+* List item
+* List item
+
+* Recursive list level 1
+** Recursive list level 2
+*** Recursive list level 3
+*** Recursive list level 3
+** Recursive list level 2
+** Recursive list level 2
+* Recursive list level 1
+
+   
+1. Enumerated list
+1. Enumerated list
+
+a. Alphabetical enumerated list
+a. Alphabetical enumerated list
+
+A. Uppercase alphabetical enumerated list
+A. Uppercase alphabetical enumerated list
+
+i. Roman enumerated list
+i. Roman enumerated list
+
+I. Uppercase roman enumerated list
+I. Uppercase roman enumerated list
+
+g. Greek enumerated list
+g. Greek enumerated list
+
+h. Hirigana (jap.) enumerated list
+h. Hirigana (jap.) enumerated list
+
+k. Katakana (jap.) enumerated list
+k. Katakana (jap.) enumerated list
+&lt;/pre&gt;
+&lt;/td&gt;
+&lt;td&gt;
+&lt;ul class="star"&gt;
+&lt;li&gt;List item&lt;/li&gt;
+&lt;li&gt;List item&lt;/li&gt;
+&lt;li&gt;Recursive list level 1&lt;/li&gt;
+&lt;ul class="star"&gt;
+
+&lt;li&gt;Recursive list level 2&lt;/li&gt;
+&lt;ul class="star"&gt;
+&lt;li&gt;Recursive list level 3&lt;/li&gt;
+&lt;li&gt;Recursive list level 3&lt;/li&gt;
+&lt;/ul&gt;
+&lt;li&gt;Recursive list level 2&lt;/li&gt;
+&lt;li&gt;Recursive list level 2&lt;/li&gt;
+&lt;/ul&gt;
+&lt;li&gt;Recursive list level 1&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ol&gt;
+
+&lt;li&gt;Enumerated list&lt;/li&gt;
+&lt;li&gt;Enumerated list&lt;/li&gt;
+&lt;/ol&gt;
+&lt;ol class="alpha"&gt;
+&lt;li&gt;Alphabetical enumerated list&lt;/li&gt;
+&lt;li&gt;Alphabetical enumerated list&lt;/li&gt;
+&lt;/ol&gt;
+&lt;ol class="ALPHA"&gt;
+&lt;li&gt;Uppercase alphabetical enumerated list&lt;/li&gt;
+&lt;li&gt;Uppercase alphabetical enumerated list&lt;/li&gt;
+&lt;/ol&gt;
+
+&lt;ol class="roman"&gt;
+&lt;li&gt;Roman enumerated list&lt;/li&gt;
+&lt;li&gt;Roman enumerated list&lt;/li&gt;
+&lt;/ol&gt;
+&lt;ol class="ROMAN"&gt;
+&lt;li&gt;Uppercase roman enumerated list&lt;/li&gt;
+&lt;li&gt;Uppercase roman enumerated list&lt;/li&gt;
+&lt;/ol&gt;
+&lt;ol class="greek"&gt;
+&lt;li&gt;Greek enumerated list&lt;/li&gt;
+&lt;li&gt;Greek enumerated list&lt;/li&gt;
+
+&lt;/ol&gt;
+&lt;ol class="hiragana"&gt;
+&lt;li&gt;Hirigana (jap.) enumerated list&lt;/li&gt;
+&lt;li&gt;Hirigana (jap.) enumerated list&lt;/li&gt;
+&lt;/ol&gt;
+&lt;ol class="katakana"&gt;
+&lt;li&gt;Katakana (jap.) enumerated list&lt;/li&gt;
+&lt;li&gt;Katakana (jap.) enumerated list&lt;/li&gt;
+&lt;/ol&gt; 
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;
+
+&lt;b class="bold"&gt;Bold&lt;/b&gt;&lt;br/&gt;
+There are two ways to mark text as bold.
+&lt;/td&gt;
+&lt;td&gt;
+&lt;pre&gt;
+
+Here is some text with a *bold* word.
+Here is some text with a __bold__ word.
+
+&lt;/pre&gt;
+&lt;/td&gt;
+&lt;td&gt;
+Here is some text with a &lt;strong class="strong"&gt;bold&lt;/strong&gt; word.
+Here is some text with a &lt;b class="bold"&gt;bold&lt;/b&gt; word.
+
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;
+&lt;b class="bold"&gt;Italics&lt;/b&gt;&lt;br/&gt;&lt;p class="paragraph"/&gt;&lt;/td&gt;
+&lt;td&gt;
+&lt;pre&gt;
+
+~~Here is some text in italics~~
+
+&lt;/pre&gt;
+&lt;/td&gt;
+&lt;td&gt;
+&lt;i class="italic"&gt;Here is some text in italics&lt;/i&gt;
+&lt;/td&gt;
+&lt;/tr&gt;
+
+&lt;tr&gt;
+&lt;td&gt;
+&lt;b class="bold"&gt;Striked Text&lt;/b&gt;&lt;br/&gt;&lt;p class="paragraph"/&gt;&lt;/td&gt;
+&lt;td&gt;
+&lt;pre&gt;
+
+--Here is some striked text--
+
+&lt;/pre&gt;
+&lt;/td&gt;
+&lt;td&gt;
+&lt;strike class="strike"&gt;Here is some striked text&lt;/strike&gt;
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;
+
+&lt;b class="bold"&gt;Wiki Links&lt;/b&gt;&lt;br/&gt;&lt;p class="paragraph"/&gt;&lt;/td&gt;
+&lt;td&gt;
+&lt;pre&gt;
+
+Wiki Links:
+
+* [WebHome]
+* [Web Home]
+* [web home&gt;WebHome]
+* [Main.WebHome]
+* [web home|Main.WebHome]
+
+&lt;/pre&gt;
+&lt;/td&gt;
+&lt;td&gt;
+Wiki Links:
+&lt;ul class="star"&gt;
+&lt;li&gt;&lt;span class="wikilink"&gt;&lt;a href="/xwiki/bin/view/Doc/WebHome"&gt;WebHome&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
+&lt;li&gt;&lt;span class="wikilink"&gt;&lt;a href="/xwiki/bin/view/Doc/WebHome"&gt;Web Home&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
+&lt;li&gt;&lt;span class="wikilink"&gt;&lt;a href="/xwiki/bin/view/Doc/WebHome"&gt;web home&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
+
+&lt;li&gt;&lt;span class="wikilink"&gt;&lt;a href="/xwiki/bin/view/Main/WebHome"&gt;Main.WebHome&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
+&lt;li&gt;&lt;span class="wikilink"&gt;&lt;a href="/xwiki/bin/view/Main/WebHome"&gt;web home&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
+&lt;/ul&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;
+&lt;b class="bold"&gt;External Links&lt;/b&gt;&lt;br/&gt;&lt;p class="paragraph"/&gt;&lt;/td&gt;
+&lt;td&gt;
+&lt;pre&gt;
+
+* http://www.xwiki.org
+* [http://www.xwiki.org]
+* [lien xwiki.org&gt;http://www.xwiki.org]
+* {link:lien xwiki.org|http://www.xwiki.org}
+
+&lt;/pre&gt;
+&lt;/td&gt;
+&lt;td&gt;
+
+&lt;ul class="star"&gt;
+&lt;li&gt;&lt;span class="nobr"&gt;&lt;a href="http://www.xwiki.org"&gt;&amp;#104;ttp://www.xwiki.org&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
+&lt;li&gt;&lt;span class="wikiexternallink"&gt;&lt;a href="http://www.xwiki.org"&gt;&amp;#104;ttp://www.xwiki.org&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
+&lt;li&gt;&lt;span class="wikiexternallink"&gt;&lt;a href="http://www.xwiki.org"&gt;&amp;#108;ien xwiki.org&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
+&lt;li&gt;&lt;span class="nobr"&gt;&lt;a href="http://www.xwiki.org"&gt;lien xwiki.org&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
+&lt;/ul&gt;&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;
+&lt;b class="bold"&gt;Quotes&lt;/b&gt;&lt;br/&gt;&lt;p class="paragraph"/&gt;&lt;/td&gt;
+&lt;td&gt;
+&lt;pre&gt;
+
+{quote:http://www.xwiki.org}
+Here is some text with a quote
+{quote}
+
+{quote:http://www.xwiki.org}
+~~Here is some text with a quote~~
+{quote}
+
+&lt;/pre&gt;
+&lt;/td&gt;
+&lt;td&gt;
+&lt;blockquote class="quote"&gt;
+Here is some text with a quote
+&lt;a href="http://www.xwiki.org"&gt;Source&lt;/a&gt;&lt;/blockquote&gt;&lt;p class="paragraph"/&gt;&lt;blockquote class="quote"&gt;
+&lt;i class="italic"&gt;Here is some text with a quote&lt;/i&gt;
+&lt;a href="http://www.xwiki.org"&gt;Source&lt;/a&gt;&lt;/blockquote&gt;
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;
+
+&lt;b class="bold"&gt;Tables&lt;/b&gt;&lt;br/&gt;
+The syntax for tables allows to easily create content in table format. It even allows to make some calculation on the content !
+&lt;/td&gt;
+&lt;td&gt;
+&lt;pre&gt;
+
+{table}
+Title 1 | Title 2
+Word 1 | Word 2
+{table}
+
+{table}
+Category | Sales (K?)
+Category 1 | 100
+Category 2 | 50
+Category 3 | 50
+Total | =sum(B2:B4)
+{table}
+
+&lt;/pre&gt;
+&lt;/td&gt;
+&lt;td&gt;
+&lt;table class="wiki-table" cellpadding="0" cellspacing="0" border="0"&gt;&lt;tr&gt;&lt;th&gt;Title 1&lt;/th&gt;&lt;th&gt;Title 2&lt;/th&gt;&lt;/tr&gt;&lt;tr class="table-odd"&gt;&lt;td&gt;Word 1&lt;/td&gt;&lt;td&gt;Word 2&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;p class="paragraph"/&gt;&lt;table class="wiki-table" cellpadding="0" cellspacing="0" border="0"&gt;&lt;tr&gt;&lt;th&gt;Category&lt;/th&gt;&lt;th&gt;Sales (K?)&lt;/th&gt;&lt;/tr&gt;&lt;tr class="table-odd"&gt;&lt;td&gt;Category 1&lt;/td&gt;&lt;td&gt;100&lt;/td&gt;&lt;/tr&gt;&lt;tr class="table-even"&gt;&lt;td&gt;Category 2&lt;/td&gt;&lt;td&gt;50&lt;/td&gt;&lt;/tr&gt;&lt;tr class="table-odd"&gt;&lt;td&gt;Category 3&lt;/td&gt;&lt;td&gt;50&lt;/td&gt;&lt;/tr&gt;&lt;tr class="table-even"&gt;&lt;td&gt;Total&lt;/td&gt;&lt;td&gt;200&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
+
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;
+&lt;b class="bold"&gt;No wiki rendering but HTML rendering&lt;/b&gt;&lt;br/&gt;
+This allows to show wiki syntax in a wiki page.
+&lt;/td&gt;
+&lt;td&gt;
+&lt;pre&gt;
+{&amp;#112;re}
+No *bold rendering* in wiki syntax.
+{/&amp;#112;re}
+&lt;/pre&gt;
+&lt;/td&gt;
+&lt;td&gt;
+No *bold rendering* in wiki syntax.
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;
+&lt;b class="bold"&gt;No Wiki rendering and no HTML rendering&lt;/b&gt;&lt;br/&gt;
+This allows to show Wiki and HTML content in a Wiki page.
+&lt;/td&gt;
+&lt;td&gt;
+{code:xml}&lt;br /&gt;
+No &amp;lt;strong&amp;gt;bold rendering&amp;lt;/strong&amp;gt; in HTML.
+No *bold rendering in* wiki syntax.&lt;br /&gt;
+{code}
+&lt;/td&gt;
+&lt;td&gt;
+&lt;div class="code"&gt;&lt;pre&gt;No &lt;span class="xml&amp;#45;tag"&gt;&amp;#60;strong&amp;#62;&lt;/span&gt;bold rendering&lt;span class="xml&amp;#45;tag"&gt;&amp;#60;/strong&amp;#62;&lt;/span&gt; in HTML.
+No &amp;#42;bold rendering in&amp;#42; wiki syntax.&lt;/pre&gt;&lt;/div&gt;
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;
+&lt;b class="bold"&gt;Document Includes&lt;/b&gt;&lt;br/&gt;
+
+Using XWiki you can include documents inside other documents. This can be usefull to create complex documents using multiple document an then convert them in PDF. This also allows to create forms to present object data.
+&lt;/td&gt;
+&lt;td&gt;
+&lt;pre&gt;
+#\includeTopic("Doc.TestInclude")
+#\includeForm("Doc.TestInclude")
+&lt;/pre&gt;
+&lt;/td&gt;
+&lt;td&gt;
+Nom du document: TestInclude
+&lt;p class="paragraph"/&gt;Nom du document: XWikiSyntax&lt;p class="paragraph"/&gt;
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+&lt;td&gt;
+&lt;b class="bold"&gt;Images&lt;/b&gt;&lt;br/&gt;
+Allows to include images that are attached to the document.
+&lt;/td&gt;
+&lt;td&gt;
+&lt;pre&gt;
+{image:chat2.jpg|50}
+{image:chat2.jpg| |50}
+{image:chat2.jpg|50|50}
+&lt;/pre&gt;
+&lt;/td&gt;
+&lt;td&gt;
+&lt;img src="/xwiki/bin/download/Doc/XWikiSyntax/chat2.jpg" height="50" alt="chat2.jpg" /&gt;
+&lt;img src="/xwiki/bin/download/Doc/XWikiSyntax/chat2.jpg" height=" " width="50" alt="chat2.jpg" /&gt;
+&lt;img src="/xwiki/bin/download/Doc/XWikiSyntax/chat2.jpg" height="50" width="50" alt="chat2.jpg" /&gt;
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;/table&gt;&lt;p class="paragraph"/&gt;&lt;br /&gt;
+&lt;br /&gt;
+{/pre}</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/AllDocs
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/AllDocs	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/AllDocs	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>AllDocs</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent>Main.WebHome</parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712019000</creationDate>
+<date>1107712019000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<content>1 All Documents of this Wiki
+
+#set ($sql = "")
+#foreach ($item in $xwiki.searchDocuments($sql))
+#set($bentrydoc = $xwiki.getDocument($item))
+   * [${bentrydoc.web}.$bentrydoc.name] by [$bentrydoc.author] on 
+#end</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/BlogRss
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/BlogRss	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/BlogRss	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>BlogRss</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent></parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712021000</creationDate>
+<date>1107712021000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<content>$response.setContentType("text/xml")
+#set ($baseurl =  "http://${request.serverName}")
+#set($title = "Flux RSS du Blog du Wiki")
+#set($description = "Flux RSS du Blog du Wiki")
+#includeForm("XWiki.BlogRssCode")</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/EventCalendar
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/EventCalendar	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/EventCalendar	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>EventCalendar</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent>XWiki.Menu</parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712021000</creationDate>
+<date>1107712021000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<content>1 Event Calendar
+
+#if($request.month)
+#if($request.month.startsWith("+")==true)
+#set($cmonth = $xwiki.parseInt($request.month.substring(1)))
+#else
+#set($cmonth = $xwiki.parseInt($request.month))
+#end
+#else
+#set($cmonth = 0)
+#end
+#set($pmonth = (-1+$cmonth))
+#set($nmonth = ($cmonth+1))
+#if($pmonth&gt;0)
+#set($spmonth = "%2b${pmonth}")
+#else
+#set($spmonth = "${pmonth}")
+#end
+#if($nmonth&gt;0)
+#set($snmonth = "%2b${nmonth}")
+#else
+#set($snmonth = "${nmonth}")
+#end
+
+[Previous Month&gt;$doc.name?month=${spmonth}] [Next Month&gt;$doc.name?month=${snmonth}]
+
+#set($cview = $xwiki.calendar)
+#set($cparams = $cview.calendarParams)
+$cparams.put("month",$request.get("month"))
+$cview.getHTMLCalendar($cparams, "")
+
+1.1 Event List
+
+#foreach($event in $doc.getObjects("XWiki.CalendarEvent"))
+* $xwiki.getLocalUserName($event.user) $event.startDate $event.endDate $event.description
+#end
+
+* Use &lt;a href="$doc.getURL("edit","xpage=editobject")"&gt;edit object&lt;/a&gt; to modify or remove existing events.
+
+1.1 New Event
+
+#set($cclass = $xwiki.getDocument("XWiki.CalendarEvent").getxWikiClass())
+#set($event = $cclass.newObject())
+&lt;form action="$doc.getURL('objectadd')" method="get"&gt;
+&lt;p&gt;
+&lt;input type="hidden" name="classname" value="XWiki.CalendarEvent" /&gt;
+&lt;input type="hidden" name="xredirect" value="${doc.getURL('view')}" /&gt;
+&lt;table&gt;
+&lt;tr&gt;
+#set($pclass = $cclass.get("user"))
+&lt;td&gt;Location:&lt;/td&gt;&lt;td&gt;$doc.displayEdit($pclass,"XWiki.CalendarEvent_",$event)&lt;td&gt;
+&lt;/tr&gt;
+&lt;tr&gt;
+#set($pclass = $cclass.get("startDate"))
+&lt;td&gt;Start date inclusive (dd/mm/yyyy):&lt;/td&gt;&lt;td&gt;
+$doc.displayEdit($pclass,"XWiki.CalendarEvent_",$event)
+&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;
+#set($pclass = $cclass.get("endDate"))
+&lt;td&gt;End date inclusive (dd/mm/yyyy):&lt;/td&gt;&lt;td&gt;
+$doc.displayEdit($pclass,"XWiki.CalendarEvent_",$event)
+&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;
+#set($pclass = $cclass.get("description"))
+&lt;td&gt;Description:&lt;/td&gt;&lt;td&gt;
+$doc.displayEdit($pclass,"XWiki.CalendarEvent_",$event)
+&lt;/td&gt;&lt;/tr&gt;
+&lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;
+&lt;input type="submit" value="Add this event" /&gt;
+&lt;/tr&gt;
+&lt;/table&gt;
+&lt;/form&gt;</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/ExampleLink1
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/ExampleLink1	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/ExampleLink1	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>ExampleLink1</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent>Main.KnowledgeBase</parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712021000</creationDate>
+<date>1107712021000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<content>1 Example Link 1
+
+This is an example page.</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/FilsRss
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/FilsRss	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/FilsRss	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>FilsRss</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent>Main.WebHome</parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712020000</creationDate>
+<date>1107712020000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<object>
+<class>
+<name>XWiki.ArticleClass</name>
+<customClass></customClass>
+<customMapping></customMapping>
+<defaultViewSheet></defaultViewSheet>
+<defaultEditSheet></defaultEditSheet>
+<defaultWeb></defaultWeb>
+<nameField></nameField>
+<title>
+<name>title</name>
+<prettyName>Title</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>80</size>
+<number>1</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
+</title>
+<category>
+<name>category</name>
+<prettyName>Category</prettyName>
+<unmodifiable>0</unmodifiable>
+<relationalStorage>1</relationalStorage>
+<displayType>select</displayType>
+<multiSelect>1</multiSelect>
+<size>5</size>
+<number>2</number>
+<customDisplay></customDisplay>
+<sql>select prop.value from BaseObject as obj, StringProperty as prop where obj.className='Blog.Categories' and prop.id.id = obj.id and prop.id.name='name'</sql>
+<classType>com.xpn.xwiki.objects.classes.DBListClass</classType>
+</category>
+<content>
+<name>content</name>
+<prettyName>Content</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>80</size>
+<rows>15</rows>
+<number>3</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</content>
+<extract>
+<name>extract</name>
+<prettyName>Extract</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>80</size>
+<rows>5</rows>
+<number>4</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</extract>
+</class>
+<name>Main.FilsRss</name>
+<number>0</number>
+<className>XWiki.ArticleClass</className>
+<property>
+<extract></extract>
+</property>
+<property>
+<title>RSS Feed</title>
+</property>
+<property>
+<category2>Wiki/Blog Nature</category2>
+</property>
+<property>
+<category>
+<value>News</value>
+</category>
+</property>
+<property>
+<content>This wiki as two RSS feed which allow to keep up to date with modifications:
+
+* [Feed for all pages of the Wiki&gt;Main.WebRss?xpage=rdf] 
+* [Feed for all news articles of the Blog&gt;Main.BlogRss?xpage=rdf].
+
+</content></property></object><content>#includeForm("XWiki.ArticleClassSheet")</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/KnowledgeBase
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/KnowledgeBase	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/KnowledgeBase	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>KnowledgeBase</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent>XWiki.Menu</parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712021000</creationDate>
+<date>1107712021000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<content>1 Wiki Knowledge Base
+
+This is the Wiki Knowledge Base, where you can start writing about your favorite subjects.
+
+To create new pages, use brackets around the words you want to create links for:
+
+* [Example Link 1]
+* [Example Link 2]</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/LaunchOfXWiki
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/LaunchOfXWiki	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/LaunchOfXWiki	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>LaunchOfXWiki</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent>Main.WebHome</parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712021000</creationDate>
+<date>1107712021000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<object>
+<class>
+<name>XWiki.ArticleClass</name>
+<customClass></customClass>
+<customMapping></customMapping>
+<defaultViewSheet></defaultViewSheet>
+<defaultEditSheet></defaultEditSheet>
+<defaultWeb></defaultWeb>
+<nameField></nameField>
+<title>
+<name>title</name>
+<prettyName>Title</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>80</size>
+<number>1</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
+</title>
+<category>
+<name>category</name>
+<prettyName>Category</prettyName>
+<unmodifiable>0</unmodifiable>
+<relationalStorage>1</relationalStorage>
+<displayType>select</displayType>
+<multiSelect>1</multiSelect>
+<size>5</size>
+<number>2</number>
+<customDisplay></customDisplay>
+<sql>select prop.value from BaseObject as obj, StringProperty as prop where obj.className='Blog.Categories' and prop.id.id = obj.id and prop.id.name='name'</sql>
+<classType>com.xpn.xwiki.objects.classes.DBListClass</classType>
+</category>
+<content>
+<name>content</name>
+<prettyName>Content</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>80</size>
+<rows>15</rows>
+<number>3</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</content>
+<extract>
+<name>extract</name>
+<prettyName>Extract</prettyName>
+<unmodifiable>0</unmodifiable>
+<size>80</size>
+<rows>5</rows>
+<number>4</number>
+<customDisplay></customDisplay>
+<classType>com.xpn.xwiki.objects.classes.TextAreaClass</classType>
+</extract>
+</class>
+<name>Main.LaunchOfXWiki</name>
+<number>0</number>
+<className>XWiki.ArticleClass</className>
+<property>
+<extract>This is the first news of this XWiki installation. If you want to know what is going on in the XWiki world, don't forget to read the [XWiki Blog&gt;http://www.xwiki.com/xwiki/bin/view/Blog/WebHome].
+</extract></property><property><title>Launch of XWiki</title>
+</property>
+<property>
+<category>
+<value>News</value>
+</category>
+</property>
+<property>
+<content>&lt;table border="0"&gt;&lt;tr&gt;
+&lt;td valign="top"&gt;
+&lt;br /&gt;
+This is the first news of this XWiki installation. If you want to know what is going on in the XWiki world, don't forget to read the [XWiki Blog&gt;http://www.xwiki.com/xwiki/bin/view/Blog/WebHome].
+
+XWiki is a powerful Wiki allowing you to share information in your group. You can create wiki pages, publish blog articles, comment both wiki and blog pages, create an event calendar, a photo album or a presentation.
+
+Now your XWiki is going to be what you make of it. It is fully customizable as all pages are made editable through your Internet Browser.
+&lt;/td&gt;
+&lt;td width="50%"&gt;
+{rss:feed=http://www.xwiki.com/xwiki/bin/view/Blog/BlogRss?xpage=rdf|count=5}
+&lt;/td&gt;
+&lt;/tr&gt;
+&lt;/table&gt;</content>
+</property>
+</object>
+<content>#includeForm("XWiki.ArticleClassSheet")</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/Presentations
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/Presentations	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/Presentations	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>Presentations</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent>XWiki.Menu</parent>
+<creator>XWiki.Admin</creator>
+<author>xwiki:XWiki.WikiWiki</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712021000</creationDate>
+<date>1109538215000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.3</version>
+<title></title>
+<template></template>
+<content>1 Presentation
+
+1.1 Create a new presentation
+
+To create a new presentation, you should first choose a name for your presentation.
+
+#includeTopic("XWiki.XWikiCommonJavascript")
+&lt;form action="" id="newdoc"&gt;
+&lt;input type="hidden" name="parent" value="Main.Presentations"&gt;
+&lt;input type="hidden" name="template" value="XWiki.PresentationClassTemplate"&gt;
+&lt;input type="hidden" name="sheet" value="1"&gt;
+&lt;input type="hidden" name="webname" value="Demo" size="8"&gt;
+Document: &lt;input type="text" name="name" value="Name of your presentation" size="80" /&gt;
+&lt;br /&gt;
+&lt;br /&gt;
+&lt;input type="button" value="Create this presentation" onclick='if (updateName(this.form.name)) {this.form.action="../../inline/" + this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }'&gt;
+&lt;/form&gt;
+
+1.1 Existing Presentations
+
+#set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.PresentationClass' and obj.name&lt;&gt;'XWiki.PresentationClassTemplate'")
+#foreach ($item in $xwiki.searchDocuments($sql))
+#set($itemdoc = $xwiki.getDocument($item))
+   * $itemdoc.name: &lt;a href="$itemdoc.getURL("view")"&gt;Preview&lt;/a&gt; &lt;a href="$itemdoc.getURL("inline")"&gt;Edit&lt;/a&gt; &lt;a href="$itemdoc.getURL("view", "xpage=s5b")"&gt;Launch&lt;/a&gt; 
+#end
+
+1.1 About this tool
+
+This tool integrates S5 with XWiki. It allows to build a presentation using [S5&gt;http://www.meyerweb.com/eric/tools/s5/] from [Eric Meyer&gt;http://www.meyerweb.com/eric/]. 
+
+It uses XWiki forms to permit creation of a S5 presentation without any use of HTML. It will generate the HTML that is going to be understood by the S5 stylesheet and javascript.
+
+We used a slightly modified version of the S5 model done by [Human Factor&gt;http://www.wats.ca/presentations/humanfactor/]. Our S5 stylesheets and javascript are available [here&gt;http://www.xwiki.com/xwiki/s5/ui2/]
+</content></xwikidoc>
\ No newline at end of file

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/RecentMembers
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/RecentMembers	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/RecentMembers	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>RecentMembers</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent></parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712021000</creationDate>
+<date>1107712021000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<content>#set ($sql = ", BaseObject as obj where obj.name=${xwiki.getFullNameSQL()} and obj.className='XWiki.XWikiUsers' order by doc.creationDate desc")
+&lt;table width="90%" border="0"&gt;
+&lt;tr&gt;
+#foreach ($member in $xwiki.searchDocuments($sql,5,0))
+&lt;td align="center"&gt;
+#set($memberdoc = $xwiki.getDocument($member))
+#if($memberdoc.isNew())
+&lt;br /&gt;&lt;br /&gt;
+[$member]
+#else
+#set($cobj = $memberdoc.getObject("XWiki.XWikiUsers",0))
+#set($fname = $memberdoc.display("first_name","view",$cobj))
+#set($lname = $memberdoc.display("last_name","view",$cobj))
+#set($company = $memberdoc.display("company","view",$cobj))
+#set($country = $memberdoc.display("country","view",$cobj))
+#set($division = $memberdoc.display("division","view",$cobj))
+#if($memberdoc.attachmentList.size()&gt;0)
+#set($last = $memberdoc.attachmentList.size())
+#set($last = $last - 1)
+#set($attach = $memberdoc.attachmentList.get($last))
+#set($attachurl = $memberdoc.getAttachmentURL($attach.filename,"download"))
+#set($attachimg = "&lt;img src='$attachurl'  height='50' /&gt;")
+#else
+#set($attachurl = $memberdoc.getURL("attach"))
+#set($attachimg = "&lt;br /&gt;&lt;a href='$attachurl'&gt;Add a photo&lt;/a&gt;&lt;br /&gt;")
+#end
+$!attachimg &lt;br/&gt; [$!fname $!lname&gt;$member] $!division
+#end
+&lt;/td&gt;
+#end
+&lt;/tr&gt;
+&lt;/table&gt;
+</content></xwikidoc>
\ No newline at end of file

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/Sites
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/Sites	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/Sites	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>Sites</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent>Main.WebHome</parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712020000</creationDate>
+<date>1107712020000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<content>1 Sites Parlant d'écologie
+
+Evidement il existe deja des listes très complètes sur Internet.. Peut-être faudrait-il les passer en mode Wiki.. Quand nous serons suffisement nombreux on pourra leur demander de passer la liste ici:
+
+Liste très complète de sites: http://www.amisdelaterre.org/ecotoile/
+
+1.1 Voici une petites listes trouvée sur google:
+
+* Greenpeace France: http://www.greenpeace.org/france_fr/
+* Planète Nature/Fondation Nicolas Hulot: http://www.fnh.org/
+* Ministère de l'Environnement et du développement durable: http://www.ecologie.gouv.fr/
+* Planète Ecologie: http://www.planetecologie.org/
+* Les Amis de La Terre: http://www.amisdelaterre.org/</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/Test
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/Test	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/Test	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>Test</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent></parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor>XWiki.Admin</contentAuthor>
+<creationDate>1158319831000</creationDate>
+<date>1158320033000</date>
+<contentUpdateDate>1158320033000</contentUpdateDate>
+<version>1.3</version>
+<title></title>
+<template></template>
+<content>1 Test
+
+
+$xwiki.mdfw.active()</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WebHome
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WebHome	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WebHome	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>WebHome</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent></parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712018000</creationDate>
+<date>1107721256000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.3</version>
+<title></title>
+<template></template>
+<content>1 Welcome to your Wiki
+
+This is your wiki. You should modify this text to present what your wiki is about !
+
+1.1 News
+
+#set($nbstart = $request.nbstart)
+#set($category = "")
+#set($nbitems = "10")
+#includeMacros("Blog.Macros")
+</content></xwikidoc>
\ No newline at end of file

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WebRss
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WebRss	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WebRss	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>WebRss</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent>Main.WebHome</parent>
+<creator>XWiki.Admin</creator>
+<author>XWiki.Admin</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712019000</creationDate>
+<date>1107712019000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.2</version>
+<title></title>
+<template></template>
+<content>$response.setContentType("text/xml")
+#set ($sql = "where 1=1 order by doc.date desc")
+#set ($list = $xwiki.searchDocuments($sql , 20 , 0))
+#set ($baseurl =  "http://${request.serverName}")
+#includeForm("XWiki.WebRssCode")</content>
+</xwikidoc>

Added: xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WebSearch
===================================================================
--- xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WebSearch	2006-09-15 10:56:48 UTC (rev 1319)
+++ xwiki-apps/gelc/gelcv1/trunk/gelc/src/main/xwiki/Main/WebSearch	2006-09-15 11:46:52 UTC (rev 1320)
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<xwikidoc>
+<web>Main</web>
+<name>WebSearch</name>
+<language></language>
+<defaultLanguage>en</defaultLanguage>
+<translation>0</translation>
+<parent></parent>
+<creator>XWiki.Admin</creator>
+<author>xwiki:XWiki.WikiWiki</author>
+<contentAuthor></contentAuthor>
+<creationDate>1107712020000</creationDate>
+<date>1109538145000</date>
+<contentUpdateDate>1158320204000</contentUpdateDate>
+<version>1.4</version>
+<title></title>
+<template></template>
+<content>1 Search on this Wiki
+
+#set($formatDate = "MMMM dd, yyyy HH:mm")
+#if ($request.getParameter("text"))
+#set ($text = $request.getParameter("text") )
+#else
+#set($text = "")
+#end
+
+&lt;center&gt;
+&lt;form action="WebSearch"&gt;
+&lt;input type="text" name="text" value="$!text"&gt;&amp;nbsp;&lt;input type="submit" name="search" value="Search"&gt;
+&lt;/form&gt;
+&lt;/center&gt;
+
+#if($text!="")
+#set ($sql = "where doc.web like '%$text%' or doc.name like '%$text%' or doc.content like '%$text%' order by doc.date desc")
+#set ($start = 0)
+#set ($nb = 50)
+&lt;!-- 
+Sql: $sql
+Sql: $start
+Sql: $nb
+--&gt;
+
+1.1 Search in documents
+
+#foreach ($item in $xwiki.searchDocuments($sql , $nb , $start))
+#if ($xwiki.hasAccessLevel("view", $context.user, "${context.database}:${item}"))
+#set($bentrydoc = $xwiki.getDocument($item))
+   * [$bentrydoc.name&gt;${bentrydoc.web}.$bentrydoc.name] by $xwiki.getLocalUserName($bentrydoc.author) on $xwiki.formatDate($bentrydoc.date, $formatDate)
+#end
+#end
+
+----
+
+1.1 Search in text fields
+
+#set($sql= ", BaseObject as obj, StringProperty as prop where obj.name=doc.fullName and prop.id.id = obj.id and prop.value like '%$text%'")
+#foreach ( $item in $xwiki.searchDocuments($sql , $nb , $start))
+#if ($xwiki.hasAccessLevel("view", $context.user, "${context.database}:${item}"))
+#set($bentrydoc = $xwiki.getDocument($item))
+   * [$bentrydoc.name&gt;${bentrydoc.web}.$bentrydoc.name] by $xwiki.getLocalUserName($bentrydoc.author) on $xwiki.formatDate($bentrydoc.date, $formatDate)
+#end
+#end
+
+----
+
+1.1 Search in big text fields
+
+#set($sql= ", BaseObject as obj, LargeStringProperty as prop where obj.name=doc.fullName and prop.id.id = obj.id and prop.value like '%$text%'")
+#foreach ( $item in $xwiki.searchDocuments($sql , $nb , $start))
+#if ($xwiki.hasAccessLevel("view", $context.user, "${context.database}:${item}"))
+#set($bentrydoc = $xwiki.getDocument($item))
+   * [$bentrydoc.name&gt;${bentrydoc.web}.$bentrydoc.name] by $xwiki.getLocalUserName($bentrydoc.author) on $xwiki.formatDate($bentrydoc.date, $formatDate)
+#end
+#end
+
+----
+
+1.1 Search in attachment file names
+
+#set($sql= ", XWikiAttachment attach where doc.id = attach.docId and attach.filename like '%$text%' ")
+#foreach ( $item in $xwiki.searchDocuments($sql , $nb , $start))
+#if ($xwiki.hasAccessLevel("view", $context.user, "${context.database}:${item}"))
+#set($bentrydoc = $xwiki.getDocument($item))
+   * [$bentrydoc.name&gt;${bentrydoc.web}.$bentrydoc.name] by $xwiki.getLocalUserName($bentrydoc.author) on $xwiki.formatDate($bentrydoc.date, $formatDate)
+#end
+#end
+
+
+----
+
+1.1 Search in attachment file content
+
+#set($sql= ", XWikiAttachment attach, XWikiAttachmentContent as attachc where doc.id = attach.docId and attach.id = attachc.id and attachc.content like '%$text%' ")
+#foreach ( $item in $xwiki.searchDocuments($sql , $nb , $start))
+#if ($xwiki.hasAccessLevel("view", $context.user, "${context.database}:${item}"))
+#set($bentrydoc = $xw