AnsweredAssumed Answered

How do I define a custom display-label-id?

Question asked by gvandyk on Jan 14, 2008
Latest reply on Feb 18, 2008 by gavinc
Hi,

I would like to define my own display-label-id.

I tried defining it in a "extension/test-context.xml" as follows:

   
   <bean id="ikModels" parent="dictionaryModelBootstrap">
      <property name="labels">
         <list>
            <value>alfresco.extension.workflow.ikModel</value>
         </list>
      </property>
   </bean>

and then defining "extension/workflow/ikModel.properties" as follows:


ikwf_adhoc_due_date=Due Date
ikwf_adhoc_priority=Priority
ikwf_adhoc_assign_to=Assign To
ikwf_adhoc_assignee=Assigned To

I then try and use the label in the web-client-config-custom.xml file using the following format:

<show-property name="bpm:workflowDueDate" display-label-id="ikwf_adhoc_due_date" />

it does not work and simply displays $$ikwf_adhoc_due_date$$ in the webclient.

using:

<show-property name="bpm:workflowDueDate" display-label-id="wf_adhoc_due_date" />

works fine, as this uses the default defined in the webclient.properties file.

My question is "How do you define a custom display-label-id?", it is not a new property but simply a new label.

Outcomes