Revision history [back]

click to hide/show revision 1
initial version

asked 2017-09-28 00:39:18 +0800

ajamardo gravatar image ajamardo

zk calendar onEventCreate doesn't work notifyChange

@NotifyChange({"simpleCalendarModel","showInsertNewActivity", "activitySession"}) public void onEventCreate(CalendarsEvent event) { setShowInsertNewActivity(true); //System.out.println(event.toString()); }

<if test="@load(vmApp.showInsertNewActivity)"> Some Code </if>

zk calendar onEventCreate doesn't work notifyChange

NotifyChange doesn't work in onEventCreate of the zk calendar. I tried the code as a command triggered by a button and it worked, but with the calendar oncreate it doesn't.

private boolean showInsertNewActivity=false; public boolean isShowInsertNewActivity() { return showInsertNewActivity; } public void setShowInsertNewActivity(boolean showInsertNewActivity) { this.showInsertNewActivity = showInsertNewActivity; } @NotifyChange({"simpleCalendarModel","showInsertNewActivity", "activitySession"}) public void onEventCreate(CalendarsEvent event) { setShowInsertNewActivity(true); //System.out.println(event.toString()); }

<if test="@load(vmApp.showInsertNewActivity)"> Some Code </if>

zk calendar onEventCreate doesn't work notifyChange

NotifyChange doesn't work in onEventCreate of the zk calendar. I tried the code as a command triggered by a button and it worked, but with the calendar oncreate it doesn't.

private boolean showInsertNewActivity=false;
    public boolean isShowInsertNewActivity() {
        return showInsertNewActivity;
    }
    public void setShowInsertNewActivity(boolean showInsertNewActivity) {
        this.showInsertNewActivity = showInsertNewActivity;
    }
    @NotifyChange({"simpleCalendarModel","showInsertNewActivity", "activitySession"})
    public void onEventCreate(CalendarsEvent event) { {
        setShowInsertNewActivity(true);
 //System.out.println(event.toString());
    }

<if test="@load(vmApp.showInsertNewActivity)"> Some Code </if>

zk calendar onEventCreate doesn't work notifyChange

NotifyChange doesn't work in onEventCreate of the zk calendar. I tried the code as a command triggered by a button and it worked, but with the calendar oncreate it doesn't.

 private boolean showInsertNewActivity=false;
     public boolean isShowInsertNewActivity() {
        return showInsertNewActivity;
    }
    public void setShowInsertNewActivity(boolean showInsertNewActivity) {
        this.showInsertNewActivity = showInsertNewActivity;
    }
    @NotifyChange({"simpleCalendarModel","showInsertNewActivity", "activitySession"})
    public void onEventCreate(CalendarsEvent event) {
        setShowInsertNewActivity(true);
        //System.out.println(event.toString());
    }


<if test="@load(vmApp.showInsertNewActivity)">
 Some Code
</if>
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More