AnsweredAssumed Answered

Custom DataList + selectone.ftl

Question asked by fabrizio90 on Oct 10, 2013
Latest reply on Oct 10, 2013 by fabrizio90
Hi all guys,

i'm trying to create a custom template for a DataList in my Alfresco Share.

This discussion helped me a lot: https://forums.alfresco.com/forum/end-user-discussions/alfresco-share/custom-data-list-09232011-1454#comment-form

But now, i want to create a filed in the table 3 value (for priority: high, low, normal).

In the datalist model i've defined:


<property name="tl:priorita">
<title>Priorità</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>


In the share-config-custom.xml:


<field id="tl:priorita">
<control template="/org/alfresco/components/form/controls/selectone.ftl"/>
<control-param name="options">alta,bassa,normale</control-param>   
<control-param name="forceEditable">true</control-param>               
</field>


But the option are not displayed.

What's the problem???


I'm on Alfresco 4.2.d community edition

Outcomes