[TYPO3-mvc] Fluid Form Errors with new property-mapper Extbase 1.4

Wolfgang Rock Wolfgang.Rock at comnex.net
Wed Nov 23 13:56:39 CET 2011


Hi,

I added the issue tot he Extbase-bugtracker and the extension-builder-bugtracker. 

Kind regards,
Wolfgang
______________________________________
ComneX - Computer und Netzwerk GmbH
Dr. Wolfgang Rock
Sossenstr. 11
A-2380 Perchtoldsdorf
 
tel:  +43 1 8691981 15
fax: +43 1 8691981 90
web: http://www.comnex.net


-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von Henjo Hoeksma
Gesendet: Donnerstag, 17. November 2011 12:55
An: TYPO3 v4 MVC project
Betreff: Re: [TYPO3-mvc] Fluid Form Errors with new property-mapper Extbase 1.4

Hi Wolfgang,

could you add this to the issue tracker? If you can provide the patch along with it, that would be great. (BTW: I am not sure if there is an issue for this already, so you might want to check that out first).

Thanks!

Kind regards,

Henjo

Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.


On Wed, Nov 16, 2011 at 21:12, Wolfgang Rock <Wolfgang.Rock at comnex.net>wrote:

> Hi list,
>
> I'm using TYPO3 4.6.0 with Extbase 1.4 with new property-mapper and 
> came about the problem that the ErrorForms.html Fluid-template, which 
> is generated by the extension-builder did not display any errors.
> After debugging I found that the ErrorForms-content is deprecated, but 
> the way how to do it in the class-comment of 
> Tx_Fluid_ViewHelpers_Form_ValidationResultsViewHelper  is still the old one.
>
> After putting following code from FLOW3 into FormErrors.html, it 
> worked as expected (you have to replace {object} with the objectModel 
> the form is made for):
>
> <f:form.validationResults for="{object}">
>    <f:if condition="{validationResults.flattenedErrors}">
>        <ul>
>                <f:for each="{validationResults.flattenedErrors}"
> key="propertyPath" as="errors">
>                    <li>
>                        {propertyPath}: <ul>
>                            <f:for each="{errors}"
> as="error"><li>{error}</li></f:for>
>                        </ul>
>                    </li>
>
>                </f:for>
>                </ul>
>    </f:if>
> </f:form.validationResults>
>
>
> Cheers,
> Wolfgang Rock
>
>
>
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4m
> vc
>
_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc


More information about the TYPO3-project-typo3v4mvc mailing list