Javaplanner examples

Hello Support Team

saveEvent methods in examples are confused me.

In this example javaplanner.com/docs/using_javap … ework.html

    def Integer saveEvent(DHXEv event, DHXStatus status) {
        ...
		return event.getId();
	}

But in this example download.javaplanner.com/demoapp_grails.zip

    def DHXStatus saveEvent(DHXEv event, DHXStatus status) {
        ...
        return status;
    }

What return value is correct, status or event.getId()?

Hi,
return type of method saveEvent was changed in javaplanner 1.5.
Starting from javaplanner 1.5 you should return DHXStatus from method saveEvent.

We will update our tutorials soon. Thank you for your feedback.