[jboss-jira] [JBoss JIRA] (DROOLS-3019) [DMN Designer] Data Types - Constraints - Range component

Guilherme Carreiro (Jira) issues at jboss.org
Mon Jan 14 07:00:05 EST 2019


     [ https://issues.jboss.org/browse/DROOLS-3019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guilherme Carreiro updated DROOLS-3019:
---------------------------------------
    Description: 
- When "Range" is selected in the Constraints dialog, the following component must be loaded in the dialog;

 !prototype.png|thumbnail! 

- The field is a simple textarea without any validation;
- The constraint type and the value (form the input field) must be set in the Data Type.

Prototype:
 !expression-component.png|thumbnail! 


- When "Simple" is selected in the _Base Component_, two fields (Min. and Max.) must be loaded in the _Base Component_;
- The fields must have the appropriated widgets for each type of data (Number, Day/Time Duration, Year/Mos Duration, Date/Time, Date, Time);
- The constraint type, the min. and the max values must be must be set in the Data Type.

h2. Acceptance Test

h3. Default data type
- Able to store just min
- Able to store just max
- Able to store both min and max
- Max can not be lover than min and vice versa
- Can not put string to where number expected
- Try to put conflicting value into table cell

h3. Custom data type
- Min max ui input fields not visible

  was:
- When "Range" is selected in the Constraints dialog, the following component must be loaded in the dialog;



- The field is a simple textarea without any validation;
- The constraint type and the value (form the input field) must be set in the Data Type.

Prototype:
 !expression-component.png|thumbnail! 


- When "Simple" is selected in the _Base Component_, two fields (Min. and Max.) must be loaded in the _Base Component_;
- The fields must have the appropriated widgets for each type of data (Number, Day/Time Duration, Year/Mos Duration, Date/Time, Date, Time);
- The constraint type, the min. and the max values must be must be set in the Data Type.

h2. Acceptance Test

h3. Default data type
- Able to store just min
- Able to store just max
- Able to store both min and max
- Max can not be lover than min and vice versa
- Can not put string to where number expected
- Try to put conflicting value into table cell

h3. Custom data type
- Min max ui input fields not visible



> [DMN Designer] Data Types - Constraints - Range component
> ---------------------------------------------------------
>
>                 Key: DROOLS-3019
>                 URL: https://issues.jboss.org/browse/DROOLS-3019
>             Project: Drools
>          Issue Type: Task
>          Components: DMN Editor
>            Reporter: Guilherme Carreiro
>            Assignee: Guilherme Carreiro
>            Priority: Major
>              Labels: drools-tools
>         Attachments: prototype.png
>
>
> - When "Range" is selected in the Constraints dialog, the following component must be loaded in the dialog;
>  !prototype.png|thumbnail! 
> - The field is a simple textarea without any validation;
> - The constraint type and the value (form the input field) must be set in the Data Type.
> Prototype:
>  !expression-component.png|thumbnail! 
> - When "Simple" is selected in the _Base Component_, two fields (Min. and Max.) must be loaded in the _Base Component_;
> - The fields must have the appropriated widgets for each type of data (Number, Day/Time Duration, Year/Mos Duration, Date/Time, Date, Time);
> - The constraint type, the min. and the max values must be must be set in the Data Type.
> h2. Acceptance Test
> h3. Default data type
> - Able to store just min
> - Able to store just max
> - Able to store both min and max
> - Max can not be lover than min and vice versa
> - Can not put string to where number expected
> - Try to put conflicting value into table cell
> h3. Custom data type
> - Min max ui input fields not visible



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list