Daypilot for Java: Pass paramteres to Backend

Asked by Bogdan
17 years ago.

How do I pass parameters to public class AXBackend extends org.daypilot.core.Backend from jsp page? Header field has only 1 String field called Control and it is always set to "dpc" (in Calendar case).

Comment posted by Dan Letecky
17 years ago.

Do you mean the "data" parameter from the xxCallBack methods [e.g. eventClickCallBack(e, data)]?

This wasn't available until now. I've added a new property called Data to the Header property. So you are now able to reach it from your AXBackend using the following call:

JSONObject data = getHeader().getData();

An updated build will be available soon.

Comment posted by Bogdan
17 years ago.

Thanks, Dan.

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.