Udo Schnurpfeil created TOBAGO-2071: ---------------------------------------
Summary: Changes for <tc:date> Key: TOBAGO-2071 URL: https://issues.apache.org/jira/browse/TOBAGO-2071 Project: MyFaces Tobago Issue Type: Task Components: Core, Themes Reporter: Udo Schnurpfeil Assignee: Udo Schnurpfeil h3. Changes We need some changes to the <tc:date> component. * Implement "more like HTML" * No longer support for <f:dateTiimeConverter> h3. Explanation The Input of date and time are nomally supported by a JavaScript widget, or by the browser. The browser support was going better and better in the last time (even in mobile devices). So, the value "on the wire" will be a machine readable ISO format, not a localized value. The localization will happen in the browser. h3. Exclusion for <tc:in> the <f:dateTimeConverter> will work, but without widget support. h3. Type There will be an attribute "type" = \{ "date" | "time" | "datetime-local" | "month" | "week" } (Month and week may be supported in later versions) h3. Browser vs Widget Most browsers these days supporting the types "date" and "time". Firefox doesn't support "datetime-local". So, it might be a solution, to use only browser featues. In case of Firefox with "datetime-local", the field may be splitted into 2 fields with type "date" and "time". If everything works fine, we may drop TOBAGO-2036. -- This message was sent by Atlassian Jira (v8.3.4#803005)