Package org.activiti.workflow.simple.alfresco.model.config

Examples of org.activiti.workflow.simple.alfresco.model.config.FormFieldControlParameter


      formField.setControl(new FormFieldControl(AlfrescoConversionConstants.FORM_DATE_TEMPLATE));
      formField
          .getControl()
          .getControlParameters()
          .add(
              new FormFieldControlParameter(AlfrescoConversionConstants.FORM_DATE_PARAM_SHOW_TIME, Boolean.FALSE
                  .toString()));
      formField
          .getControl()
          .getControlParameters()
          .add(
              new FormFieldControlParameter(AlfrescoConversionConstants.FORM_DATE_PARAM_SUBMIT_TIME, Boolean.FALSE
                  .toString()));
    } else {
      formField.setControl(new FormFieldControl(AlfrescoConversionConstants.FORM_READONLY_TEMPLATE));
    }
    form.getFormAppearance().addFormAppearanceElement(formField);
View Full Code Here


    FormField dueDateField = new FormField();
    dueDateField.setId(PROPERTY_WORKFLOW_DUE_DATE);
    dueDateField.setSet(FORM_SET_INFO);
    dueDateField.setLabelId(FORM_WORKFLOW_DUE_DATE_LABEL);
    dueDateField.setControl(new FormFieldControl(FORM_DATE_TEMPLATE));
    dueDateField.getControl().getControlParameters().add(new FormFieldControlParameter(FORM_DATE_PARAM_SHOW_TIME, Boolean.FALSE.toString()));
    dueDateField.getControl().getControlParameters().add(new FormFieldControlParameter(FORM_DATE_PARAM_SUBMIT_TIME, Boolean.FALSE.toString()));
    form.getFormAppearance().addFormAppearanceElement(dueDateField);
   
    FormField priorityField = new FormField();
    priorityField.setSet(FORM_SET_INFO);
    priorityField.setLabelId(FORM_WORKFLOW_PRIORITY_LABEL);
View Full Code Here

TOP

Related Classes of org.activiti.workflow.simple.alfresco.model.config.FormFieldControlParameter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.