[TYPO3-50-general] Validator: unique users

Steffen Ritter info at rs-websystems.de
Mon Feb 7 10:35:52 CET 2011


Am 07.02.2011 10:34, schrieb Steffen Ritter:
> Am 07.02.2011 09:15, schrieb Julian Kleinhans:
>> Hi Bastian,
>>
>> thanks for your reply!
>> The Problem here is that i must use the flashMessageContainer.. then i
>> have some messages in the "form.errors" viewhelper and this one in the
>> flashMessageConatiner.. it was beatifull if i can add my own errors like
>>
>> if ($this->userRepository->findOneByUsername($username) !== NULL) {
>> $this->error->add('myForm', 'username', 'Username already used');
>> $this->redirect(...);
>> }
>>
>
> This is possible :) if have this in a controller... I could give you
> another one, which also allows property.subproperty.subsubproperty
> syntax...

ah fuck, thought I've been in typo3v4mvc... this only applies to 
extbase, should be possible with adaption in v5, too



More information about the TYPO3-project-5_0-general mailing list