Update athen how to correctly write your own view authored by Markus Krug's avatar Markus Krug
......@@ -349,5 +349,17 @@ This does not only save code, but also keeps the code clean. Another use-case wh
}
```
The expression
```java
part::determineName
```
passes the method *determineName(AnnotationFS anno)* of our controller as an argument. The implementation is therefore stored in the controller as well:
```java
public String determineName(AnnotationFS anno) {
return anno.getFeatureValueAsString(nameFeat);
}
```