Aspect Properties
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 08:07 AM
hi
How can i create a drop down list of Aspect properties? So, that the value for that property can be selected through a drop down menu and not entered in a text field.
thanx
nrai
How can i create a drop down list of Aspect properties? So, that the value for that property can be selected through a drop down menu and not entered in a text field.
thanx
nrai
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2006 05:24 AM
1) into the Model, introduce a contraints definition juste before the tag <types>
2) create a propterty like this
3) edit the web-client-config-custom.xml and add
4) stop and start alfresco
Luc
<constraints> <constraint name="pevod:vl" type="LIST"> <parameter name="allowedValues"> <list> <value>es</value> <value>cs</value> <value>da</value> <value>de</value> <value>et</value> <value>el</value> <value>en</value> <value>fr</value> <value>it</value> <value>lv</value> <value>lt</value> <value>hu</value> <value>mt</value> <value>nl</value> <value>pl</value> <value>pt</value> <value>sk</value> <value>sl</value> <value>sv</value> </list> </parameter> </constraint> </constraints>
2) create a propterty like this
<property name="pevod:audio-language"> <title>Audio language</title> <type>d:text</type> <constraints> <constraint ref="pevod:vl"/> </constraints> </property>
3) edit the web-client-config-custom.xml and add
<show-property name="pevod:audio-language"/>
4) stop and start alfresco
Luc
