[ https://issues.apache.org/jira/browse/OFBIZ-13209 ]
Jacques Le Roux deleted comment on OFBIZ-13209: ----------------------------------------- was (Author: jacques.le.roux): I got this issue getting to example: java.lang.RuntimeException: Error rendering included form named [FindExamples] at location [component://example/widget/example/ExampleForms.xml]: java.lang.IllegalArgumentException: The field sub-element with name date-range-picker is not supportedjava.lang.IllegalArgumentException: The field sub-element with name date-range-picker is not supported log: 2025-03-01 11:16:54,265 |jsse-nio-8443-exec-2 |UtilProperties |I| ResourceBundle CommonPortalEntityLabels (fr) created in 0.013s with 10 properties 2025-03-01 11:16:54,325 |jsse-nio-8443-exec-2 |UtilXml |E| XmlFileLoader: File file:/C:/projectsASF/Git/ofbiz-framework/plugins/example/widget/example/ExampleForms.xml process error. Line: 48. Error message: cvc-com plex-type.2.4.a: Invalid content was found starting with element '{"http://ofbiz.apache.org/Widget-Form":date-range-picker}'. One of '{"http://ofbiz.apache.org/Widget-Form":AllFields, "http://ofbiz.apache.org/Widget-Form":on-field-event- update-area}' is expected. 2025-03-01 11:16:54,329 |jsse-nio-8443-exec-2 |UtilXml |E| XmlFileLoader: File file:/C:/projectsASF/Git/ofbiz-framework/plugins/example/widget/example/ExampleForms.xml process error. Line: 227. Error message: cvc-co mplex-type.2.4.a: Invalid content was found starting with element '{"http://ofbiz.apache.org/Widget-Form":date-range-picker}'. One of '{"http://ofbiz.apache.org/Widget-Form":AllFields, "http://ofbiz.apache.org/Widget-Form":on-field-event -update-area}' is expected. 2025-03-01 11:16:54,356 |jsse-nio-8443-exec-2 |ModelScreenWidget |E| Error rendering included form named [FindExamples] at location [component://example/widget/example/ExampleForms.xml]: java.lang.IllegalArgumentException: Th e field sub-element with name date-range-picker is not supported java.lang.IllegalArgumentException: The field sub-element with name date-range-picker is not supported at org.apache.ofbiz.widget.model.ModelFormFieldBuilder.<init>(ModelFormFieldBuilder.java:282) ~[main/:?] > Add a date range picker field type > ---------------------------------- > > Key: OFBIZ-13209 > URL: https://issues.apache.org/jira/browse/OFBIZ-13209 > Project: OFBiz > Issue Type: Sub-task > Components: ALL COMPONENTS, theme/common-theme > Affects Versions: Upcoming Branch > Reporter: Florian Motteau > Assignee: Jacques Le Roux > Priority: Minor > Attachments: Image 044.png, screenshot-1.png, screenshot-2.png > > > Implement a new field type, based on https://www.daterangepicker.com/. > More details about the intention and the choices that have been made > [here|https://lists.apache.org/thread/bymllxn7ysdz3ooksfgwmwffdv1hyoxq] > In a nutshell : build a new form field that would be a wrapper around > [DRP|https://www.daterangepicker.com/.] functionalities. -- This message was sent by Atlassian Jira (v8.20.10#820010)