2016-06-08 82 views

回答

2

你應該能夠定義你的份額自定義配置形式的聲明下拉字段:

   <config evaluator="task-type" condition="mytaskmodel:mytask"> 
        <forms> 
         <form> 
          <field-visibility>         
           <show id="mytaskmodel:myproperty" /> 
          </field-visibility> 
          <appearance> 
           <field id="mytaskmodel:myproperty" /> 
           <control template="/org/alfresco/components/form/controls/selectone.ftl"> 
            <control-param name="options">1|valueone,2|value2</control-param> 
           </control> 
           </field> 
          </appearance> 
         </form> 
        </forms> 
       </config>