[Flow] More flexible formfield generation

Marc Neuhaus apocalip at gmail.com
Tue Aug 5 21:54:47 CEST 2014


Hey Carsten,

i have agree with Bastian, the gist you proposed seems quite complex and
difficult to comprehend to me.

I created a concept for Expose which i think might solve your use-case,
what do you think? :

https://gist.github.com/mneuhaus/586cb19bd9e856af9afa#file-3_fieldviewhelper-md

Regarding adding min, max, etc i'm quite open to allowing that :)

Cheers
Marc



2014-08-05 19:55 GMT+02:00 Bastian Waidelich <bastian at typo3.org>:

> Carsten Bleicker wrote:
>
> Hi Carsten ;)
>
>
>  i allways struggle uppon the limitation of formfield viewhelpers (missing
>> min/max f.e. on f:textfield).
>>
>
> In that case you'll probably like the "dynamic arguments" feature Marc
> started: https://review.typo3.org/#/c/31708/
>
>
>  Please have a look at this:
>> https://gist.github.com/pumatertion/9f0bbd21810dcafb3837
>>
>
> To be honest I think the resulting fluid code is quite technical and hard
> to comprehend.
>
> Your example (render a list of checkboxes for one collection-property) is
> technically equivalent to a <select multiple /> so personally I'd prefer a
> syntax similar to the select form VH: https://gist.github.com/bwaidelich/
> ea157e1a694b6885c53f
>
>
> But that's just my personal opinion, let's see what others think.
>
> --
> Bastian Waidelich
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>


More information about the Flow mailing list