18 package org.turro.erp.humanres;
20 import org.turro.elephant.context.Application;
21 import org.turro.elephant.util.DateFormats;
22 import org.turro.elephant.util.DecimalFormats;
23 import org.turro.erp.entity.HumanResource;
24 import org.turro.erp.entity.OwnedAptitude;
25 import org.turro.zkoss.input.CollectionListbox;
26 import org.turro.zkoss.layout.ListheaderAdapter;
27 import org.turro.zkoss.layout.ListheaderRightAdapter;
28 import org.zkoss.zk.ui.event.Event;
29 import org.zkoss.zk.ui.event.EventListener;
30 import org.zkoss.zk.ui.event.Events;
31 import org.zkoss.zul.Listhead;
32 import org.zkoss.zul.Listitem;
47 this.humanResource = humanResource;
64 for(Object o : getChildren()) {
65 if(o instanceof Listitem) {
66 Listitem li = (Listitem) o;
76 private void addHeaders() {
77 if(getListhead() !=
null)
return;
78 Listhead lh =
new Listhead();
88 addEventListener(Events.ON_SELECT,
new EventListener() {
90 public void onEvent(Event event)
throws Exception {
91 Listitem li = getSelectedItem();
static String getString(String key)
List< OwnedAptitude > getOwnedAptitudes()
void setDefaultDegree(boolean defaultDegree)
AptitudeDegree getAptitudeDegree()
boolean isDefaultDegree()
void setHumanResource(HumanResource humanResource)
HumanResource getHumanResource()
String convertToString(OwnedAptitude v)