19 package org.turro.financials.contract.logic;
21 import org.turro.financials.contract.ContractDefinitionCombobox;
22 import org.turro.financials.db.FinancialsPU;
23 import org.turro.financials.entity.ContractDefinition;
24 import org.turro.financials.entity.ContractDefinitionNotes;
25 import org.zkoss.zk.ui.Component;
26 import org.zkoss.zk.ui.util.GenericForwardComposer;
27 import org.zkoss.zul.Textbox;
28 import org.zkoss.zul.Toolbarbutton;
37 private Toolbarbutton save;
38 private Textbox notes;
41 save.setDisabled(
false);
52 notes.setDisabled(
false);
55 notes.setDisabled(
true);
57 save.setDisabled(
true);
71 save.setDisabled(
true);
76 super.doAfterCompose(comp);
77 save.setDisabled(
true);
void onSelect $definition()
void doAfterCompose(Component comp)
void setNotes(String notes)
void setContractDefinition(ContractDefinition contractDefinition)
ContractDefinitionNotes getNotes()