You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2013/01/25 19:02:25 UTC

[2/3] git commit: ISIS-317: trivial fix, adding a @Named annotation

ISIS-317: trivial fix, adding a @Named annotation

... for the example app used to generate the wrj archetype.


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

Branch: refs/heads/master
Commit: 4928d18dc3ea15098262242551a07c5229bbec1c
Parents: 3f90c01
Author: Dan Haywood <da...@apache.org>
Authored: Fri Jan 25 16:05:46 2013 +0000
Committer: Dan Haywood <da...@apache.org>
Committed: Fri Jan 25 16:05:46 2013 +0000

----------------------------------------------------------------------
 .../dom/src/main/java/dom/todo/ToDoItem.java       |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/4928d18d/example/application/quickstart_wicket_restful_jdo/dom/src/main/java/dom/todo/ToDoItem.java
----------------------------------------------------------------------
diff --git a/example/application/quickstart_wicket_restful_jdo/dom/src/main/java/dom/todo/ToDoItem.java b/example/application/quickstart_wicket_restful_jdo/dom/src/main/java/dom/todo/ToDoItem.java
index 37353bc..8a750e7 100644
--- a/example/application/quickstart_wicket_restful_jdo/dom/src/main/java/dom/todo/ToDoItem.java
+++ b/example/application/quickstart_wicket_restful_jdo/dom/src/main/java/dom/todo/ToDoItem.java
@@ -339,7 +339,8 @@ public class ToDoItem implements Comparable<ToDoItem> /*, Locatable*/ { // GMAP3
     public ToDoItem duplicate(
             @Named("Description") 
             String description,
-            Category category, 
+            @Named("Category")
+            ToDoItem.Category category, 
             @Named("Due by") 
             @Optional
             LocalDate dueBy) {