⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mmbaseusers.xml

📁 实现一个网络购物
💻 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="www.mmbase.org" name="mmbaseusers" version="1">
  <!-- Builder configuration for mmbaseusers -->
  <!-- Status of the builder: active or inactive -->
  <status>active</status>
  <!-- Classname of the builder.This is a optional tag, it names the classfile to use for this builderProviding an alternate buidler class allows you to add or change support routines. -->
  <classfile>org.mmbase.security.implementation.cloud.UserBuilder</classfile>
  <!-- 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">MMBase gebruiker</singular>
    <singular xml:lang="eo">MMBase-uzanto</singular>
    <singular xml:lang="en">MMBase user</singular>
    <!-- plural names per language as defined by ISO 639 -->
    <plural xml:lang="nl">MMBase gebruikers</plural>
    <plural xml:lang="eo">MMBase-uzantoj</plural>
    <plural xml:lang="en">MMBase users</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">MMBase gebruikers. In deze builder kunnen alle gebruikers van het systeem worden opgeslagen. Wachtwoorden worden gecodeert.</description>
    <description xml:lang="eo">MMBase-uzantoj. En 膲i tiu kontruanto la uzantoj de la sistemo povas stoki臐i. Pasvortoj estas 膲ifrataj.</description>
    <description xml:lang="en">MMBase users, builder which contains all users from the system. Passwords will be encrypted with the encoding mentioned in properties</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>
    <property name="encoding">MD5</property>
  </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 : username -->
    <field>
      <!-- field descriptions (help texts) -->
      <descriptions>
        <description xml:lang="nl">Login naam voor de gebruiker</description>
        <description xml:lang="en">User login name</description>
      </descriptions>
      <!-- gui related -->
      <gui>
        <guiname xml:lang="nl">Gebruiker</guiname>
        <guiname xml:lang="eo">Uzulo</guiname>
        <guiname xml:lang="en">UserName</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>username</name>
        <!-- MMBase datatype and demands on it -->
        <type key="true" notnull="true" size="32" state="persistent">STRING</type>
      </db>
    </field>
    <!-- field definition for field 5 : password -->
    <field>
      <!-- field descriptions (help texts) -->
      <descriptions>
        <description xml:lang="nl">Gebruikers wachtwoord</description>
        <description xml:lang="en">User password</description>
      </descriptions>
      <!-- gui related -->
      <gui>
        <guiname xml:lang="nl">Wachtwoord</guiname>
        <guiname xml:lang="eo">Pasvorto</guiname>
        <guiname xml:lang="en">Password</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>password</name>
        <!-- MMBase datatype and demands on it -->
        <type key="false" notnull="true" size="32" state="persistent">STRING</type>
      </db>
    </field>
  </fieldlist>
</builder>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -