Ejemplo n.º 1
0
  public String list() throws Exception {
    message = Integer.toString(hashCode());
    String name = null;
    if (example != null) {
      name = example.getName();
    }
    Result examples = exampleService.findExamples(name, page, pageSize);
    toVm(examples);

    return SUCCESS;
  }
Ejemplo n.º 2
0
 public String doAdd() throws Exception {
   Result result = exampleService.createExample(example);
   toVm(result);
   return SUCCESS;
 }