Änderungen von Dokument Registration
Zuletzt geändert von teamwire004 am 2025/04/01 07:23
Von Version 4.1
bearbeitet von teamwire005
am 2025/01/07 08:37
am 2025/01/07 08:37
Änderungskommentar:
Install extension [org.xwiki.platform:xwiki-platform-administration-ui/16.10.2]
Auf Version 5.1
bearbeitet von teamwire004
am 2025/02/04 08:16
am 2025/02/04 08:16
Änderungskommentar:
Install extension [org.xwiki.platform:xwiki-platform-administration-ui/16.10.3]
Zusammenfassung
-
Seiteneigenschaften (2 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Dokument-Autor
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.teamwire00 51 +XWiki.teamwire004 - Inhalt
-
... ... @@ -308,9 +308,11 @@ 308 308 ## If the submit button has been pressed, then we test the input and maybe create the user. 309 309 #if($request.getParameter('xwikiname')) 310 310 ## Do server side validation of input fields. 311 - ## This must not be in a #set directive as it will output messages if something goes wrong. 312 - #validateFields($fields, $request) 313 - ## If server side validation was successfull, create the user 311 + ## This will output messages if something goes wrong, nothing if everything is alright. 312 + ## We need to trim the output so that we can keep indentations in the validation script. 313 + #set ($validationText = $stringtool.trim("#validateFields($fields, $request)")) 314 + $validationText## 315 + ## If server side validation was successful, create the user 314 314 #if($allFieldsValid) 315 315 #createUser($fields, $request, $response, $doAfterRegistration) 316 316 #end