Skip to content

Commit

Permalink
latest freshly zk fixes an issue such that the jpa entity does not need
Browse files Browse the repository at this point in the history
@NotifyChange on the setters which the binder is using.
  • Loading branch information
simbo1905 committed Dec 23, 2011
1 parent aabc827 commit 9b7de3a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</repositories>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<zk.version>6.0.0-RC2</zk.version>
<zk.version>6.0.0.FL.20111222</zk.version>
<zkel.version>1.0.2</zkel.version>
<spring.version>3.0.5.RELEASE</spring.version>
<hsqldb.version>1.8.0.7</hsqldb.version>
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/org/zkforge/zktodo2/Reminder.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.zkoss.bind.annotation.NotifyChange;

@Entity
@Table(name = "REMINDER")
Expand Down Expand Up @@ -61,14 +60,12 @@ public Reminder(String name,int priority,Date date){
public Date getDate() {
return date;
}
@NotifyChange
public void setDate(Date date) {
this.date = date;
}
public int getPriority() {
return priority;
}
@NotifyChange
public void setPriority(int priority) {
this.priority = priority;
}
Expand All @@ -81,7 +78,6 @@ public void setId(Long id) {
public String getName() {
return name;
}
@NotifyChange
public void setName(String name) {
this.name = name;
}
Expand Down

0 comments on commit 9b7de3a

Please sign in to comment.