Home Unanswered Active Tags New Question

Daypilot for Java: Pass paramteres to Backend

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).

Asked by Bogdan 2 years ago.
Replies

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 Dan Letecky 2 years ago.

Thanks, Dan.

Comment posted by Bogdan 2 years ago.

Please check build 1.0.44:

Comment posted by Dan Letecky 2 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java