19 package org.turro.students.view;
21 import org.turro.elephant.context.Application;
22 import org.turro.jpa.composer.EntityComposer;
23 import org.turro.jpa.entity.DaoEntity;
24 import org.turro.students.db.StudentsPU;
25 import org.turro.students.entities.Challenge;
26 import org.turro.students.menu.StudentsMenu;
27 import org.turro.students.wrappers.ChallengeWrapper;
28 import org.turro.zkoss.text.WikiEditor;
29 import org.turro.zul.frame.Framework;
30 import org.zkoss.zk.ui.Component;
31 import org.zkoss.zk.ui.select.annotation.Listen;
32 import org.zkoss.zk.ui.select.annotation.Wire;
43 @Listen(
"onChange = #wiki")
80 return !
entity.isEmpty() && (
entity.getId() ==
null ||
entity.getId() == 0) || super.shouldBeSaved();
boolean isInRole(String role)
static Application getApplication()
Challenge getEntityInstance(Long id)
DaoEntity getWrapperInstance(Component comp)
String getAttributeName()
static Framework getCurrent()
void setSelectedLabel(String text)
void setSelectedTooltiptext(String text)