19 package org.turro.students.menu;
21 import java.util.HashMap;
22 import org.turro.annotation.ExternalMenu;
23 import org.turro.menu.ElephantMenu;
24 import static org.turro.menu.ElephantMenu.showEntity;
25 import org.turro.menu.ElephantMenuBar;
26 import org.turro.security.Permission;
27 import org.turro.students.entities.Challenge;
45 HashMap<String, Object> map =
new HashMap<String, Object>();
46 map.put(
"challengeGenerated", challenge);
47 showEntity(challenge.
getId(),
"challengeId",
"Challenge",
"/students/challenge.zul", map);
51 showEntity(
id,
"challengeId",
"Challenge",
"/students/challenge.zul");
static Permission from(String... roles)