You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by bu...@apache.org on 2013/01/19 22:48:32 UTC
svn commit: r847330 - in /websites/staging/isis/trunk: cgi-bin/ content/
content/getting-started/screenshots.html
Author: buildbot
Date: Sat Jan 19 21:48:31 2013
New Revision: 847330
Log:
Staging update by buildbot for isis
Modified:
websites/staging/isis/trunk/cgi-bin/ (props changed)
websites/staging/isis/trunk/content/ (props changed)
websites/staging/isis/trunk/content/getting-started/screenshots.html
Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jan 19 21:48:31 2013
@@ -1 +1 @@
-1435719
+1435721
Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jan 19 21:48:31 2013
@@ -1 +1 @@
-1435719
+1435721
Modified: websites/staging/isis/trunk/content/getting-started/screenshots.html
==============================================================================
--- websites/staging/isis/trunk/content/getting-started/screenshots.html (original)
+++ websites/staging/isis/trunk/content/getting-started/screenshots.html Sat Jan 19 21:48:31 2013
@@ -445,8 +445,11 @@ public class ToDoItem {
<td>Actions grouped<br/><br/><i>Often actions relate to a particular colleciton of an entity. The Wicket viewer renders such actions next to that collection. For example:</i><pre>
public class ToDoItem {
...
- @MemberOrder(name="dependencies", sequence = "3")
- public ToDoItem add(final ToDoItem toDoItem) { ... }
+ @MemberOrder(
+ name="dependencies",
+ sequence = "3")
+ public ToDoItem add(
+ final ToDoItem toDoItem) { ... }
getDependencies().add(toDoItem);
return this;
}
@@ -455,12 +458,15 @@ public class ToDoItem {
</pre><i>There might also be validation logic:</i><pre>
public class ToDoItem {
...
- public String validateAdd(final ToDoItem toDoItem) {
- if(getDependencies().contains(toDoItem)) {
+ public String validateAdd(
+ final ToDoItem toDoItem) {
+ if(getDependencies().
+ contains(toDoItem)) {
return "Already a dependency";
}
if(toDoItem == this) {
- return "Can't set up a dependency to self";
+ return
+ "Can't set up a dependency to self";
}
return null;
}
@@ -481,7 +487,8 @@ public class ToDoItem { ... }
public class ToDoItems {
...
@Hidden
- public List<ToDoItem> autoComplete(final String description) {
+ public List<ToDoItem> autoComplete(
+ final String description) {
return ...
}
...
@@ -506,7 +513,8 @@ public class ToDoItem {
...
private ToDoItems toDoItems;
// automatically injected
- public void setToDoItems(final ToDoItems toDoItems) {
+ public void setToDoItems(
+ final ToDoItems toDoItems) {
this.toDoItems = toDoItems;
}
...