[FLOW3-general] Labels & form elements

Lukas Lentner lukaslentner at web.de
Tue Feb 23 18:42:09 CET 2010


Hi guys,

when writing the Domain Model you usually give the property-variable-names
such names that they explain their role.

e.g. The Class Person has two properties:
private $mother (a Person)
private $father (a Person)

wouldn't it be great to give these two Properties also labels (and also a
description of how fluid should render the form element to set this
property) by an annotation? Viewhelpers could then work with this
information automaticly!

e.g.
* @label Mother
* @form textfield
Private $mother

Or

* @label <SOME XML REF FOR LOCALISATION>
* @form <SOME RENDER-CLASS FOR COMPLEX CONSTRUCTS>
Private $mother

I'm not so sure if what I ask for is the task of flow3, but I'm sure it's a
feature you don't just use in typo3.
What do you think?

Lukas



More information about the FLOW3-general mailing list