[FLOW3-general] Fluid formular + Parent-Child objects
Patrick Sernetz
patrickse at googlemail.com
Wed Nov 9 11:04:30 CET 2011
Hi,
I am trying to solve a little problem. I am trying to setup a webform to
fill in some appointments. The form appointments is connected to an domain
class.
class Appointment
'---> creator (class human)
'---> date
'---> subject
class human
'---> name
'---> firstname
'---> department
So I´ve create a fluid form like that
<f:form action="createAppointment" controller="Appointment" package="Cal"
name="appointment" object="{appointment}">
<f:form.textbox id="date" property="date" /><br />
<f:form.textbox id="subject " property="subject " /><br />
<f:form.textbox id="creator " property="creator " /><br />
<f:form.textbox id=" creator.name " property="
creator.name" /><br />
<f:form.textbox id=" creator.firstname "
property="creator.firstname" /><br />
<f:form.textbox id=" creator.department " property="creator.department"
/>--><br/>
<f:form.submit value="Create the appointment" />
</f:form>
As a result I´ve expected that Flow would create a complete object
appointment filled with all the details for the appointment and the
creator. But this doesn´t work. It fails with a message that it´s not allow
to create an object.
I already tried to assign an appointment object to the view, with all the
details already filled in. So it´s more or less an update of an object and
not a new one, but this fails with the same message.
Could someone please help me?
Regards,
Patrick
More information about the FLOW3-general
mailing list