📄 products.xml
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE builder PUBLIC "-//MMBase//DTD builder config 1.1//EN" "http://www.mmbase.org/dtd/builder_1_1.dtd">
<builder extends="object" maintainer="mmbase.org" name="products" version="0">
<!-- Builder configuration for products -->
<!-- Status of the builder: active or inactive -->
<status>active</status>
<!-- Names defines the different names used in user visible partsSingular names are used when talking about one object (Url,Person) and plurar when talking about multiple objects (Urls, people).Names can be provided in various languages. -->
<names>
<!-- singular names per language as defined by ISO 639 -->
<singular xml:lang="nl">Product</singular>
<singular xml:lang="en">Products</singular>
<!-- plural names per language as defined by ISO 639 -->
<plural xml:lang="nl">Producten</plural>
<plural xml:lang="en">Products</plural>
</names>
<!-- Descriptions are ment to provide some additional clarification to an object.They are useful for GUI editors to provide helptexts.Descriptions can be provided in various languages. -->
<descriptions>
<description xml:lang="nl">Producten</description>
<description xml:lang="en">Products</description>
</descriptions>
<!-- decsription per language as defined by ISO 639 -->
<!-- You can define properties to be used by the classfile.Properties are entered using name/value pairs.The actual properties available differ by class. -->
<properties/>
<!-- defines the different fields in this objectDepending on the database, the order of the fields may be important.Once defined, it is a good practice to keep the same order.This counts especially when you convert buidler configurations using builder inheritance. -->
<fieldlist>
<!-- field definition for field 4 : title -->
<field>
<!-- field descriptions (help texts) -->
<descriptions>
<description xml:lang="nl">Titel van het product</description>
<description xml:lang="en">Title of the item</description>
</descriptions>
<!-- gui related -->
<gui>
<guiname xml:lang="nl">Titel</guiname>
<guiname xml:lang="en">Title</guiname>
<guitype>string</guitype>
</gui>
<!-- editor related -->
<editor>
<positions>
<!-- position in the input area of the editor -->
<input>1</input>
<!-- position in the list area of the editor -->
<list>1</list>
<!-- position in the search area of the editor -->
<search>1</search>
</positions>
</editor>
<!-- database related -->
<db>
<!-- name of the field in the database -->
<name>title</name>
<!-- MMBase datatype and demands on it -->
<type key="false" notnull="false" size="255" state="persistent">STRING</type>
</db>
</field>
<!-- field definition for field 5 : subtitle -->
<field>
<!-- field descriptions (help texts) -->
<descriptions>
<description xml:lang="nl">Titel van het product</description>
<description xml:lang="en">Subtitle of the item</description>
</descriptions>
<!-- gui related -->
<gui>
<guiname xml:lang="nl">Ondertitel</guiname>
<guiname xml:lang="en">Subtitle</guiname>
<guitype>string</guitype>
</gui>
<!-- editor related -->
<editor>
<positions>
<!-- position in the input area of the editor -->
<input>2</input>
<!-- position in the list area of the editor -->
<list>2</list>
<!-- position in the search area of the editor -->
<search>2</search>
</positions>
</editor>
<!-- database related -->
<db>
<!-- name of the field in the database -->
<name>subtitle</name>
<!-- MMBase datatype and demands on it -->
<type key="false" notnull="false" size="255" state="persistent">STRING</type>
</db>
</field>
<!-- field definition for field 6 : id -->
<field>
<!-- field descriptions (help texts) -->
<descriptions>
<description xml:lang="nl">Product nummer</description>
<description xml:lang="en">Product id</description>
</descriptions>
<!-- gui related -->
<gui>
<guiname xml:lang="nl">Product nummer</guiname>
<guiname xml:lang="en">Product id</guiname>
<guitype>string</guitype>
</gui>
<!-- editor related -->
<editor>
<positions>
<!-- position in the input area of the editor -->
<input>3</input>
<!-- position in the list area of the editor -->
<list>3</list>
<!-- position in the search area of the editor -->
<search>3</search>
</positions>
</editor>
<!-- database related -->
<db>
<!-- name of the field in the database -->
<name>id</name>
<!-- MMBase datatype and demands on it -->
<type key="false" notnull="false" size="255" state="persistent">STRING</type>
</db>
</field>
<!-- field definition for field 7 : quotetitle -->
<field>
<!-- field descriptions (help texts) -->
<descriptions>
<description xml:lang="nl">Quote titel van het product</description>
<description xml:lang="en">Quote title of the item</description>
</descriptions>
<!-- gui related -->
<gui>
<guiname xml:lang="nl">Quote titel</guiname>
<guiname xml:lang="en">Quote title</guiname>
<guitype>string</guitype>
</gui>
<!-- editor related -->
<editor>
<positions>
<!-- position in the input area of the editor -->
<input>4</input>
<!-- position in the list area of the editor -->
<list>-1</list>
<!-- position in the search area of the editor -->
<search>4</search>
</positions>
</editor>
<!-- database related -->
<db>
<!-- name of the field in the database -->
<name>quotetitle</name>
<!-- MMBase datatype and demands on it -->
<type key="false" notnull="false" size="255" state="persistent">STRING</type>
</db>
</field>
<!-- field definition for field 8 : intro -->
<field>
<!-- field descriptions (help texts) -->
<descriptions>
<description xml:lang="nl">Introductie van het product</description>
<description xml:lang="en">Introduction of the item</description>
</descriptions>
<!-- gui related -->
<gui>
<guiname xml:lang="nl">Introductie</guiname>
<guiname xml:lang="en">Introduction</guiname>
<guitype>string</guitype>
</gui>
<!-- editor related -->
<editor>
<positions>
<!-- position in the input area of the editor -->
<input>5</input>
<!-- position in the list area of the editor -->
<list>-1</list>
<!-- position in the search area of the editor -->
<search>5</search>
</positions>
</editor>
<!-- database related -->
<db>
<!-- name of the field in the database -->
<name>intro</name>
<!-- MMBase datatype and demands on it -->
<type key="false" notnull="false" size="4096" state="persistent">STRING</type>
</db>
</field>
<!-- field definition for field 9 : body -->
<field>
<!-- field descriptions (help texts) -->
<descriptions>
<description xml:lang="nl">Tekst van het product</description>
<description xml:lang="en">Body of the item</description>
</descriptions>
<!-- gui related -->
<gui>
<guiname xml:lang="nl">Tekst</guiname>
<guiname xml:lang="en">Body</guiname>
<guitype>string</guitype>
</gui>
<!-- editor related -->
<editor>
<positions>
<!-- position in the input area of the editor -->
<input>6</input>
<!-- position in the list area of the editor -->
<list>-1</list>
<!-- position in the search area of the editor -->
<search>6</search>
</positions>
</editor>
<!-- database related -->
<db>
<!-- name of the field in the database -->
<name>body</name>
<!-- MMBase datatype and demands on it -->
<type key="false" notnull="false" size="4096" state="persistent">STRING</type>
</db>
</field>
<!-- field definition for field 10 : displaydate -->
<field>
<!-- field descriptions (help texts) -->
<descriptions>
<description xml:lang="nl">Datum om het product te tonen</description>
<description xml:lang="en">Date to display the item</description>
</descriptions>
<!-- gui related -->
<gui>
<guiname xml:lang="nl">Toondatum</guiname>
<guiname xml:lang="en">Displaydate</guiname>
<guitype>eventtime</guitype>
</gui>
<!-- editor related -->
<editor>
<positions>
<!-- position in the input area of the editor -->
<input>7</input>
<!-- position in the list area of the editor -->
<list>-1</list>
<!-- position in the search area of the editor -->
<search>7</search>
</positions>
</editor>
<!-- database related -->
<db>
<!-- name of the field in the database -->
<name>displaydate</name>
<!-- MMBase datatype and demands on it -->
<type key="false" notnull="false" state="persistent">INTEGER</type>
</db>
</field>
<!-- field definition for field 11 : expiredate -->
<field>
<!-- field descriptions (help texts) -->
<descriptions>
<description xml:lang="nl">Datum waarop het product verloopt</description>
<description xml:lang="en">Date the item disappears</description>
</descriptions>
<!-- gui related -->
<gui>
<guiname xml:lang="nl">Verwijderdatum</guiname>
<guiname xml:lang="en">Expiredate</guiname>
<guitype>eventtime</guitype>
</gui>
<!-- editor related -->
<editor>
<positions>
<!-- position in the input area of the editor -->
<input>8</input>
<!-- position in the list area of the editor -->
<list>-1</list>
<!-- position in the search area of the editor -->
<search>8</search>
</positions>
</editor>
<!-- database related -->
<db>
<!-- name of the field in the database -->
<name>expiredate</name>
<!-- MMBase datatype and demands on it -->
<type key="false" notnull="false" state="persistent">INTEGER</type>
</db>
</field>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -