Hi,
I'm trying to get a custom template layout to set to a date field in the database.
In the custom template the field is linked to a dropdown with a set of pre-specified date values, which matches up against the date format in the db.
<widget name="data editor" type="template">
<labels>
<label mode="any">Data Editor</label>
</labels>
<translated>false</translated>
<fields>
...
<field>ad:initialPrintPublicationDate/text</field>
</fields>
<properties mode="any">
<property name="template">/widgets/vehicle_data_editor_widget_private.xhtml</property>
</properties>
</widget>
Is it possible to designate this field as a date field, while all the other fields that are being passed in a text fields?
I've found that you can you append / is it possible to structure this so that it will convert the value to and from a string?
ad:initialPrintPublicationDate/text
We are using nuxeo 5.3 btw...not sure if this complicates matters.