[FLOW3-general] Access fluid form object

Thomas Plessis t.plessis at totemnumerique.com
Wed Jan 11 10:33:27 CET 2012


Hi guys,

I've a form for creating a new object (NOT updating). After submitting form, in case of a wrong validation, i want to display value of a textfield in a part of the page. But how to access values of the submitting form object?
My form looks like:

<f:form action="create" name="formItem" object="{newItem}" enctype="multipart/form-data" id="grands_formulaires">
  <label for="title">Titre</label><br />
  <f:form.textfield property="title" id="title" size="40" required="required" /><br />
  Title = {newItem.title}
  <f:form.submit value="Publier" class="bt_envoyer" />
</f:form>

but {newItem.title} display nothing… :/

regards,

Thomas Plessis
Développeur multimédia
--
TOTEMnumerique
9, Place St Étienne
31000 Toulouse
T. 05 61 14 64 54
F. 05 61 14 64 55



More information about the FLOW3-general mailing list