[forge-commits] [forge/angularjs-scaffoldx-plugin] 96fcb8: Refined the datetime support to use a custom direc...

Vineet Reynolds Vineet.Reynolds at gmail.com
Wed Oct 2 12:54:48 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/forge/angularjs-scaffoldx-plugin
  Commit: 96fcb8f46729cf45553c4be70d8c53e2b0eba896
      https://github.com/forge/angularjs-scaffoldx-plugin/commit/96fcb8f46729cf45553c4be70d8c53e2b0eba896
  Author: Vineet Reynolds <Vineet.Reynolds at gmail.com>
  Date:   2013-10-02 (Wed, 02 Oct 2013)

  Changed paths:
    M src/main/java/org/jboss/forge/scaffold/angularjs/AngularScaffold.java
    M src/main/java/org/jboss/forge/scaffold/angularjs/ResourceProvider.java
    M src/main/resources/scaffold/app.html.ftl
    M src/main/resources/scaffold/scripts/controllers/editEntityController.js.ftl
    M src/main/resources/scaffold/scripts/controllers/newEntityController.js.ftl
    A src/main/resources/scaffold/scripts/directives/datetimepicker.js.ftl
    A src/main/resources/scaffold/scripts/vendor/modernizr-2.6.2.min.js
    M src/main/resources/scaffold/views/includes/basicPropertyDetail.html.ftl

  Log Message:
  -----------
  Refined the datetime support to use a custom directive.

The directive uses Modernizr to determine whether to render a
HTML5 datetime-local widget or not. If datetime-local support is
absent in the browser, then the widget uses the fallback text
input field with custom form validation. The validation is done
via AngularJS formatters and parsers.





More information about the forge-commits mailing list