[
http://jira.jboss.com/jira/browse/JBRULES-1188?page=all ]
Michael Neale updated JBRULES-1188:
-----------------------------------
Summary: Guided editor to have special widgets for date (was: Guided editor to
have special widgets for date, boolean)
Description:
To do this,
1) modify SCE and SuggestionCompletionEngineLoader to set the fieldType (addFieldType) of
Date for date fields.
2) Also then modify the GUI to use a data picker, or similar "literal" values on
the LHS, and RHS as appropriate (RHS can just be text, MVEL will coerce it)
3) Modify the SCE or GUI so that it provides the correct list of operators for the new
Date type
4) Modify the BRDRLPersistence to render it appropriately on the LHS and RHS (LHS may be
OK, RHS probably won't be).
5) Modify the Guided editor in the IDE to do the same.
I have made MVEL coerce strings to date, so #4 should not be necessary.
was:
To do this,
1) modify SCE and SuggestionCompletionEngineLoader to set the fieldType (addFieldType) of
Date for date fields.
2) Also then modify the GUI to use a data picker, or tick box for "literal"
values on the LHS, and RHS as appropriate
3) Modify the SCE or GUI so that it provides the correct list of operators for the new
Date type
4) Modify the BRDRLPersistence to render it appropriately on the LHS and RHS (LHS may be
OK, RHS probably won't be).
5) Modify the Guided editor in the IDE to do the same.
Guided editor to have special widgets for date
----------------------------------------------
Key: JBRULES-1188
URL:
http://jira.jboss.com/jira/browse/JBRULES-1188
Project: JBoss Rules
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: drools-brms
Affects Versions: 4.0.1
Reporter: Michael Neale
Assigned To: Michael Neale
Fix For: FUTURE
To do this,
1) modify SCE and SuggestionCompletionEngineLoader to set the fieldType (addFieldType) of
Date for date fields.
2) Also then modify the GUI to use a data picker, or similar "literal" values
on the LHS, and RHS as appropriate (RHS can just be text, MVEL will coerce it)
3) Modify the SCE or GUI so that it provides the correct list of operators for the new
Date type
4) Modify the BRDRLPersistence to render it appropriately on the LHS and RHS (LHS may be
OK, RHS probably won't be).
5) Modify the Guided editor in the IDE to do the same.
I have made MVEL coerce strings to date, so #4 should not be necessary.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira