[Flow] \DateTimeConverter

mario chiari ml at mariochiari.net
Mon Jun 3 15:14:19 CEST 2013


Bastian

thanks for your help. I'll try later and let you know.

On Mon, 2013-06-03 at 14:40 +0200, Bastian Waidelich wrote:
> mario chiari wrote:
> 

> 
> If your action looked like this:
> 
> public function createAction(\...\Model\Father $newFather) {
> }
> 
> you wouldn't have to interact with the property mapper directly in the 
> first place..
> 

my New view is something like:

<f:form action="create"  controller="Father"  name="newFather"> 

<f:form.textfield property="0.surname" id="surname" name="surname" />
<f:form.textfield property="0.sons.0.name" id="name" name="name" />

By JS (client side), fields n.surname and n.sons.m.name can be created.

As far as I understand Flow,  my createAction needs to be defined for an
array $newFather argument. Is there a more direct way?  

thanks
cheers
mario





More information about the Flow mailing list