diff --git a/Classes/Factory/AbstractFormFactory.php b/Classes/Factory/AbstractFormFactory.php index 1ccd0be..841979b 100644 --- a/Classes/Factory/AbstractFormFactory.php +++ b/Classes/Factory/AbstractFormFactory.php @@ -51,12 +51,12 @@ * definition. * * The AbstractFormFactory loads the presets from the package settings, from the - * YAML key *TYPO3: Form: presets: [presetName]*. + * YAML key *Neos: Form: presets: [presetName]*. * * The YAML preset definition has the following structure: * *
- * TYPO3:
+ * Neos:
  *   Form:
  *     presets:
  *       default:
@@ -130,7 +130,7 @@ public function initializeObject()
     public function getPresetConfiguration($presetName)
     {
         if (!isset($this->formSettings['presets'][$presetName])) {
-            throw new \Neos\Form\Exception\PresetNotFoundException(sprintf('The Preset "%s" was not found underneath TYPO3: Form: presets.', $presetName), 1325685498);
+            throw new \Neos\Form\Exception\PresetNotFoundException(sprintf('The Preset "%s" was not found underneath Neos: Form: presets.', $presetName), 1325685498);
         }
         $preset = $this->formSettings['presets'][$presetName];
         if (isset($preset['parentPreset'])) {
diff --git a/Classes/Finishers/EmailFinisher.php b/Classes/Finishers/EmailFinisher.php
index 42ddd98..cf7e4e0 100644
--- a/Classes/Finishers/EmailFinisher.php
+++ b/Classes/Finishers/EmailFinisher.php
@@ -96,7 +96,7 @@ protected function executeInternal()
             throw new FinisherException('The option "senderAddress" must be set for the EmailFinisher.', 1327060210);
         }
 
-        $mail = new \TYPO3\SwiftMailer\Message();
+        $mail = new \Neos\SwiftMailer\Message();
 
         $mail
             ->setFrom(array($senderAddress => $senderName))
diff --git a/Documentation/adjusting-form-output.rst b/Documentation/adjusting-form-output.rst
index d596ec6..dcaf640 100644
--- a/Documentation/adjusting-form-output.rst
+++ b/Documentation/adjusting-form-output.rst
@@ -35,7 +35,7 @@ file, like in the following example:
 
 .. code-block:: yaml
 
-	TYPO3:
+	Neos:
 	  Form:
 	    presets:
 	      preset1:
@@ -160,7 +160,7 @@ contents:
 
 .. code-block:: yaml
 
-	TYPO3:
+	Neos:
 	  Form:
 	    presets:
 	      myCustom:
@@ -221,7 +221,7 @@ Adjust ``Your.Package/Configuration/Settings.yaml`` accordingly:
 
 .. code-block:: yaml
 
-	TYPO3:
+	Neos:
 	  Form:
 	    presets:
 	      myCustom:
@@ -361,27 +361,27 @@ Now, you only need to adjust the form definition in order to use the new templat
 
 .. code-block:: yaml
 
-	TYPO3:
+	Neos:
 	  Form:
-	  presets:
-	    ########### CUSTOM PRESETS ###########
+	    presets:
+	      ########### CUSTOM PRESETS ###########
 
-	    myCustom:
-	      title: 'Custom Elements'
-	      parentPreset: 'default'
-	      formElementTypes:
+	      myCustom:
+	        title: 'Custom Elements'
+	        parentPreset: 'default'
+	        formElementTypes:
 
-	         # ...
+	           # ...
 
-	         ### override template path of Neos.Form:Form ###
-	        'Neos.Form:Form':
-	          renderingOptions:
-	            templatePathPattern: 'resource://Neos.FormExample/Private/CustomElements/Form.html'
+	           ### override template path of Neos.Form:Form ###
+	          'Neos.Form:Form':
+	            renderingOptions:
+	              templatePathPattern: 'resource://Neos.FormExample/Private/CustomElements/Form.html'
 
-	         ### override default layout path ###
-	        'Neos.Form:Base':
-	          renderingOptions:
-	            layoutPathPattern: 'resource://Neos.FormExample/Private/CustomElements/Layouts/{@type}.html'
+	           ### override default layout path ###
+	          'Neos.Form:Base':
+	            renderingOptions:
+	              layoutPathPattern: 'resource://Neos.FormExample/Private/CustomElements/Layouts/{@type}.html'
 
 .. tip:: You can use **placeholders** in ``templatePathPattern``, ``partialPathPattern`` and ``layoutPathPattern``:
    ``{@package}`` will be replaced by the package key and ``{@type}`` by the current form element type
@@ -402,7 +402,7 @@ two radio buttons for ``Female`` and ``Male``. That's just a matter of a few lin
 
 .. code-block:: yaml
 
-	TYPO3:
+	Neos:
 	  Form:
 	    presets:
 	       ########### CUSTOM PRESETS ###########
diff --git a/Documentation/configuring-form-builder.rst b/Documentation/configuring-form-builder.rst
index 9b33345..a4b74d2 100644
--- a/Documentation/configuring-form-builder.rst
+++ b/Documentation/configuring-form-builder.rst
@@ -10,7 +10,7 @@ Let's say you have created your form element, and want to make it available insi
 
 .. code-block:: yaml
 
-	# we are now inside TYPO3:Form:presets:[presetName]
+	# we are now inside Neos:Form:presets:[presetName]
 	formElementTypes:
 	  'Your.Package:YourFormElement':
 	    # the definitions for your form element
@@ -35,7 +35,7 @@ All form element groups are defined inside ``formElementGroups`` inside the pres
 
 .. code-block:: yaml
 
-	# we are now inside TYPO3:Form:presets:[presetName]
+	# we are now inside Neos:Form:presets:[presetName]
 	formElementGroups:
 	  specialCustom:
 	    sorting: 500
@@ -54,7 +54,7 @@ Here follows the full configuration for the ``ProgrammingLanguageSelect`` (which
 
 .. code-block:: yaml
 
-	# we are now inside TYPO3:Form:presets:[presetName]
+	# we are now inside Neos:Form:presets:[presetName]
 	formElementTypes:
 	  'Neos.FormExample:ProgrammingLanguageSelect':
 	    superTypes:
@@ -100,7 +100,7 @@ Choosing which strategy to use depends mostly on the expected usage patterns:
 
 	.. code-block:: yaml
 
-		# we are now inside TYPO3:Form:presets:[presetName]
+		# we are now inside Neos:Form:presets:[presetName]
 		formElementTypes:
 		  'Neos.FormExample:GenderSelect':
 		    formBuilder:
@@ -123,14 +123,14 @@ This can be configured as follows:
 
 .. code-block:: yaml
 
-	# we are now inside TYPO3:Form:presets:[presetName]
+	# we are now inside Neos:Form:presets:[presetName]
 	formElementTypes:
 	  'Neos.Form:TextMixin': # or any other type here
 	    formBuilder:
 	      editors:
 	        validation:
 	          availableValidators:
-	            'TYPO3.Flow:StringLength': # or any other validator
+	            'Neos.Flow:StringLength': # or any other validator
 	              # mark this validator required such that it is always shown.
 	              required: true
 
@@ -141,7 +141,7 @@ The same works for Finishers, for example the following configuration makes the
 
 .. code-block:: yaml
 
-	# we are now inside TYPO3:Form:presets:[presetName]
+	# we are now inside Neos:Form:presets:[presetName]
 	formElementTypes:
 	  'Neos.Form:Form':
 	    formBuilder:
diff --git a/Documentation/configuring-form-yaml.rst b/Documentation/configuring-form-yaml.rst
index f5f9099..11a5fa5 100644
--- a/Documentation/configuring-form-yaml.rst
+++ b/Documentation/configuring-form-yaml.rst
@@ -12,7 +12,7 @@ configuration is stored. This is done in ``Settings.yaml``:
 
 .. code-block:: yaml
 
-    TYPO3:
+    Neos:
       Form:
         yamlPersistenceManager:
           savePath: 'resource://AcmeCom.SomePackage/Private/Form/'
@@ -63,20 +63,20 @@ The following YAML is stored as ``contact.yaml``:
             identifier: name
             label: 'Name'
             validators:
-              - identifier: 'TYPO3.Flow:NotEmpty'
+              - identifier: 'Neos.Flow:NotEmpty'
           -
             type: 'Neos.Form:SingleLineText'
             identifier: email
             label: 'Email'
             validators:
-              - identifier: 'TYPO3.Flow:NotEmpty'
-              - identifier: 'TYPO3.Flow:EmailAddress'
+              - identifier: 'Neos.Flow:NotEmpty'
+              - identifier: 'Neos.Flow:EmailAddress'
           -
             type: 'Neos.Form:MultiLineText'
             identifier: message
             label: 'Message'
             validators:
-              - identifier: 'TYPO3.Flow:NotEmpty'
+              - identifier: 'Neos.Flow:NotEmpty'
     finishers:
       -
         identifier: 'Neos.Form:Email'
diff --git a/Documentation/extending-form-api.rst b/Documentation/extending-form-api.rst
index c0d9c02..1f7969a 100644
--- a/Documentation/extending-form-api.rst
+++ b/Documentation/extending-form-api.rst
@@ -89,7 +89,7 @@ For this create a new PHP class at ``Your.Package/Classes/FormElements/Condition
 	      if ($triggerValue === NULL || $triggerValue === '') {
 	         return;
 	      }
-	      $this->addValidator(new \TYPO3\Flow\Validation\Validator\NotEmptyValidator());
+	      $this->addValidator(new \Neos\Flow\Validation\Validator\NotEmptyValidator());
 	   }
 	}
 
@@ -106,7 +106,7 @@ In order to use the new Form Element type you first have to extend the Form Defi
 
 .. code-block:: yaml
 
-	TYPO3:
+	Neos:
 	  Form:
 	    presets:
 	      somePreset:
diff --git a/Documentation/extending-form-builder.rst b/Documentation/extending-form-builder.rst
index d792ae3..7cd30ca 100644
--- a/Documentation/extending-form-builder.rst
+++ b/Documentation/extending-form-builder.rst
@@ -21,7 +21,7 @@ Let's say you want to adjust the form builder with a custom CSS file inside ``Yo
 
 .. code-block:: yaml
 
-	TYPO3:
+	Neos:
 	  FormBuilder:
 	    stylesheets:
 	      customAdjustments:
@@ -50,18 +50,18 @@ The default template is located inside ``Neos.FormBuilder/Resources/Private/Form
 
 	

Form Builder - {{Neos.FormBuilder.Model.Form.formDefinition.label}}

{{#if Neos.FormBuilder.Model.Form.currentlyLoadingPreview}} - Loading.. + Loading.. {{/if}} -