19 package org.turro.dossier.zul.workload;
21 import org.turro.dossier.entity.Issue;
22 import org.turro.dossier.issue.IssueWrapper;
23 import org.turro.dossier.zul.menu.DossierMenu;
24 import org.turro.elephant.context.Application;
25 import org.zkoss.zk.ui.event.Event;
26 import org.zkoss.zk.ui.event.EventListener;
27 import org.zkoss.zk.ui.event.Events;
28 import org.zkoss.zul.A;
37 private EventListener _onclick;
38 private boolean knowledgeBase =
false;
47 this.knowledgeBase = knowledgeBase;
50 private void addClickListener() {
51 if(_onclick ==
null) {
52 _onclick =
new EventListener() {
54 public void onEvent(Event event)
throws Exception {
56 boolean show = app.
isInRole(
"issue:show"),
65 addEventListener(Events.ON_CLICK, _onclick);
boolean isKnowledgeBase()
boolean isFullParticipant()
void setKnowledgeBase(boolean knowledgeBase)
void setIssue(Issue issue)
boolean isInRole(String role)
static Application getApplication()