[FLOW3-general] Fluid Subproperty error not shown in form

Martin titusmailing at googlemail.com
Wed Sep 19 17:47:03 CEST 2012


Hi Christian,

I put the requested sources in a pastebin

http://pastebin.com/DJUR9W1C

At the moment, I need to validate, that the PersonName is filled in.

Student extends Party -> contains PersonName

All of the creation is working as it should be. In forge I read about

http://forge.typo3.org/issues/35354 so I also set Configurations.yaml

The PersonName notEmpty Validation is throwing an error, but not shown 
in form.

If you need some of my sources, I am happy to have that fixed, without 
putting all my stuff in my StudentModel without the party...

Thanks for your help!

Cheers

Martin

On 09/19/2012 05:16 PM, "Christian Müller (FLOW3 Team)" wrote:
> Hi Martin,
>
> could you provide your template, or at least the relevant parts from it?
> Maybe it is a bug, but I would like to see the template and then have a
> look at Fluids code to see what is happening.
>
> Cheers,
> Christian
>
> On 19/09/12 15:47, Martin wrote:
>> Dear List,
>>
>> I have an Form to add an Extended Party and the Party will have a
>> PersonNameObject to an Account. Its working.
>>
>> All Validation errors are printed but the class f3-form-error are only
>> shown for the properties of the extended PartyModel, for the
>> Subproperty name.firstName there is no class added to the form.
>>
>> Even I tried to have an custom validator written for my Model, but I
>> don't get the error class shown in the from.
>>
>> How can I make sure the errors are highlighted in the form?
>>
>> Cheers
>>
>> Martin
>
>


More information about the FLOW3-general mailing list