have done everything like in this doc:

I have added

     <select id="doctor" onchange="reloadData()">
            <option value="nowicki">Nowicki</option>
            <option value="2">Kloska</option>
            <option value="3">Department 3</option>
            <option value="4">Department 4</option>
            function reloadData() { //the reloadData() function clears the planner events and load new ones.
               // planner.clearAll();
                planner.load("events.jsp?doctor=" + document.getElementById("doctor").value);

to my main jsp file

and belowe code to my EventsManager.

String doctor = request.getParameter("doctor");
                        if (doctor != null) {
                                query += "WHERE doctor='nowicki'";

The problem is, that i have god error: “request has private access in DHXEventManager”

What should i add to my code?