19 package org.turro.activity;
21 import java.util.List;
22 import org.turro.action.ContactParticipations;
23 import org.turro.action.IContactParticipation;
24 import org.turro.contacts.Contact;
25 import org.zkoss.bind.annotation.BindingParam;
26 import org.zkoss.bind.annotation.Command;
27 import org.zkoss.bind.annotation.ExecutionArgParam;
28 import org.zkoss.bind.annotation.Init;
29 import org.zkoss.bind.annotation.NotifyChange;
30 import org.zkoss.zk.ui.Executions;
41 public void init(@ExecutionArgParam(
"contact")
Contact contact) {
42 if(contact !=
null) this.contact = contact;
43 if(this.contact ==
null) {
48 @NotifyChange(
"model")
50 public
void setContact(@BindingParam("contact") Object contact) {
51 if(contact instanceof
Contact) {
52 this.contact = (
Contact) contact;
60 public List<IContactParticipation>
getModel() {
void setContact(@BindingParam("contact") Object contact)
void init(@ExecutionArgParam("contact") Contact contact)
List< IContactParticipation > getModel()