You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by mg...@apache.org on 2015/03/17 12:50:39 UTC

isis git commit: ISIS-1095 Rename StartView to ViewMode, to be in sync with the new name in the JS widget

Repository: isis
Updated Branches:
  refs/heads/master b04c96584 -> efe69a277


ISIS-1095 Rename StartView to ViewMode, to be in sync with the new name in the JS widget


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/efe69a27
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/efe69a27
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/efe69a27

Branch: refs/heads/master
Commit: efe69a277cf022833ae3c61614522b328d7cc426
Parents: b04c965
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Tue Mar 17 13:49:52 2015 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Tue Mar 17 13:49:52 2015 +0200

----------------------------------------------------------------------
 .../wicket/ui/components/scalars/datepicker/DateTimeConfig.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/efe69a27/core/viewer-wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/datepicker/DateTimeConfig.java
----------------------------------------------------------------------
diff --git a/core/viewer-wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/datepicker/DateTimeConfig.java b/core/viewer-wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/datepicker/DateTimeConfig.java
index 40bfd55..d2d212c 100644
--- a/core/viewer-wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/datepicker/DateTimeConfig.java
+++ b/core/viewer-wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/scalars/datepicker/DateTimeConfig.java
@@ -53,7 +53,7 @@ public class DateTimeConfig extends AbstractConfig {
      * 0 or 'month' for month view (the default); 1 or 'year' for the 12-month overview,
      * and 2 or 'decade' for the 10-year overview. Useful for date-of-birth datepickers.
      */
-    private static final IKey<String> StartView = newKey("viewMode", ViewMode.days.name());
+    private static final IKey<String> ViewMode = newKey("viewMode", ViewMode.days.name());
 
     /**
      * If true, displays a "Today" button at the bottom of the datepicker to select
@@ -226,7 +226,7 @@ public class DateTimeConfig extends AbstractConfig {
      * @return this instance for chaining
      */
     public DateTimeConfig withView(final ViewMode value) {
-        put(StartView, value.name());
+        put(ViewMode, value.name());
         return this;
     }