search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Daypilot for Java: Pass paramteres to Backend

Asked by Bogdan
14 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
14 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
14 years ago.

Thanks, Dan.

Comment posted by Dan Letecky
14 years ago.

Please check build 1.0.44:

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