[TASK] Streamline structure of form extension
authorOliver Hader <oliver@typo3.org>
Mon, 1 Aug 2011 15:49:07 +0000 (17:49 +0200)
committerOliver Hader <oliver@typo3.org>
Tue, 2 Aug 2011 08:49:55 +0000 (10:49 +0200)
The new system extension form needs some changes:

* move global variable and initialization to tx_form_Common
* rename class name of form controller to reflect directory hierarchy
* move PageTSconfig and TypoScript configuration to Resources/Private/
* remove superfluous configurations and definitions

Change-Id: Iec38b53099edcb170c6d8b802e73b381602ff27d
Resolves: #28655
Reviewed-on: http://review.typo3.org/3998
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/extbase
typo3/sysext/form/Classes/Common.php [new file with mode: 0644]
typo3/sysext/form/Classes/Controller/Form.php
typo3/sysext/form/Classes/Domain/Factory/Typoscript.php
typo3/sysext/form/Classes/Domain/Factory/TyposcriptToJson.php
typo3/sysext/form/Configuration/TypoScript/setup.txt [deleted file]
typo3/sysext/form/Resources/Private/Configuration/PageTSconfig/modWizards.ts [new file with mode: 0644]
typo3/sysext/form/Resources/Private/Configuration/TypoScript/setup.txt [new file with mode: 0644]
typo3/sysext/form/ext_autoload.php
typo3/sysext/form/ext_localconf.php
typo3/sysext/form/ext_tables.php

index 61c3d58..cb40907 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 61c3d583bf8ddf161afa25d803a99f61a67a1675
+Subproject commit cb40907bb6bcf902a41a2d8a583183c4c49f1791
diff --git a/typo3/sysext/form/Classes/Common.php b/typo3/sysext/form/Classes/Common.php
new file mode 100644 (file)
index 0000000..dfb23bd
--- /dev/null
@@ -0,0 +1,126 @@
+<?php
+/***************************************************************
+*  Copyright notice
+*
+*  (c) 2011 Oliver Hader <oliver.hader@typo3.org>
+*  All rights reserved
+*
+*  This script is part of the TYPO3 project. The TYPO3 project is
+*  free software; you can redistribute it and/or modify
+*  it under the terms of the GNU General Public License as published by
+*  the Free Software Foundation; either version 2 of the License, or
+*  (at your option) any later version.
+*
+*  The GNU General Public License can be found at
+*  http://www.gnu.org/copyleft/gpl.html.
+*
+*  This script is distributed in the hope that it will be useful,
+*  but WITHOUT ANY WARRANTY; without even the implied warranty of
+*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*  GNU General Public License for more details.
+*
+*  This copyright notice MUST APPEAR in all copies of the script!
+***************************************************************/
+
+/**
+ * Common helper methods.
+ *
+ * @package TYPO3
+ * @subpackage form
+ * @author Oliver Hader <oliver.hader@typo3.org>
+ * @license http://www.gnu.org/copyleft/gpl.html
+ */
+class tx_form_Common implements t3lib_Singleton {
+       /**
+        * @var array
+        */
+       protected $formObjects = array();
+
+       /**
+        * Gets a singleton instance of this object.
+        *
+        * @return tx_form_Common
+        */
+       public static function getInstance() {
+               return t3lib_div::makeInstance('tx_form_Common');
+       }
+
+       /**
+        * Initializes this object.
+        */
+       public function __construct() {
+               $this->setFormObjects(
+                       array(
+                                'BUTTON',
+                                'CHECKBOX',
+                                'CHECKBOXGROUP',
+                                'FIELDSET',
+                                'FILEUPLOAD',
+                                'FORM',
+                                'FORM_INT',
+                                'HIDDEN',
+                                'IMAGEBUTTON',
+                                'OPTGROUP',
+                                'OPTION',
+                                'PASSWORD',
+                                'RADIO',
+                                'RADIOGROUP',
+                                'RESET',
+                                'SELECT',
+                                'SUBMIT',
+                                'TEXTAREA',
+                                'TEXTLINE',
+                       )
+               );
+       }
+
+       /**
+        * Gets the available form objects.
+        *
+        * @return array
+        */
+       public function getFormObjects() {
+               return $this->formObjects;
+       }
+
+       /**
+        * Sets the available form objects.
+        *
+        * @param array $formObjects
+        * @return void
+        */
+       public function setFormObjects(array $formObjects) {
+               $this->formObjects = $formObjects;
+       }
+
+       /**
+        * Initializes the available form objects.
+        *
+        * @return tx_form_Common
+        */
+       public function initializeFormObjects() {
+                       // Assign new FORM objects
+               foreach($this->getFormObjects() as $formObject) {
+                       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClass'][] = array(
+                               $formObject,
+                               'EXT:form/Classes/Controller/Form.php:&tx_form_controller_form'
+                       );
+               }
+
+               return $this;
+       }
+
+       /**
+        * Initializes the Page TSconfig properties.
+        *
+        * @return tx_form_Common
+        */
+       public function initializePageTsConfig() {
+               t3lib_extMgm::addPageTSConfig(
+                       '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:form/Resources/Private/Configuration/PageTSconfig/modWizards.ts">'
+               );
+
+               return $this;
+       }
+}
+?>
\ No newline at end of file
index 9585274..831123b 100644 (file)
@@ -35,7 +35,7 @@ declare(encoding = 'utf-8');
  * @license http://www.gnu.org/copyleft/gpl.html
  * @version $Id$
  */
-class tx_form_controller {
+class tx_form_controller_form {
 
        /**
         * The TypoScript array
index d0793cf..b848e24 100644 (file)
@@ -116,7 +116,7 @@ class tx_form_domain_factory_typoscript implements t3lib_Singleton {
                        $contentObject['cObj.'] = $arguments;
                        $this->addElement($parentElement, 'content', $contentObject);
                        $GLOBALS['TT']->decStackPointer();
-               } elseif(in_array($class, $GLOBALS['OBJECTS_form'])) {
+               } elseif (in_array($class, tx_form_Common::getInstance()->getFormObjects())) {
                        try {
                                $this->addElement($parentElement, $class, $arguments);
                        } catch (Exception $exception) {
index 50429f6..ab14c08 100644 (file)
@@ -120,7 +120,7 @@ class tx_form_domain_factory_typoscripttojson {
         * @author Patrick Broens <patrick@patrickbroens.nl>
         */
        private function setElementType(&$parentElement, $class, array $arguments) {
-               if(in_array($class, $GLOBALS['OBJECTS_form'])) {
+               if (in_array($class, tx_form_Common::getInstance()->getFormObjects())) {
                        if (strstr($arguments['class'], 'predefined-name')) {
                                $class = 'NAME';
                        }
diff --git a/typo3/sysext/form/Configuration/TypoScript/setup.txt b/typo3/sysext/form/Configuration/TypoScript/setup.txt
deleted file mode 100644 (file)
index 6f1ab34..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-includeLibs.tx_form_controller = EXT:form/controller/class.tx_form_controller.php
-
-plugin.tx_form_controller = USER
-plugin.tx_form_controller {
-       userFunc = tx_form_controller->cacheCheck
-       renderObj = COA
-       renderObj {
-               10 = USER
-               10 {
-                       userFunc = tx_form_controller->main
-               }
-       }
-}
-
-tt_content.mailform.20 >
-tt_content.mailform.20 = FORM
-tt_content.mailform.20 {
-
-}
-
-#tt_content.login.20 >
-#tt_content.login.20 = FORM
-#tt_content.login.20 {
-#      prefix = login
-#      method = post
-#      10 = FIELDSET
-#      10 {
-#              legend = TEXT
-#              legend {
-#                      data = LLL:EXT:css_styled_content/pi1/locallang.xml:login.username
-#              }
-#              10 = TEXTLINE
-#              10 {
-#                      name = user
-#                      id = mailformuser
-#                      size = 20
-#                      label = TEXT
-#                      label {
-#                              data = LLL:EXT:css_styled_content/pi1/locallang.xml:login.username
-#                      }
-#              }
-#              20 = PASSWORD
-#              20 {
-#                      name = pass
-#                      id = mailformpass
-#                      size = 20
-#                      label = TEXT
-#                      label {
-#                              data = LLL:EXT:css_styled_content/pi1/locallang.xml:login.password
-#                      }
-#              }
-#      }
-#      30 = HIDDEN
-#      30 {
-#              name = logintype
-#              id = mailformlogintype
-#      }
-#      20 = SUBMIT
-#      20 {
-#              name = submit
-#              id = mailformsubmit
-#              value = login
-#      }
-#}
\ No newline at end of file
diff --git a/typo3/sysext/form/Resources/Private/Configuration/PageTSconfig/modWizards.ts b/typo3/sysext/form/Resources/Private/Configuration/PageTSconfig/modWizards.ts
new file mode 100644 (file)
index 0000000..4414950
--- /dev/null
@@ -0,0 +1,278 @@
+mod.wizards {
+       newContentElement.wizardItems {
+               forms.elements {
+                       mailform {
+                               tt_content_defValues {
+                                       bodytext (
+enctype = multipart/form-data
+method = post
+prefix = tx_form
+                                       )
+                               }
+                       }
+               }
+       }
+       form {
+               defaults {
+                       showTabs = elements, options, form
+                       tabs {
+                               elements {
+                                       showAccordions = basic, predefined, content
+                                       accordions {
+                                               basic {
+                                                       showButtons = checkbox, fieldset, fileupload, hidden, password, radio, reset, select, submit, textarea, textline
+                                               }
+                                               predefined {
+                                                       showButtons = email, radiogroup, checkboxgroup, name
+                                               }
+                                               content {
+                                                       showButtons = header
+                                               }
+                                       }
+                               }
+                               options {
+                                       showAccordions = legend, label, attributes, options, validation, filters, various
+                                       accordions {
+                                               attributes {
+                                                       showProperties = accept, acceptcharset, accesskey, action, alt, checked, class, cols, dir, disabled, enctype, id, label, lang, maxlength, method, multiple, name, readonly, rows, selected, size, src, style, tabindex, title, type, value
+                                               }
+                                               label {
+                                                       showProperties = label
+                                               }
+                                               validation {
+                                                       showRules = alphabetic, alphanumeric, between, date, digit, email, equals, fileallowedtypes, filemaximumsize, fileminimumsize, float, greaterthan, inarray, integer, ip, length, lessthan, regexp, required, uri
+                                                       rules {
+                                                               alphabetic {
+                                                                       showProperties = message, error, breakOnError, showMessage, allowWhiteSpace
+                                                               }
+                                                               alphanumeric {
+                                                                       showProperties = message, error, breakOnError, showMessage, allowWhiteSpace
+                                                               }
+                                                               between {
+                                                                       showProperties = message, error, breakOnError, showMessage, minimum, maximum, inclusive
+                                                               }
+                                                               date {
+                                                                       showProperties = message, error, breakOnError, showMessage, format
+                                                               }
+                                                               digit {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                               email {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                               equals {
+                                                                       showProperties = message, error, breakOnError, showMessage, field
+                                                               }
+                                                               fileallowedtypes {
+                                                                       showProperties = message, error, breakOnError, showMessage, types
+                                                               }
+                                                               filemaximumsize {
+                                                                       showProperties = message, error, breakOnError, showMessage, maximum
+                                                               }
+                                                               fileminimumsize {
+                                                                       showProperties = message, error, breakOnError, showMessage, minimum
+                                                               }
+                                                               float {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                               greaterthan {
+                                                                       showProperties = message, error, breakOnError, showMessage, minimum
+                                                               }
+                                                               inarray {
+                                                                       showProperties = message, error, breakOnError, showMessage, array, strict
+                                                               }
+                                                               integer {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                               ip {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                               length {
+                                                                       showProperties = message, error, breakOnError, showMessage, minimum, maximum
+                                                               }
+                                                               lessthan {
+                                                                       showProperties = message, error, breakOnError, showMessage, maximum
+                                                               }
+                                                               regexp {
+                                                                       showProperties = message, error, breakOnError, showMessage, expression
+                                                               }
+                                                               required {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                               uri {
+                                                                       showProperties = message, error, breakOnError, showMessage
+                                                               }
+                                                       }
+                                               }
+                                               filtering {
+                                                       showFilters = alphabetic, alphanumeric, currency, digit, integer, lowercase, regexp, removexss, stripnewlines, titlecase, trim, uppercase
+                                                       filters {
+                                                               alphabetic {
+                                                                       showProperties = allowWhiteSpace
+                                                               }
+                                                               alphanumeric {
+                                                                       showProperties = allowWhiteSpace
+                                                               }
+                                                               currency {
+                                                                       showProperties = decimalPoint, thousandSeparator
+                                                               }
+                                                               digit {
+                                                                       showProperties =
+                                                               }
+                                                               integer {
+                                                                       showProperties =
+                                                               }
+                                                               lowercase {
+                                                                       showProperties =
+                                                               }
+                                                               regexp {
+                                                                       showProperties = expression
+                                                               }
+                                                               removexss {
+                                                                       showProperties =
+                                                               }
+                                                               stripnewlines {
+                                                                       showProperties =
+                                                               }
+                                                               titlecase {
+                                                                       showProperties =
+                                                               }
+                                                               trim {
+                                                                       showProperties = characterList
+                                                               }
+                                                               uppercase {
+                                                                       showProperties =
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                               form {
+                                       showAccordions = prefix, attributes, postProcessor
+                                       accordions {
+                                               attributes {
+                                                       showProperties = accept, acceptcharset, action, class, dir, enctype, id, lang, method, name, style, title
+                                               }
+                                               postProcessor {
+                                                       showPostProcessors = mail
+                                                       postProcessors {
+                                                               mail {
+                                                                       showProperties = recipientEmail, senderEmail
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                       }
+               }
+               elements {
+                       button {
+                               showAccordions = attributes
+                               accordions {
+                                       attributes {
+                                               showProperties = value
+                                       }
+                               }
+                       }
+                       checkbox {
+                               showAccordions = label, attributes
+                               accordions {
+                                       attributes {
+                                               showProperties = name, value
+                                       }
+                               }
+                       }
+                       fieldset {
+                               showAccordions = legend
+                       }
+                       fileupload {
+                               showAccordions = label, attributes, validation
+                               accordions {
+                                       attributes {
+                                               showProperties = name
+                                       }
+                                       validation {
+                                               showRules = required, fileallowedtypes, filemaximumsize, fileminimumsize
+                                       }
+                               }
+                       }
+                       hidden {
+                               showAccordions = attributes
+                               accordions {
+                                       attributes {
+                                               showProperties = name, value
+                                       }
+                               }
+                       }
+                       password {
+                               showAccordions = label, attributes, validation
+                               accordions {
+                                       attributes {
+                                               showProperties = name
+                                       }
+                                       validation {
+                                               showRules = required, equals
+                                       }
+                               }
+                       }
+                       radio < .checkbox
+                       reset < .button
+                       select {
+                               showAccordions = label, attributes, options, validation
+                               accordions {
+                                       attributes {
+                                               showProperties = name, multiple
+                                       }
+                                       validation {
+                                               showRules = required
+                                       }
+                               }
+                       }
+                       submit < .button
+                       textarea {
+                               showAccordions = label, attributes, validation, filters
+                               accordions {
+                                       attributes {
+                                               showProperties = name, cols, rows
+                                       }
+                                       filtering {
+                                               showFilters = alphabetic, alphanumeric, lowercase, regexp, stripnewlines, titlecase, trim, uppercase
+                                       }
+                                       validation {
+                                               showRules = alphabetic, alphanumeric, length, regexp, required
+                                       }
+                               }
+                       }
+                       textline {
+                               showAccordions = label, attributes, validation, filters
+                               accordions {
+                                       attributes {
+                                               showProperties = name
+                                       }
+                                       validation {
+                                               showRules = alphabetic, alphanumeric, between, date, digit, email, equals, float, greaterthan, inarray, integer, ip, length, lessthan, regexp, required, uri
+                                       }
+                                       filtering {
+                                               showFilters = alphabetic, alphanumeric, currency, digit, integer, lowercase, regexp, titlecase, trim, uppercase
+                                       }
+                               }
+                       }
+                       checkboxgroup {
+                               showAccordions = legend, options, various, validation
+                               accordions {
+                                       validation {
+                                               showRules = required
+                                       }
+                               }
+                       }
+                       email < .textline
+                       header {
+                               showAccordions = various
+                       }
+                       name {
+                               showAccordions = legend, various
+                       }
+                       radiogroup < .checkboxgroup
+               }
+       }
+}
diff --git a/typo3/sysext/form/Resources/Private/Configuration/TypoScript/setup.txt b/typo3/sysext/form/Resources/Private/Configuration/TypoScript/setup.txt
new file mode 100644 (file)
index 0000000..bee1c23
--- /dev/null
@@ -0,0 +1,50 @@
+tt_content.mailform.20 >
+tt_content.mailform.20 = FORM
+tt_content.mailform.20 {
+
+}
+
+#tt_content.login.20 >
+#tt_content.login.20 = FORM
+#tt_content.login.20 {
+#      prefix = login
+#      method = post
+#      10 = FIELDSET
+#      10 {
+#              legend = TEXT
+#              legend {
+#                      data = LLL:EXT:css_styled_content/pi1/locallang.xml:login.username
+#              }
+#              10 = TEXTLINE
+#              10 {
+#                      name = user
+#                      id = mailformuser
+#                      size = 20
+#                      label = TEXT
+#                      label {
+#                              data = LLL:EXT:css_styled_content/pi1/locallang.xml:login.username
+#                      }
+#              }
+#              20 = PASSWORD
+#              20 {
+#                      name = pass
+#                      id = mailformpass
+#                      size = 20
+#                      label = TEXT
+#                      label {
+#                              data = LLL:EXT:css_styled_content/pi1/locallang.xml:login.password
+#                      }
+#              }
+#      }
+#      30 = HIDDEN
+#      30 {
+#              name = logintype
+#              id = mailformlogintype
+#      }
+#      20 = SUBMIT
+#      20 {
+#              name = submit
+#              id = mailformsubmit
+#              value = login
+#      }
+#}
\ No newline at end of file
index 9b489ac..e549e5d 100644 (file)
 <?php
-/*
- * Register necessary class names with autoloader
- *
- */
-$extensionPath = t3lib_extMgm::extPath('form');
-$classesPath = $extensionPath . '/Classes/';
-$controllerPath = $classesPath . 'Controller/';
-$domainPath = $classesPath . 'Domain/';
-$systemPath = $classesPath . 'System/';
-$viewPath = $classesPath . 'View/';
+// DO NOT CHANGE THIS FILE! It is automatically generated by extdeveval::buildAutoloadRegistry.
+// This file was generated on 2011-08-01 21:36
 
+$extensionPath = t3lib_extMgm::extPath('form');
+$extensionClassesPath = t3lib_extMgm::extPath('form') . 'Classes/';
 return array(
-       'tx_form_domain_factory_typoscript' => $domainPath . 'Factory/Typoscript.php',
-       'tx_form_domain_factory_jsontotyposcript' => $domainPath . 'Factory/JsonToTyposcript.php',
-       'tx_form_domain_factory_typoscripttojson' => $domainPath . 'Factory/TyposcriptToJson.php',
-
-       'tx_form_domain_model_additional_abstract' => $domainPath . 'Model/Additional/Abstract.php',
-       'tx_form_domain_model_additional_additional' => $domainPath . 'Model/Additional/Additional.php',
-       'tx_form_domain_model_additional_error' => $domainPath . 'Model/Additional/Error.php',
-       'tx_form_domain_model_additional_label' => $domainPath . 'Model/Additional/Label.php',
-       'tx_form_domain_model_additional_legend' => $domainPath . 'Model/Additional/Legend.php',
-       'tx_form_domain_model_additional_interface' => $domainPath . 'Model/Additional/Interface.php',
-       'tx_form_domain_model_additional_mandatory' => $domainPath . 'Model/Additional/Mandatory.php',
-
-       'tx_form_domain_model_attributes_abstract' => $domainPath . 'Model/Attributes/Abstract.php',
-       'tx_form_domain_model_attributes_accept' => $domainPath . 'Model/Attributes/Accept.php',
-       'tx_form_domain_model_attributes_acceptcharset' => $domainPath . 'Model/Attributes/Acceptcharset.php',
-       'tx_form_domain_model_attributes_accesskey' => $domainPath . 'Model/Attributes/Accesskey.php',
-       'tx_form_domain_model_attributes_action' => $domainPath . 'Model/Attributes/Action.php',
-       'tx_form_domain_model_attributes_alt' => $domainPath . 'Model/Attributes/Alt.php',
-       'tx_form_domain_model_attributes_attributes' => $domainPath . 'Model/Attributes/Attributes.php',
-       'tx_form_domain_model_attributes_checked' => $domainPath . 'Model/Attributes/Checked.php',
-       'tx_form_domain_model_attributes_class' => $domainPath . 'Model/Attributes/Class.php',
-       'tx_form_domain_model_attributes_cols' => $domainPath . 'Model/Attributes/Cols.php',
-       'tx_form_domain_model_attributes_dir' => $domainPath . 'Model/Attributes/Dir.php',
-       'tx_form_domain_model_attributes_disabled' => $domainPath . 'Model/Attributes/Disabled.php',
-       'tx_form_domain_model_attributes_enctype' => $domainPath . 'Model/Attributes/Enctype.php',
-       'tx_form_domain_model_attributes_id' => $domainPath . 'Model/Attributes/Id.php',
-       'tx_form_domain_model_attributes_interface' => $domainPath . 'Model/Attributes/Interface.php',
-       'tx_form_domain_model_attributes_label' => $domainPath . 'Model/Attributes/Label.php',
-       'tx_form_domain_model_attributes_lang' => $domainPath . 'Model/Attributes/Lang.php',
-       'tx_form_domain_model_attributes_maxlength' => $domainPath . 'Model/Attributes/Maxlength.php',
-       'tx_form_domain_model_attributes_method' => $domainPath . 'Model/Attributes/Method.php',
-       'tx_form_domain_model_attributes_multiple' => $domainPath . 'Model/Attributes/Multiple.php',
-       'tx_form_domain_model_attributes_name' => $domainPath . 'Model/Attributes/Name.php',
-       'tx_form_domain_model_attributes_readonly' => $domainPath . 'Model/Attributes/Readonly.php',
-       'tx_form_domain_model_attributes_rows' => $domainPath . 'Model/Attributes/Rows.php',
-       'tx_form_domain_model_attributes_selected' => $domainPath . 'Model/Attributes/Selected.php',
-       'tx_form_domain_model_attributes_size' => $domainPath . 'Model/Attributes/Size.php',
-       'tx_form_domain_model_attributes_src' => $domainPath . 'Model/Attributes/Src.php',
-       'tx_form_domain_model_attributes_style' => $domainPath . 'Model/Attributes/Style.php',
-       'tx_form_domain_model_attributes_tabindex' => $domainPath . 'Model/Attributes/Tabindex.php',
-       'tx_form_domain_model_attributes_title' => $domainPath . 'Model/Attributes/Title.php',
-       'tx_form_domain_model_attributes_type' => $domainPath . 'Model/Attributes/Type.php',
-       'tx_form_domain_model_attributes_value' => $domainPath . 'Model/Attributes/Value.php',
-
-       'tx_form_domain_model_form' => $domainPath . 'Model/Form.php',
-       'tx_form_domain_model_element_abstract' => $domainPath . 'Model/Element/Abstract.php',
-       'tx_form_domain_model_element_button' => $domainPath . 'Model/Element/Button.php',
-       'tx_form_domain_model_element_checkbox' => $domainPath . 'Model/Element/Checkbox.php',
-       'tx_form_domain_model_element_checkboxgroup' => $domainPath . 'Model/Element/Checkboxgroup.php',
-       'tx_form_domain_model_element_container' => $domainPath . 'Model/Element/Container.php',
-       'tx_form_domain_model_element_content' => $domainPath . 'Model/Element/Content.php',
-       'tx_form_domain_model_element_fieldset' => $domainPath . 'Model/Element/Fieldset.php',
-       'tx_form_domain_model_element_fileupload' => $domainPath . 'Model/Element/Fileupload.php',
-       'tx_form_domain_model_element_hidden' => $domainPath . 'Model/Element/Hidden.php',
-       'tx_form_domain_model_element_imagebutton' => $domainPath . 'Model/Element/Imagebutton.php',
-       'tx_form_domain_model_element_optgroup' => $domainPath . 'Model/Element/Optgroup.php',
-       'tx_form_domain_model_element_option' => $domainPath . 'Model/Element/Option.php',
-       'tx_form_domain_model_element_password' => $domainPath . 'Model/Element/Password.php',
-       'tx_form_domain_model_element_radio' => $domainPath . 'Model/Element/Radio.php',
-       'tx_form_domain_model_element_radiogroup' => $domainPath . 'Model/Element/Radiogroup.php',
-       'tx_form_domain_model_element_reset' => $domainPath . 'Model/Element/Reset.php',
-       'tx_form_domain_model_element_select' => $domainPath . 'Model/Element/Select.php',
-       'tx_form_domain_model_element_submit' => $domainPath . 'Model/Element/Submit.php',
-       'tx_form_domain_model_element_textarea' => $domainPath . 'Model/Element/Textarea.php',
-       'tx_form_domain_model_element_textline' => $domainPath . 'Model/Element/Textline.php',
-
-       'tx_form_domain_model_json_button' => $domainPath . 'Model/JSON/Button.php',
-       'tx_form_domain_model_json_checkbox' => $domainPath . 'Model/JSON/Checkbox.php',
-       'tx_form_domain_model_json_checkboxgroup' => $domainPath . 'Model/JSON/Checkboxgroup.php',
-       'tx_form_domain_model_json_container' => $domainPath . 'Model/JSON/Container.php',
-       'tx_form_domain_model_json_element' => $domainPath . 'Model/JSON/Element.php',
-       'tx_form_domain_model_json_fieldset' => $domainPath . 'Model/JSON/Fieldset.php',
-       'tx_form_domain_model_json_fileupload' => $domainPath . 'Model/JSON/Fileupload.php',
-       'tx_form_domain_model_json_form' => $domainPath . 'Model/JSON/Form.php',
-       'tx_form_domain_model_json_header' => $domainPath . 'Model/JSON/Header.php',
-       'tx_form_domain_model_json_hidden' => $domainPath . 'Model/JSON/Hidden.php',
-       'tx_form_domain_model_json_name' => $domainPath . 'Model/JSON/Name.php',
-       'tx_form_domain_model_json_password' => $domainPath . 'Model/JSON/Password.php',
-       'tx_form_domain_model_json_radio' => $domainPath . 'Model/JSON/Radio.php',
-       'tx_form_domain_model_json_radiogroup' => $domainPath . 'Model/JSON/Radiogroup.php',
-       'tx_form_domain_model_json_reset' => $domainPath . 'Model/JSON/Reset.php',
-       'tx_form_domain_model_json_select' => $domainPath . 'Model/JSON/Select.php',
-       'tx_form_domain_model_json_submit' => $domainPath . 'Model/JSON/Submit.php',
-       'tx_form_domain_model_json_textarea' => $domainPath . 'Model/JSON/Textarea.php',
-       'tx_form_domain_model_json_textline' => $domainPath . 'Model/JSON/Textline.php',
-
-       'tx_form_domain_model_content' => $domainPath . 'Model/Content.php',
-       'tx_form_domain_repository_content' => $domainPath . 'Repository/Content.php',
-
-       'tx_form_system_elementcounter' => $systemPath . 'Elementcounter/Elementcounter.php',
-
-       'tx_form_system_filter_alhabetic' => $systemPath . 'Filter/Alphabetic.php',
-       'tx_form_system_filter_alphanumeric' => $systemPath . 'Filter/Alphanumeric.php',
-       'tx_form_system_filter_currency' => $systemPath . 'Filter/Currency.php',
-       'tx_form_system_filter_digit' => $systemPath . 'Filter/Digit.php',
-       'tx_form_system_filter' => $systemPath . 'Filter/Filter.php',
-       'tx_form_system_filter_integer' => $systemPath . 'Filter/Integer.php',
-       'tx_form_system_filter_interface' => $systemPath . 'Filter/Interface.php',
-       'tx_form_system_filter_lowercase' => $systemPath . 'Filter/Lowercase.php',
-       'tx_form_system_filter_regexp' => $systemPath . 'Filter/Regexp.php',
-       'tx_form_system_filter_removexss' => $systemPath . 'Filter/Removexss.php',
-       'tx_form_system_filter_stripnewlines' => $systemPath . 'Filter/Stripnewlines.php',
-       'tx_form_system_filter_titlecase' => $systemPath . 'Filter/Titlecase.php',
-       'tx_form_system_filter_trim' => $systemPath . 'Filter/Trim.php',
-       'tx_form_system_filter_uppercase' => $systemPath . 'Filter/Uppercase.php',
-
-       'tx_form_system_layout' => $systemPath . 'Layout/Layout.php',
-       'tx_form_system_loader' => $systemPath . 'Loader/Loader.php',
-       'tx_form_system_localization' => $systemPath . 'Localization/Localization.php',
-
-       'tx_form_system_postprocessor' => $systemPath . 'Postprocessor/Postprocessor.php',
-       'tx_form_system_postprocessor_mail' => $systemPath . 'Postprocessor/Mail.php',
-
-       'tx_form_system_request' => $systemPath . 'Request/Request.php',
-
-       'tx_form_system_validate_abstract' => $systemPath . 'Validate/Abstract.php',
-       'tx_form_system_validate_alphabetic' => $systemPath . 'Validate/Alphabetic.php',
-       'tx_form_system_validate_alphanumeric' => $systemPath . 'Validate/Alphanumeric.php',
-       'tx_form_system_validate_between' => $systemPath . 'Validate/Between.php',
-       'tx_form_system_validate_date' => $systemPath . 'Validate/Date.php',
-       'tx_form_system_validate_digit' => $systemPath . 'Validate/Digit.php',
-       'tx_form_system_validate_email' => $systemPath . 'Validate/Email.php',
-       'tx_form_system_validate_equals' => $systemPath . 'Validate/Equals.php',
-       'tx_form_system_validate_fileallowedtypes' => $systemPath . 'Validate/Fileallowedtypes.php',
-       'tx_form_system_validate_fileminimumsize' => $systemPath . 'Validate/Fileminimumsize.php',
-       'tx_form_system_validate_filemaximumsize' => $systemPath . 'Validate/Filemaximumsize.php',
-       'tx_form_system_validate_float' => $systemPath . 'Validate/Float.php',
-       'tx_form_system_validate_greaterthan' => $systemPath . 'Validate/Greaterthan.php',
-       'tx_form_system_validate_inarray' => $systemPath . 'Validate/Inarray.php',
-       'tx_form_system_validate_integer' => $systemPath . 'Validate/Integer.php',
-       'tx_form_system_validate_interface' => $systemPath . 'Validate/Interface.php',
-       'tx_form_system_validate_ip' => $systemPath . 'Validate/Ip.php',
-       'tx_form_system_validate_length' => $systemPath . 'Validate/Length.php',
-       'tx_form_system_validate_lessthan' => $systemPath . 'Validate/Lessthan.php',
-       'tx_form_system_validate_regexp' => $systemPath . 'Validate/Regexp.php',
-       'tx_form_system_validate_required' => $systemPath . 'Validate/Required.php',
-       'tx_form_system_validate_uri' => $systemPath . 'Validate/Uri.php',
-       'tx_form_system_validate' => $systemPath . 'Validate/Validate.php',
-
-       'tx_form_view_confirmation' => $viewPath . 'Confirmation/Confirmation.php',
-
-       'tx_form_view_confirmation_additional' => $viewPath . 'Confirmation/Additional/Additional.php',
-       'tx_form_view_confirmation_additional_label' => $viewPath . 'Confirmation/Additional/Label.php',
-       'tx_form_view_confirmation_additional_legend' => $viewPath . 'Confirmation/Additional/Legend.php',
-
-       'tx_form_view_confirmation_element_abstract' => $viewPath . 'Confirmation/Element/Abstract.php',
-       'tx_form_view_confirmation_element_checkboxgroup' => $viewPath . 'Confirmation/Element/Checkboxgroup.php',
-       'tx_form_view_confirmation_element_checkbox' => $viewPath . 'Confirmation/Element/Checkbox.php',
-       'tx_form_view_confirmation_element_container' => $viewPath . 'Confirmation/Element/Container.php',
-       'tx_form_view_confirmation_element_fieldset' => $viewPath . 'Confirmation/Element/Fieldset.php',
-       'tx_form_view_confirmation_element_fileupload' => $viewPath . 'Confirmation/Element/Fileupload.php',
-       'tx_form_view_confirmation_element_optgroup' => $viewPath . 'Confirmation/Element/Optgroup.php',
-       'tx_form_view_confirmation_element_option' => $viewPath . 'Confirmation/Element/Option.php',
-       'tx_form_view_confirmation_element_radiogroup' => $viewPath . 'Confirmation/Element/Radiogroup.php',
-       'tx_form_view_confirmation_element_radio' => $viewPath . 'Confirmation/Element/Radio.php',
-       'tx_form_view_confirmation_element_select' => $viewPath . 'Confirmation/Element/Select.php',
-       'tx_form_view_confirmation_element_textarea' => $viewPath . 'Confirmation/Element/Textarea.php',
-       'tx_form_view_confirmation_element_textline' => $viewPath . 'Confirmation/Element/Textline.php',
-
-       'tx_form_view_form' => $viewPath . 'Form/Form.php',
-
-       'tx_form_view_form_additional' => $viewPath . 'Form/Additional/Additional.php',
-       'tx_form_view_form_additional_error' => $viewPath . 'Form/Additional/Error.php',
-       'tx_form_view_form_additional_label' => $viewPath . 'Form/Additional/Label.php',
-       'tx_form_view_form_additional_legend' => $viewPath . 'Form/Additional/Legend.php',
-       'tx_form_view_form_additional_mandatory' => $viewPath . 'Form/Additional/Mandatory.php',
-
-       'tx_form_view_form_element_abstract' => $viewPath . 'Form/Element/Abstract.php',
-       'tx_form_view_form_element_button' => $viewPath . 'Form/Element/Button.php',
-       'tx_form_view_form_element_checkbox' => $viewPath . 'Form/Element/Checkbox.php',
-       'tx_form_view_form_element_checkboxgroup' => $viewPath . 'Form/Element/Checkboxgroup.php',
-       'tx_form_view_form_element_container' => $viewPath . 'Form/Element/Container.php',
-       'tx_form_view_form_element_content' => $viewPath . 'Form/Element/Content.php',
-       'tx_form_view_form_element_fieldset' => $viewPath . 'Form/Element/Fieldset.php',
-       'tx_form_view_form_element_fileupload' => $viewPath . 'Form/Element/Fileupload.php',
-       'tx_form_view_form_element_hidden' => $viewPath . 'Form/Element/Hidden.php',
-       'tx_form_view_form_element_imagebutton' => $viewPath . 'Form/Element/Imagebutton.php',
-       'tx_form_view_form_element_optgroup' => $viewPath . 'Form/Element/Optgroup.php',
-       'tx_form_view_form_element_option' => $viewPath . 'Form/Element/Option.php',
-       'tx_form_view_form_element_password' => $viewPath . 'Form/Element/Password.php',
-       'tx_form_view_form_element_radio' => $viewPath . 'Form/Element/Radio.php',
-       'tx_form_view_form_element_radiogroup' => $viewPath . 'Form/Element/Radiogroup.php',
-       'tx_form_view_form_element_reset' => $viewPath . 'Form/Element/Reset.php',
-       'tx_form_view_form_element_select' => $viewPath . 'Form/Element/Select.php',
-       'tx_form_view_form_element_submit' => $viewPath . 'Form/Element/Submit.php',
-       'tx_form_view_form_element_textarea' => $viewPath . 'Form/Element/Textarea.php',
-       'tx_form_view_form_element_textline' => $viewPath . 'Form/Element/Textline.php',
-
-       'tx_form_view_mail' => $viewPath . 'Mail/Mail.php',
-       'tx_form_view_mail_html' => $viewPath . 'Mail/Html/Html.php',
-
-       'tx_form_view_mail_html_additional' => $viewPath . 'Mail/Html/Additional/Additional.php',
-       'tx_form_view_mail_html_additional_label' => $viewPath . 'Mail/Html/Additional/Label.php',
-       'tx_form_view_mail_html_additional_legend' => $viewPath . 'Mail/Html/Additional/Legend.php',
-
-       'tx_form_view_mail_html_element_abstract' => $viewPath . 'Mail/Html/Element/Abstract.php',
-       'tx_form_view_mail_html_element_checkbox' => $viewPath . 'Mail/Html/Element/Checkbox.php',
-       'tx_form_view_mail_html_element_checkboxgroup' => $viewPath . 'Mail/Html/Element/Checkboxgroup.php',
-       'tx_form_view_mail_html_element_container' => $viewPath . 'Mail/Html/Element/Container.php',
-       'tx_form_view_mail_html_element_fieldset' => $viewPath . 'Mail/Html/Element/Fieldset.php',
-       'tx_form_view_mail_html_element_fileupload' => $viewPath . 'Mail/Html/Element/Fileupload.php',
-       'tx_form_view_mail_html_element_hidden' => $viewPath . 'Mail/Html/Element/Hidden.php',
-       'tx_form_view_mail_html_element_optgroup' => $viewPath . 'Mail/Html/Element/Optgroup.php',
-       'tx_form_view_mail_html_element_option' => $viewPath . 'Mail/Html/Element/Option.php',
-       'tx_form_view_mail_html_element_radio' => $viewPath . 'Mail/Html/Element/Radio.php',
-       'tx_form_view_mail_html_element_radiogroup' => $viewPath . 'Mail/Html/Element/Radiogroup.php',
-       'tx_form_view_mail_html_element_select' => $viewPath . 'Mail/Html/Element/Select.php',
-       'tx_form_view_mail_html_element_textarea' => $viewPath . 'Mail/Html/Element/Textarea.php',
-       'tx_form_view_mail_html_element_textline' => $viewPath . 'Mail/Html/Element/Textline.php',
-
-       'tx_form_view_mail_plain' => $viewPath . 'Mail/Plain/Plain.php',
-       'tx_form_view_mail_plain_element' => $viewPath . 'Mail/Plain/Element/Element.php',
-       'tx_form_view_mail_plain_element_checkbox' => $viewPath . 'Mail/Plain/Element/Checkbox.php',
-       'tx_form_view_mail_plain_element_checkboxgroup' => $viewPath . 'Mail/Plain/Element/Checkboxgroup.php',
-       'tx_form_view_mail_plain_element_container' => $viewPath . 'Mail/Plain/Element/Container.php',
-       'tx_form_view_mail_plain_element_fieldset' => $viewPath . 'Mail/Plain/Element/Fieldset.php',
-       'tx_form_view_mail_plain_element_hidden' => $viewPath . 'Mail/Plain/Element/Hidden.php',
-       'tx_form_view_mail_plain_element_optgroup' => $viewPath . 'Mail/Plain/Element/Optgroup.php',
-       'tx_form_view_mail_plain_element_option' => $viewPath . 'Mail/Plain/Element/Option.php',
-       'tx_form_view_mail_plain_element_radio' => $viewPath . 'Mail/Plain/Element/Radio.php',
-       'tx_form_view_mail_plain_element_radiogroup' => $viewPath . 'Mail/Plain/Element/Radiogroup.php',
-       'tx_form_view_mail_plain_element_select' => $viewPath . 'Mail/Plain/Element/Select.php',
-       'tx_form_view_mail_plain_element_textarea' => $viewPath . 'Mail/Plain/Element/Textarea.php',
-       'tx_form_view_mail_plain_element_textline' => $viewPath . 'Mail/Plain/Element/Textline.php',
-
-       'tx_form_view_wizard_load' => $viewPath . 'Wizard/Load.php',
-       'tx_form_view_wizard_save' => $viewPath . 'Wizard/Save.php',
-       'tx_form_view_wizard_wizard' => $viewPath . 'Wizard/Wizard.php'
+       'tx_form_common' => $extensionClassesPath . 'Common.php',
+       'tx_form_controller_form' => $extensionClassesPath . 'Controller/Form.php',
+       'tx_form_controller_wizard' => $extensionClassesPath . 'Controller/Wizard.php',
+       'tx_form_domain_factory_jsontotyposcript' => $extensionClassesPath . 'Domain/Factory/JsonToTyposcript.php',
+       'tx_form_domain_factory_typoscript' => $extensionClassesPath . 'Domain/Factory/Typoscript.php',
+       'tx_form_domain_factory_typoscripttojson' => $extensionClassesPath . 'Domain/Factory/TyposcriptToJson.php',
+       'tx_form_domain_model_content' => $extensionClassesPath . 'Domain/Model/Content.php',
+       'tx_form_domain_model_form' => $extensionClassesPath . 'Domain/Model/Form.php',
+       'tx_form_domain_model_additional_abstract' => $extensionClassesPath . 'Domain/Model/Additional/Abstract.php',
+       'tx_form_domain_model_additional_additional' => $extensionClassesPath . 'Domain/Model/Additional/Additional.php',
+       'tx_form_domain_model_additional_error' => $extensionClassesPath . 'Domain/Model/Additional/Error.php',
+       'tx_form_domain_model_additional_interface' => $extensionClassesPath . 'Domain/Model/Additional/Interface.php',
+       'tx_form_domain_model_additional_label' => $extensionClassesPath . 'Domain/Model/Additional/Label.php',
+       'tx_form_domain_model_additional_legend' => $extensionClassesPath . 'Domain/Model/Additional/Legend.php',
+       'tx_form_domain_model_additional_mandatory' => $extensionClassesPath . 'Domain/Model/Additional/Mandatory.php',
+       'tx_form_domain_model_attributes_abstract' => $extensionClassesPath . 'Domain/Model/Attributes/Abstract.php',
+       'tx_form_domain_model_attributes_accept' => $extensionClassesPath . 'Domain/Model/Attributes/Accept.php',
+       'tx_form_domain_model_attributes_acceptcharset' => $extensionClassesPath . 'Domain/Model/Attributes/Acceptcharset.php',
+       'tx_form_domain_model_attributes_accesskey' => $extensionClassesPath . 'Domain/Model/Attributes/Accesskey.php',
+       'tx_form_domain_model_attributes_action' => $extensionClassesPath . 'Domain/Model/Attributes/Action.php',
+       'tx_form_domain_model_attributes_alt' => $extensionClassesPath . 'Domain/Model/Attributes/Alt.php',
+       'tx_form_domain_model_attributes_attributes' => $extensionClassesPath . 'Domain/Model/Attributes/Attributes.php',
+       'tx_form_domain_model_attributes_checked' => $extensionClassesPath . 'Domain/Model/Attributes/Checked.php',
+       'tx_form_domain_model_attributes_class' => $extensionClassesPath . 'Domain/Model/Attributes/Class.php',
+       'tx_form_domain_model_attributes_cols' => $extensionClassesPath . 'Domain/Model/Attributes/Cols.php',
+       'tx_form_domain_model_attributes_dir' => $extensionClassesPath . 'Domain/Model/Attributes/Dir.php',
+       'tx_form_domain_model_attributes_disabled' => $extensionClassesPath . 'Domain/Model/Attributes/Disabled.php',
+       'tx_form_domain_model_attributes_enctype' => $extensionClassesPath . 'Domain/Model/Attributes/Enctype.php',
+       'tx_form_domain_model_attributes_id' => $extensionClassesPath . 'Domain/Model/Attributes/Id.php',
+       'tx_form_domain_model_attributes_interface' => $extensionClassesPath . 'Domain/Model/Attributes/Interface.php',
+       'tx_form_domain_model_attributes_label' => $extensionClassesPath . 'Domain/Model/Attributes/Label.php',
+       'tx_form_domain_model_attributes_lang' => $extensionClassesPath . 'Domain/Model/Attributes/Lang.php',
+       'tx_form_domain_model_attributes_maxlength' => $extensionClassesPath . 'Domain/Model/Attributes/Maxlength.php',
+       'tx_form_domain_model_attributes_method' => $extensionClassesPath . 'Domain/Model/Attributes/Method.php',
+       'tx_form_domain_model_attributes_multiple' => $extensionClassesPath . 'Domain/Model/Attributes/Multiple.php',
+       'tx_form_domain_model_attributes_name' => $extensionClassesPath . 'Domain/Model/Attributes/Name.php',
+       'tx_form_domain_model_attributes_readonly' => $extensionClassesPath . 'Domain/Model/Attributes/Readonly.php',
+       'tx_form_domain_model_attributes_rows' => $extensionClassesPath . 'Domain/Model/Attributes/Rows.php',
+       'tx_form_domain_model_attributes_selected' => $extensionClassesPath . 'Domain/Model/Attributes/Selected.php',
+       'tx_form_domain_model_attributes_size' => $extensionClassesPath . 'Domain/Model/Attributes/Size.php',
+       'tx_form_domain_model_attributes_src' => $extensionClassesPath . 'Domain/Model/Attributes/Src.php',
+       'tx_form_domain_model_attributes_style' => $extensionClassesPath . 'Domain/Model/Attributes/Style.php',
+       'tx_form_domain_model_attributes_tabindex' => $extensionClassesPath . 'Domain/Model/Attributes/Tabindex.php',
+       'tx_form_domain_model_attributes_title' => $extensionClassesPath . 'Domain/Model/Attributes/Title.php',
+       'tx_form_domain_model_attributes_type' => $extensionClassesPath . 'Domain/Model/Attributes/Type.php',
+       'tx_form_domain_model_attributes_value' => $extensionClassesPath . 'Domain/Model/Attributes/Value.php',
+       'tx_form_domain_model_element_abstract' => $extensionClassesPath . 'Domain/Model/Element/Abstract.php',
+       'tx_form_domain_model_element_button' => $extensionClassesPath . 'Domain/Model/Element/Button.php',
+       'tx_form_domain_model_element_checkbox' => $extensionClassesPath . 'Domain/Model/Element/Checkbox.php',
+       'tx_form_domain_model_element_checkboxgroup' => $extensionClassesPath . 'Domain/Model/Element/Checkboxgroup.php',
+       'tx_form_domain_model_element_container' => $extensionClassesPath . 'Domain/Model/Element/Container.php',
+       'tx_form_domain_model_element_content' => $extensionClassesPath . 'Domain/Model/Element/Content.php',
+       'tx_form_domain_model_element_fieldset' => $extensionClassesPath . 'Domain/Model/Element/Fieldset.php',
+       'tx_form_domain_model_element_fileupload' => $extensionClassesPath . 'Domain/Model/Element/Fileupload.php',
+       'tx_form_domain_model_element_hidden' => $extensionClassesPath . 'Domain/Model/Element/Hidden.php',
+       'tx_form_domain_model_element_imagebutton' => $extensionClassesPath . 'Domain/Model/Element/Imagebutton.php',
+       'tx_form_domain_model_element_optgroup' => $extensionClassesPath . 'Domain/Model/Element/Optgroup.php',
+       'tx_form_domain_model_element_option' => $extensionClassesPath . 'Domain/Model/Element/Option.php',
+       'tx_form_domain_model_element_password' => $extensionClassesPath . 'Domain/Model/Element/Password.php',
+       'tx_form_domain_model_element_radio' => $extensionClassesPath . 'Domain/Model/Element/Radio.php',
+       'tx_form_domain_model_element_radiogroup' => $extensionClassesPath . 'Domain/Model/Element/Radiogroup.php',
+       'tx_form_domain_model_element_reset' => $extensionClassesPath . 'Domain/Model/Element/Reset.php',
+       'tx_form_domain_model_element_select' => $extensionClassesPath . 'Domain/Model/Element/Select.php',
+       'tx_form_domain_model_element_submit' => $extensionClassesPath . 'Domain/Model/Element/Submit.php',
+       'tx_form_domain_model_element_textarea' => $extensionClassesPath . 'Domain/Model/Element/Textarea.php',
+       'tx_form_domain_model_element_textline' => $extensionClassesPath . 'Domain/Model/Element/Textline.php',
+       'tx_form_domain_model_json_button' => $extensionClassesPath . 'Domain/Model/JSON/Button.php',
+       'tx_form_domain_model_json_checkbox' => $extensionClassesPath . 'Domain/Model/JSON/Checkbox.php',
+       'tx_form_domain_model_json_checkboxgroup' => $extensionClassesPath . 'Domain/Model/JSON/Checkboxgroup.php',
+       'tx_form_domain_model_json_container' => $extensionClassesPath . 'Domain/Model/JSON/Container.php',
+       'tx_form_domain_model_json_element' => $extensionClassesPath . 'Domain/Model/JSON/Element.php',
+       'tx_form_domain_model_json_fieldset' => $extensionClassesPath . 'Domain/Model/JSON/Fieldset.php',
+       'tx_form_domain_model_json_fileupload' => $extensionClassesPath . 'Domain/Model/JSON/Fileupload.php',
+       'tx_form_domain_model_json_form' => $extensionClassesPath . 'Domain/Model/JSON/Form.php',
+       'tx_form_domain_model_json_header' => $extensionClassesPath . 'Domain/Model/JSON/Header.php',
+       'tx_form_domain_model_json_hidden' => $extensionClassesPath . 'Domain/Model/JSON/Hidden.php',
+       'tx_form_domain_model_json_name' => $extensionClassesPath . 'Domain/Model/JSON/Name.php',
+       'tx_form_domain_model_json_password' => $extensionClassesPath . 'Domain/Model/JSON/Password.php',
+       'tx_form_domain_model_json_radio' => $extensionClassesPath . 'Domain/Model/JSON/Radio.php',
+       'tx_form_domain_model_json_radiogroup' => $extensionClassesPath . 'Domain/Model/JSON/Radiogroup.php',
+       'tx_form_domain_model_json_reset' => $extensionClassesPath . 'Domain/Model/JSON/Reset.php',
+       'tx_form_domain_model_json_select' => $extensionClassesPath . 'Domain/Model/JSON/Select.php',
+       'tx_form_domain_model_json_submit' => $extensionClassesPath . 'Domain/Model/JSON/Submit.php',
+       'tx_form_domain_model_json_textarea' => $extensionClassesPath . 'Domain/Model/JSON/Textarea.php',
+       'tx_form_domain_model_json_textline' => $extensionClassesPath . 'Domain/Model/JSON/Textline.php',
+       'tx_form_domain_repository_content' => $extensionClassesPath . 'Domain/Repository/Content.php',
+       'tx_form_exception_general' => $extensionClassesPath . 'Exception/class.tx_form_exception_general.php',
+       'tx_form_exception_loader' => $extensionClassesPath . 'Exception/class.tx_form_exception_loader.php',
+       'tx_form_system_elementcounter' => $extensionClassesPath . 'System/Elementcounter/Elementcounter.php',
+       'tx_form_system_filter_alphabetic' => $extensionClassesPath . 'System/Filter/Alphabetic.php',
+       'tx_form_system_filter_alphanumeric' => $extensionClassesPath . 'System/Filter/Alphanumeric.php',
+       'tx_form_system_filter_currency' => $extensionClassesPath . 'System/Filter/Currency.php',
+       'tx_form_system_filter_digit' => $extensionClassesPath . 'System/Filter/Digit.php',
+       'tx_form_system_filter' => $extensionClassesPath . 'System/Filter/Filter.php',
+       'tx_form_system_filter_integer' => $extensionClassesPath . 'System/Filter/Integer.php',
+       'tx_form_system_filter_interface' => $extensionClassesPath . 'System/Filter/Interface.php',
+       'tx_form_system_filter_lowercase' => $extensionClassesPath . 'System/Filter/Lowercase.php',
+       'tx_form_system_filter_regexp' => $extensionClassesPath . 'System/Filter/Regexp.php',
+       'tx_form_system_filter_removexss' => $extensionClassesPath . 'System/Filter/Removexss.php',
+       'tx_form_system_filter_stripnewlines' => $extensionClassesPath . 'System/Filter/Stripnewlines.php',
+       'tx_form_system_filter_titlecase' => $extensionClassesPath . 'System/Filter/Titlecase.php',
+       'tx_form_system_filter_trim' => $extensionClassesPath . 'System/Filter/Trim.php',
+       'tx_form_system_filter_uppercase' => $extensionClassesPath . 'System/Filter/Uppercase.php',
+       'tx_form_system_layout' => $extensionClassesPath . 'System/Layout/Layout.php',
+       'tx_form_system_loader' => $extensionClassesPath . 'System/Loader/Loader.php',
+       'tx_form_system_localization' => $extensionClassesPath . 'System/Localization/Localization.php',
+       'tx_form_system_postprocessor_mail' => $extensionClassesPath . 'System/Postprocessor/Mail.php',
+       'tx_form_system_postprocessor' => $extensionClassesPath . 'System/Postprocessor/Postprocessor.php',
+       'tx_form_system_request' => $extensionClassesPath . 'System/Request/Request.php',
+       'tx_form_system_validate_abstract' => $extensionClassesPath . 'System/Validate/Abstract.php',
+       'tx_form_system_validate_alphabetic' => $extensionClassesPath . 'System/Validate/Alphabetic.php',
+       'tx_form_system_validate_alphanumeric' => $extensionClassesPath . 'System/Validate/Alphanumeric.php',
+       'tx_form_system_validate_between' => $extensionClassesPath . 'System/Validate/Between.php',
+       'tx_form_system_validate_date' => $extensionClassesPath . 'System/Validate/Date.php',
+       'tx_form_system_validate_digit' => $extensionClassesPath . 'System/Validate/Digit.php',
+       'tx_form_system_validate_email' => $extensionClassesPath . 'System/Validate/Email.php',
+       'tx_form_system_validate_equals' => $extensionClassesPath . 'System/Validate/Equals.php',
+       'tx_form_system_validate_fileallowedtypes' => $extensionClassesPath . 'System/Validate/Fileallowedtypes.php',
+       'tx_form_system_validate_filemaximumsize' => $extensionClassesPath . 'System/Validate/Filemaximumsize.php',
+       'tx_form_system_validate_fileminimumsize' => $extensionClassesPath . 'System/Validate/Fileminimumsize.php',
+       'tx_form_system_validate_float' => $extensionClassesPath . 'System/Validate/Float.php',
+       'tx_form_system_validate_greaterthan' => $extensionClassesPath . 'System/Validate/Greaterthan.php',
+       'tx_form_system_validate_inarray' => $extensionClassesPath . 'System/Validate/Inarray.php',
+       'tx_form_system_validate_integer' => $extensionClassesPath . 'System/Validate/Integer.php',
+       'tx_form_system_validate_interface' => $extensionClassesPath . 'System/Validate/Interface.php',
+       'tx_form_system_validate_ip' => $extensionClassesPath . 'System/Validate/Ip.php',
+       'tx_form_system_validate_length' => $extensionClassesPath . 'System/Validate/Length.php',
+       'tx_form_system_validate_lessthan' => $extensionClassesPath . 'System/Validate/Lessthan.php',
+       'tx_form_system_validate_regexp' => $extensionClassesPath . 'System/Validate/Regexp.php',
+       'tx_form_system_validate_required' => $extensionClassesPath . 'System/Validate/Required.php',
+       'tx_form_system_validate_uri' => $extensionClassesPath . 'System/Validate/Uri.php',
+       'tx_form_system_validate' => $extensionClassesPath . 'System/Validate/Validate.php',
+       'tx_form_view_confirmation' => $extensionClassesPath . 'View/Confirmation/Confirmation.php',
+       'tx_form_view_confirmation_additional' => $extensionClassesPath . 'View/Confirmation/Additional/Additional.php',
+       'tx_form_view_confirmation_additional_label' => $extensionClassesPath . 'View/Confirmation/Additional/Label.php',
+       'tx_form_view_confirmation_additional_legend' => $extensionClassesPath . 'View/Confirmation/Additional/Legend.php',
+       'tx_form_view_confirmation_element_abstract' => $extensionClassesPath . 'View/Confirmation/Element/Abstract.php',
+       'tx_form_view_confirmation_element_checkbox' => $extensionClassesPath . 'View/Confirmation/Element/Checkbox.php',
+       'tx_form_view_confirmation_element_checkboxgroup' => $extensionClassesPath . 'View/Confirmation/Element/Checkboxgroup.php',
+       'tx_form_view_confirmation_element_container' => $extensionClassesPath . 'View/Confirmation/Element/Container.php',
+       'tx_form_view_confirmation_element_fieldset' => $extensionClassesPath . 'View/Confirmation/Element/Fieldset.php',
+       'tx_form_view_confirmation_element_fileupload' => $extensionClassesPath . 'View/Confirmation/Element/Fileupload.php',
+       'tx_form_view_confirmation_element_optgroup' => $extensionClassesPath . 'View/Confirmation/Element/Optgroup.php',
+       'tx_form_view_confirmation_element_option' => $extensionClassesPath . 'View/Confirmation/Element/Option.php',
+       'tx_form_view_confirmation_element_radio' => $extensionClassesPath . 'View/Confirmation/Element/Radio.php',
+       'tx_form_view_confirmation_element_radiogroup' => $extensionClassesPath . 'View/Confirmation/Element/Radiogroup.php',
+       'tx_form_view_confirmation_element_select' => $extensionClassesPath . 'View/Confirmation/Element/Select.php',
+       'tx_form_view_confirmation_element_textarea' => $extensionClassesPath . 'View/Confirmation/Element/Textarea.php',
+       'tx_form_view_confirmation_element_textline' => $extensionClassesPath . 'View/Confirmation/Element/Textline.php',
+       'tx_form_view_form' => $extensionClassesPath . 'View/Form/Form.php',
+       'tx_form_view_form_additional' => $extensionClassesPath . 'View/Form/Additional/Additional.php',
+       'tx_form_view_form_additional_error' => $extensionClassesPath . 'View/Form/Additional/Error.php',
+       'tx_form_view_form_additional_label' => $extensionClassesPath . 'View/Form/Additional/Label.php',
+       'tx_form_view_form_additional_legend' => $extensionClassesPath . 'View/Form/Additional/Legend.php',
+       'tx_form_view_form_additional_mandatory' => $extensionClassesPath . 'View/Form/Additional/Mandatory.php',
+       'tx_form_view_form_element_abstract' => $extensionClassesPath . 'View/Form/Element/Abstract.php',
+       'tx_form_view_form_element_button' => $extensionClassesPath . 'View/Form/Element/Button.php',
+       'tx_form_view_form_element_checkbox' => $extensionClassesPath . 'View/Form/Element/Checkbox.php',
+       'tx_form_view_form_element_checkboxgroup' => $extensionClassesPath . 'View/Form/Element/Checkboxgroup.php',
+       'tx_form_view_form_element_container' => $extensionClassesPath . 'View/Form/Element/Container.php',
+       'tx_form_view_form_element_content' => $extensionClassesPath . 'View/Form/Element/Content.php',
+       'tx_form_view_form_element_fieldset' => $extensionClassesPath . 'View/Form/Element/Fieldset.php',
+       'tx_form_view_form_element_fileupload' => $extensionClassesPath . 'View/Form/Element/Fileupload.php',
+       'tx_form_view_form_element_hidden' => $extensionClassesPath . 'View/Form/Element/Hidden.php',
+       'tx_form_view_form_element_imagebutton' => $extensionClassesPath . 'View/Form/Element/Imagebutton.php',
+       'tx_form_view_form_element_optgroup' => $extensionClassesPath . 'View/Form/Element/Optgroup.php',
+       'tx_form_view_form_element_option' => $extensionClassesPath . 'View/Form/Element/Option.php',
+       'tx_form_view_form_element_password' => $extensionClassesPath . 'View/Form/Element/Password.php',
+       'tx_form_view_form_element_radio' => $extensionClassesPath . 'View/Form/Element/Radio.php',
+       'tx_form_view_form_element_radiogroup' => $extensionClassesPath . 'View/Form/Element/Radiogroup.php',
+       'tx_form_view_form_element_reset' => $extensionClassesPath . 'View/Form/Element/Reset.php',
+       'tx_form_view_form_element_select' => $extensionClassesPath . 'View/Form/Element/Select.php',
+       'tx_form_view_form_element_submit' => $extensionClassesPath . 'View/Form/Element/Submit.php',
+       'tx_form_view_form_element_textarea' => $extensionClassesPath . 'View/Form/Element/Textarea.php',
+       'tx_form_view_form_element_textline' => $extensionClassesPath . 'View/Form/Element/Textline.php',
+       'tx_form_view_mail' => $extensionClassesPath . 'View/Mail/Mail.php',
+       'tx_form_view_mail_html' => $extensionClassesPath . 'View/Mail/Html/Html.php',
+       'tx_form_view_mail_html_additional' => $extensionClassesPath . 'View/Mail/Html/Additional/Additional.php',
+       'tx_form_view_mail_html_additional_label' => $extensionClassesPath . 'View/Mail/Html/Additional/Label.php',
+       'tx_form_view_mail_html_additional_legend' => $extensionClassesPath . 'View/Mail/Html/Additional/Legend.php',
+       'tx_form_view_mail_html_element_abstract' => $extensionClassesPath . 'View/Mail/Html/Element/Abstract.php',
+       'tx_form_view_mail_html_element_checkbox' => $extensionClassesPath . 'View/Mail/Html/Element/Checkbox.php',
+       'tx_form_view_mail_html_element_checkboxgroup' => $extensionClassesPath . 'View/Mail/Html/Element/Checkboxgroup.php',
+       'tx_form_view_mail_html_element_container' => $extensionClassesPath . 'View/Mail/Html/Element/Container.php',
+       'tx_form_view_mail_html_element_fieldset' => $extensionClassesPath . 'View/Mail/Html/Element/Fieldset.php',
+       'tx_form_view_mail_html_element_fileupload' => $extensionClassesPath . 'View/Mail/Html/Element/Fileupload.php',
+       'tx_form_view_mail_html_element_hidden' => $extensionClassesPath . 'View/Mail/Html/Element/Hidden.php',
+       'tx_form_view_mail_html_element_optgroup' => $extensionClassesPath . 'View/Mail/Html/Element/Optgroup.php',
+       'tx_form_view_mail_html_element_option' => $extensionClassesPath . 'View/Mail/Html/Element/Option.php',
+       'tx_form_view_mail_html_element_radio' => $extensionClassesPath . 'View/Mail/Html/Element/Radio.php',
+       'tx_form_view_mail_html_element_radiogroup' => $extensionClassesPath . 'View/Mail/Html/Element/Radiogroup.php',
+       'tx_form_view_mail_html_element_select' => $extensionClassesPath . 'View/Mail/Html/Element/Select.php',
+       'tx_form_view_mail_html_element_textarea' => $extensionClassesPath . 'View/Mail/Html/Element/Textarea.php',
+       'tx_form_view_mail_html_element_textline' => $extensionClassesPath . 'View/Mail/Html/Element/Textline.php',
+       'tx_form_view_mail_plain' => $extensionClassesPath . 'View/Mail/Plain/Plain.php',
+       'tx_form_view_mail_plain_element_checkbox' => $extensionClassesPath . 'View/Mail/Plain/Element/Checkbox.php',
+       'tx_form_view_mail_plain_element_checkboxgroup' => $extensionClassesPath . 'View/Mail/Plain/Element/Checkboxgroup.php',
+       'tx_form_view_mail_plain_element_container' => $extensionClassesPath . 'View/Mail/Plain/Element/Container.php',
+       'tx_form_view_mail_plain_element' => $extensionClassesPath . 'View/Mail/Plain/Element/Element.php',
+       'tx_form_view_mail_plain_element_fieldset' => $extensionClassesPath . 'View/Mail/Plain/Element/Fieldset.php',
+       'tx_form_view_mail_plain_element_fileupload' => $extensionClassesPath . 'View/Mail/Plain/Element/Fileupload.php',
+       'tx_form_view_mail_plain_element_hidden' => $extensionClassesPath . 'View/Mail/Plain/Element/Hidden.php',
+       'tx_form_view_mail_plain_element_optgroup' => $extensionClassesPath . 'View/Mail/Plain/Element/Optgroup.php',
+       'tx_form_view_mail_plain_element_option' => $extensionClassesPath . 'View/Mail/Plain/Element/Option.php',
+       'tx_form_view_mail_plain_element_radio' => $extensionClassesPath . 'View/Mail/Plain/Element/Radio.php',
+       'tx_form_view_mail_plain_element_radiogroup' => $extensionClassesPath . 'View/Mail/Plain/Element/Radiogroup.php',
+       'tx_form_view_mail_plain_element_select' => $extensionClassesPath . 'View/Mail/Plain/Element/Select.php',
+       'tx_form_view_mail_plain_element_textarea' => $extensionClassesPath . 'View/Mail/Plain/Element/Textarea.php',
+       'tx_form_view_mail_plain_element_textline' => $extensionClassesPath . 'View/Mail/Plain/Element/Textline.php',
+       'tx_form_view_wizard_load' => $extensionClassesPath . 'View/Wizard/Load.php',
+       'tx_form_view_wizard_save' => $extensionClassesPath . 'View/Wizard/Save.php',
+       'tx_form_view_wizard_wizard' => $extensionClassesPath . 'View/Wizard/Wizard.php',
 );
-?>
+?>
\ No newline at end of file
index 89927f5..028c59f 100644 (file)
@@ -1,315 +1,9 @@
 <?php
-declare(encoding = 'utf-8');
-
 if (!defined('TYPO3_MODE')) {
        die ('Access denied.');
 }
 
-       // Declare new FORM objects
-$OBJECTS_form = array(
-       'BUTTON',
-       'CHECKBOX',
-       'CHECKBOXGROUP',
-       'FIELDSET',
-       'FILEUPLOAD',
-       'FORM',
-       'FORM_INT',
-       'HIDDEN',
-       'IMAGEBUTTON',
-       'OPTGROUP',
-       'OPTION',
-       'PASSWORD',
-       'RADIO',
-       'RADIOGROUP',
-       'RESET',
-       'SELECT',
-       'SUBMIT',
-       'TEXTAREA',
-       'TEXTLINE'
-);
-       // Assign new FORM objects
-foreach($OBJECTS_form as $formObject) {
-       $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClass'][] = array($formObject, 'EXT:form/Classes/Controller/Form.php:&tx_form_controller');
-}
-       //
-t3lib_extMgm::addPageTSConfig('
-       mod.wizards {
-               newContentElement.wizardItems {
-                       forms.elements {
-                               mailform {
-                                       tt_content_defValues {
-                                               bodytext (
-enctype = multipart/form-data
-method = post
-prefix = tx_form
-                                               )
-                                       }
-                               }
-                       }
-               }
-               form {
-                       defaults {
-                               showTabs = elements, options, form
-                               tabs {
-                                       elements {
-                                               showAccordions = basic, predefined, content
-                                               accordions {
-                                                       basic {
-                                                               showButtons = checkbox, fieldset, fileupload, hidden, password, radio, reset, select, submit, textarea, textline
-                                                       }
-                                                       predefined {
-                                                               showButtons = email, radiogroup, checkboxgroup, name
-                                                       }
-                                                       content {
-                                                               showButtons = header
-                                                       }
-                                               }
-                                       }
-                                       options {
-                                               showAccordions = legend, label, attributes, options, validation, filters, various
-                                               accordions {
-                                                       attributes {
-                                                               showProperties = accept, acceptcharset, accesskey, action, alt, checked, class, cols, dir, disabled, enctype, id, label, lang, maxlength, method, multiple, name, readonly, rows, selected, size, src, style, tabindex, title, type, value
-                                                       }
-                                                       label {
-                                                               showProperties = label
-                                                       }
-                                                       validation {
-                                                               showRules = alphabetic, alphanumeric, between, date, digit, email, equals, fileallowedtypes, filemaximumsize, fileminimumsize, float, greaterthan, inarray, integer, ip, length, lessthan, regexp, required, uri
-                                                               rules {
-                                                                       alphabetic {
-                                                                               showProperties = message, error, breakOnError, showMessage, allowWhiteSpace
-                                                                       }
-                                                                       alphanumeric {
-                                                                               showProperties = message, error, breakOnError, showMessage, allowWhiteSpace
-                                                                       }
-                                                                       between {
-                                                                               showProperties = message, error, breakOnError, showMessage, minimum, maximum, inclusive
-                                                                       }
-                                                                       date {
-                                                                               showProperties = message, error, breakOnError, showMessage, format
-                                                                       }
-                                                                       digit {
-                                                                               showProperties = message, error, breakOnError, showMessage
-                                                                       }
-                                                                       email {
-                                                                               showProperties = message, error, breakOnError, showMessage
-                                                                       }
-                                                                       equals {
-                                                                               showProperties = message, error, breakOnError, showMessage, field
-                                                                       }
-                                                                       fileallowedtypes {
-                                                                               showProperties = message, error, breakOnError, showMessage, types
-                                                                       }
-                                                                       filemaximumsize {
-                                                                               showProperties = message, error, breakOnError, showMessage, maximum
-                                                                       }
-                                                                       fileminimumsize {
-                                                                               showProperties = message, error, breakOnError, showMessage, minimum
-                                                                       }
-                                                                       float {
-                                                                               showProperties = message, error, breakOnError, showMessage
-                                                                       }
-                                                                       greaterthan {
-                                                                               showProperties = message, error, breakOnError, showMessage, minimum
-                                                                       }
-                                                                       inarray {
-                                                                               showProperties = message, error, breakOnError, showMessage, array, strict
-                                                                       }
-                                                                       integer {
-                                                                               showProperties = message, error, breakOnError, showMessage
-                                                                       }
-                                                                       ip {
-                                                                               showProperties = message, error, breakOnError, showMessage
-                                                                       }
-                                                                       length {
-                                                                               showProperties = message, error, breakOnError, showMessage, minimum, maximum
-                                                                       }
-                                                                       lessthan {
-                                                                               showProperties = message, error, breakOnError, showMessage, maximum
-                                                                       }
-                                                                       regexp {
-                                                                               showProperties = message, error, breakOnError, showMessage, expression
-                                                                       }
-                                                                       required {
-                                                                               showProperties = message, error, breakOnError, showMessage
-                                                                       }
-                                                                       uri {
-                                                                               showProperties = message, error, breakOnError, showMessage
-                                                                       }
-                                                               }
-                                                       }
-                                                       filtering {
-                                                               showFilters = alphabetic, alphanumeric, currency, digit, integer, lowercase, regexp, removexss, stripnewlines, titlecase, trim, uppercase
-                                                               filters {
-                                                                       alphabetic {
-                                                                               showProperties = allowWhiteSpace
-                                                                       }
-                                                                       alphanumeric {
-                                                                               showProperties = allowWhiteSpace
-                                                                       }
-                                                                       currency {
-                                                                               showProperties = decimalPoint, thousandSeparator
-                                                                       }
-                                                                       digit {
-                                                                               showProperties =
-                                                                       }
-                                                                       integer {
-                                                                               showProperties =
-                                                                       }
-                                                                       lowercase {
-                                                                               showProperties =
-                                                                       }
-                                                                       regexp {
-                                                                               showProperties = expression
-                                                                       }
-                                                                       removexss {
-                                                                               showProperties =
-                                                                       }
-                                                                       stripnewlines {
-                                                                               showProperties =
-                                                                       }
-                                                                       titlecase {
-                                                                               showProperties =
-                                                                       }
-                                                                       trim {
-                                                                               showProperties = characterList
-                                                                       }
-                                                                       uppercase {
-                                                                               showProperties =
-                                                                       }
-                                                               }
-                                                       }
-                                               }
-                                       }
-                                       form {
-                                               showAccordions = prefix, attributes, postProcessor
-                                               accordions {
-                                                       attributes {
-                                                               showProperties = accept, acceptcharset, action, class, dir, enctype, id, lang, method, name, style, title
-                                                       }
-                                                       postProcessor {
-                                                               showPostProcessors = mail
-                                                               postProcessors {
-                                                                       mail {
-                                                                               showProperties = recipientEmail, senderEmail
-                                                                       }
-                                                               }
-                                                       }
-                                               }
-                                       }
-                               }
-                       }
-                       elements {
-                               button {
-                                       showAccordions = attributes
-                                       accordions {
-                                               attributes {
-                                                       showProperties = value
-                                               }
-                                       }
-                               }
-                               checkbox {
-                                       showAccordions = label, attributes
-                                       accordions {
-                                               attributes {
-                                                       showProperties = name, value
-                                               }
-                                       }
-                               }
-                               fieldset {
-                                       showAccordions = legend
-                               }
-                               fileupload {
-                                       showAccordions = label, attributes, validation
-                                       accordions {
-                                               attributes {
-                                                       showProperties = name
-                                               }
-                                               validation {
-                                                       showRules = required, fileallowedtypes, filemaximumsize, fileminimumsize
-                                               }
-                                       }
-                               }
-                               hidden {
-                                       showAccordions = attributes
-                                       accordions {
-                                               attributes {
-                                                       showProperties = name, value
-                                               }
-                                       }
-                               }
-                               password {
-                                       showAccordions = label, attributes, validation
-                                       accordions {
-                                               attributes {
-                                                       showProperties = name
-                                               }
-                                               validation {
-                                                       showRules = required, equals
-                                               }
-                                       }
-                               }
-                               radio < .checkbox
-                               reset < .button
-                               select {
-                                       showAccordions = label, attributes, options, validation
-                                       accordions {
-                                               attributes {
-                                                       showProperties = name, multiple
-                                               }
-                                               validation {
-                                                       showRules = required
-                                               }
-                                       }
-                               }
-                               submit < .button
-                               textarea {
-                                       showAccordions = label, attributes, validation, filters
-                                       accordions {
-                                               attributes {
-                                                       showProperties = name, cols, rows
-                                               }
-                                               filtering {
-                                                       showFilters = alphabetic, alphanumeric, lowercase, regexp, stripnewlines, titlecase, trim, uppercase
-                                               }
-                                               validation {
-                                                       showRules = alphabetic, alphanumeric, length, regexp, required
-                                               }
-                                       }
-                               }
-                               textline {
-                                       showAccordions = label, attributes, validation, filters
-                                       accordions {
-                                               attributes {
-                                                       showProperties = name
-                                               }
-                                               validation {
-                                                       showRules = alphabetic, alphanumeric, between, date, digit, email, equals, float, greaterthan, inarray, integer, ip, length, lessthan, regexp, required, uri
-                                               }
-                                               filtering {
-                                                       showFilters = alphabetic, alphanumeric, currency, digit, integer, lowercase, regexp, titlecase, trim, uppercase
-                                               }
-                                       }
-                               }
-                               checkboxgroup {
-                                       showAccordions = legend, options, various, validation
-                                       accordions {
-                                               validation {
-                                                       showRules = required
-                                               }
-                                       }
-                               }
-                               email < .textline
-                               header {
-                                       showAccordions = various
-                               }
-                               name {
-                                       showAccordions = legend, various
-                               }
-                               radiogroup < .checkboxgroup
-                       }
-               }
-       }
-');
+tx_form_Common::getInstance()
+       ->initializeFormObjects()
+       ->initializePageTsConfig();
 ?>
\ No newline at end of file
index 8357135..ac31091 100644 (file)
@@ -1,14 +1,10 @@
 <?php
-declare(encoding = 'utf-8');
-
 if (!defined('TYPO3_MODE')) {
        die ('Access denied.');
 }
 
-$PATH_form = t3lib_extMgm::extPath('form');
-
        // Add Default TS to Include static (from extensions)
-t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript/', 'Default TS');
+t3lib_extMgm::addStaticFile($_EXTKEY, 'Resources/Private/Configuration/TypoScript/', 'Default TS');
 
 $TCA['tt_content']['columns']['bodytext']['config']['wizards']['forms'] = array(
        'notNewRecords' => 1,