XWIKI-10296: The default value of a date field should be empty or today, not...
XWIKI-10296: The default value of a date field should be empty or today, not the date when the class has been created - Using a magic date to mark inside an application's template that a default value is not actually set and that the emptyIsToday mechanism should still be applied when creating new entries. - Used a custom displayer for Date fields that displays an empty value in the AWM class editor or the entry's edit/create form when the magic value is set to the template so that the user is never exposed to this technical detail.
Showing
- xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-ui/src/main/resources/AppWithinMinutes/ClassEditSheet.xml 37 additions, 3 deletions...ui/src/main/resources/AppWithinMinutes/ClassEditSheet.xml
- xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-ui/src/main/resources/AppWithinMinutes/Date.xml 1 addition, 1 deletion...inminutes-ui/src/main/resources/AppWithinMinutes/Date.xml
- xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-ui/src/main/resources/AppWithinMinutes/DateDisplayer.xml 49 additions, 0 deletions...-ui/src/main/resources/AppWithinMinutes/DateDisplayer.xml
Please register or sign in to comment