Commit e7989b1a authored by Ludovic Dubost's avatar Ludovic Dubost

Create a template and template provider for a public web site page

parent f39627ac
<?xml version="1.0" encoding="UTF-8"?>
<!--
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->
<xwikidoc version="1.3" reference="PublicWebSite.Code.PublicWebSiteTemplateProvider" locale="">
<web>PublicWebSite.Code</web>
<name>PublicWebSiteTemplateProvider</name>
<language/>
<defaultLanguage>en</defaultLanguage>
<translation>0</translation>
<creator>xwiki:XWiki.Admin</creator>
<creationDate>1514761200000</creationDate>
<parent>XWiki.TemplateProviderClass</parent>
<author>xwiki:XWiki.Admin</author>
<contentAuthor>xwiki:XWiki.Admin</contentAuthor>
<date>1514761200000</date>
<contentUpdateDate>1514761200000</contentUpdateDate>
<version>1.1</version>
<title>Public Web Site Template Provider</title>
<comment/>
<minorEdit>false</minorEdit>
<syntaxId>xwiki/2.0</syntaxId>
<hidden>false</hidden>
<content/>
<object>
<name>PublicWebSite.Code.PublicWebSiteTemplateProvider</name>
<number>0</number>
<className>XWiki.TemplateProviderClass</className>
<guid>9d6a2f33-de9d-46ba-b86b-935d6320c5e2</guid>
<class>
<name>XWiki.TemplateProviderClass</name>
<customClass/>
<customMapping/>
<defaultViewSheet/>
<defaultEditSheet/>
<defaultWeb/>
<nameField/>
<validationScript/>
<action>
<cache>0</cache>
<customDisplay/>
<disabled>0</disabled>
<displayType>select</displayType>
<multiSelect>0</multiSelect>
<name>action</name>
<number>3</number>
<picker>0</picker>
<prettyName>Action on create</prettyName>
<relationalStorage>0</relationalStorage>
<separator> </separator>
<separators> ,|</separators>
<size>1</size>
<sort>none</sort>
<unmodifiable>0</unmodifiable>
<validationMessage/>
<validationRegExp/>
<values>edit|saveandedit</values>
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>
</action>
<creationRestrictions>
<cache>0</cache>
<classname/>
<customDisplay/>
<disabled>0</disabled>
<displayType>input</displayType>
<idField/>
<multiSelect>1</multiSelect>
<name>creationRestrictions</name>
<number>9</number>
<picker>1</picker>
<prettyName>Creation Restrictions</prettyName>
<relationalStorage>1</relationalStorage>
<separator> ,</separator>
<separators>,</separators>
<size>1</size>
<sort>none</sort>
<sql>select distinct doc.web from XWikiDocument doc</sql>
<unmodifiable>0</unmodifiable>
<validationMessage/>
<validationRegExp/>
<valueField/>
<classType>com.xpn.xwiki.objects.classes.DBListClass</classType>
</creationRestrictions>
<creationRestrictionsAreSuggestions>
<customDisplay/>
<defaultValue/>
<disabled>0</disabled>
<displayFormType>checkbox</displayFormType>
<displayType/>
<name>creationRestrictionsAreSuggestions</name>
<number>10</number>
<prettyName>Creation Restrictions Are Suggestions</prettyName>
<unmodifiable>0</unmodifiable>
<validationMessage/>
<validationRegExp/>
<classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>
</creationRestrictionsAreSuggestions>
<description>
<customDisplay/>
<disabled>0</disabled>
<name>description</name>
<number>4</number>
<picker>0</picker>
<prettyName>description</prettyName>
<size>30</size>
<unmodifiable>0</unmodifiable>
<validationMessage/>
<validationRegExp/>
<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
</description>
<icon>
<customDisplay/>
<disabled>0</disabled>
<name>icon</name>
<number>6</number>
<picker>0</picker>
<prettyName>icon</prettyName>
<size>30</size>
<unmodifiable>0</unmodifiable>
<validationMessage/>
<validationRegExp/>
<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
</icon>
<name>
<customDisplay/>
<disabled>0</disabled>
<name>name</name>
<number>1</number>
<picker>0</picker>
<prettyName>name</prettyName>
<size>30</size>
<unmodifiable>0</unmodifiable>
<validationMessage/>
<validationRegExp/>
<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
</name>
<spaces>
<cache>0</cache>
<classname/>
<customDisplay/>
<disabled>0</disabled>
<displayType>checkbox</displayType>
<idField/>
<multiSelect>1</multiSelect>
<name>spaces</name>
<number>7</number>
<picker>0</picker>
<prettyName>spaces</prettyName>
<relationalStorage>0</relationalStorage>
<separator>,</separator>
<separators>,</separators>
<size>10</size>
<sort>none</sort>
<sql>select distinct doc.web from XWikiDocument doc order by doc.web</sql>
<unmodifiable>0</unmodifiable>
<validationMessage/>
<validationRegExp/>
<valueField/>
<classType>com.xpn.xwiki.objects.classes.DBListClass</classType>
</spaces>
<template>
<customDisplay/>
<disabled>0</disabled>
<name>template</name>
<number>2</number>
<picker>0</picker>
<prettyName>template</prettyName>
<size>30</size>
<unmodifiable>0</unmodifiable>
<validationMessage/>
<validationRegExp/>
<classType>com.xpn.xwiki.objects.classes.StringClass</classType>
</template>
<terminal>
<customDisplay/>
<defaultValue/>
<disabled>0</disabled>
<displayFormType>select</displayFormType>
<displayType/>
<name>terminal</name>
<number>5</number>
<prettyName>terminal</prettyName>
<unmodifiable>0</unmodifiable>
<validationMessage/>
<validationRegExp/>
<classType>com.xpn.xwiki.objects.classes.BooleanClass</classType>
</terminal>
<visibilityRestrictions>
<cache>0</cache>
<classname/>
<customDisplay/>
<disabled>0</disabled>
<displayType>input</displayType>
<idField/>
<multiSelect>1</multiSelect>
<name>visibilityRestrictions</name>
<number>8</number>
<picker>0</picker>
<prettyName>Visibility Restrictions</prettyName>
<relationalStorage>1</relationalStorage>
<separator> ,</separator>
<separators>,</separators>
<size>1</size>
<sort>none</sort>
<sql>select distinct doc.web from XWikiDocument doc order by doc.web</sql>
<unmodifiable>0</unmodifiable>
<validationMessage/>
<validationRegExp/>
<valueField/>
<classType>com.xpn.xwiki.objects.classes.DBListClass</classType>
</visibilityRestrictions>
</class>
<property>
<action>edit</action>
</property>
<property>
<creationRestrictions/>
</property>
<property>
<creationRestrictionsAreSuggestions>0</creationRestrictionsAreSuggestions>
</property>
<property>
<description>A template for a public web site page</description>
</property>
<property>
<icon>file-text</icon>
</property>
<property>
<name>Public Web Site Template</name>
</property>
<property>
<spaces/>
</property>
<property>
<template>PublicWebSite.Code.PublicWebSiteTemplate</template>
</property>
<property>
<terminal>0</terminal>
</property>
<property>
<visibilityRestrictions/>
</property>
</object>
</xwikidoc>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment