如何让 activiti 显示 textarea 字段,在下面的 formProperty 中插入文本输入?
<extensionElements>
<activiti:formProperty id="Ata"
name="Ata"
required="true"
type="string" />
</extensionElements>
如何让 activiti 显示 textarea 字段,在下面的 formProperty 中插入文本输入?
<extensionElements>
<activiti:formProperty id="Ata"
name="Ata"
required="true"
type="string" />
</extensionElements>
AbstractFormType
类并覆盖它的方法,如本示例TextAreaFormType.java所示Activiti Explorer 是在 Vaadin 中实现的,因此表单字段也必须使用 Vaadin 来实现。在这里 您可以找到示例实现
向applicationContext.xml中的流程引擎配置添加自定义表单类型applicationContext.xml
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="customFormTypes">
<list>
<ref bean="userFormType"/>
<ref bean="textAreaFormType"/>
</list>
</property>
</bean>
<bean id="userFormType" class="org.activiti.explorer.form.UserFormType"/>
<bean id="textAreaFormType" class="org.bpmnwithactiviti.explorer.form.TextAreaFormType"/>