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

Questions Tagged java

post value send

Answered: You can pass a custom object as the third parameter but it will be sent in the body serialized to a JSON string: DayPilot.request(url, successCallback, postObject); If you need to send custom pos...

Get a JSON exception when trying to instantiate org.daypilot.ui.DayPilotScheduler

Answered: I know see the problem. I was calling my servlet directly when I should be calling it from the javascript on the page. It works now

offset end date

Answered: The dates are interpreted as exact time points, i.e. when the start date is set to 01.01.2014 it means 2014-01-01T00:00:00, the end date 03.01.2014 means 2014-01-03T00:00:00. The difference between t...

When event click i am getting error.

Answered: DayPilot uses event.returnValue to prevent the default action conditionaly - only if event.preventDefault() method is not available. Most likely, this warning is not generated by DayPilot. Either way...

AJAX Event Calendar for Java and jQuery Spring

Hi, Do you have any spring application like this AJAX Event Calendar for Java and jQuery (Open-Source). I try to run AJAX Event Calendar for Java and jQuery (Open-Source) i can able to create event b...

Initialize daypilot in a separate window (window popup, window.open)

Maybe there are more than one problem but i'm stuck at pretty much the first row. I am trying to allow my users to make the scheduler/calendar "fullscreen" by snapping it out of the main window into ...

How do I change "resource-hover-color" ?

Answered: You can use crosshairColor and crosshairOpacity properties. The defaults: .crosshairColor = 'Gray'; .crosshairOpacity = 20;

Scheduler getRow renamed to $68

Answered: This method was internal and is now hidden. You can use the following method to get information about a cell under certain position: var cell = dps.cells.findByPixels(120, 1)[0]; var start = cell....

Where did .scheduler_<theme>_matrix_vertical_break go ?

Answered: This bug should be fixed now in build 7.5.8329. See the sandbox: http://java.daypilot.org/sandbox/

Sub tasks for Gantt

Answered: The Gantt API will be extended in the near future. At this moment you need to use viewType="Resources" and fill the Resources collection as necessary.

Bubble for scheduler only works when hovering edges of event

Can also be seen here: http://java.daypilot.org/demo/Scheduler/ Only pops up when cursor turns into a resize-cursor.

Real background color length

Answered: If you want to display background objects that do not match the cell dimension it might be better to use a special kind of events for that. You can apply custom CSS in BeforeEventRender to make them ...

Scheduler onload only renders half the area

Answered: This bug should be fixed now in build 7.5.8329. See the sandbox: http://java.daypilot.org/sandbox/

Row Header Auto Width

Answered: There is a bug indeed. It works like this: 1. rowHeaderHeight sets the minimal width to be used. 2. rowHeaderWidthAutoFit checks the content and if it doesn't fit there the width is increased. It sho...

Dynamic cellduration/cellwidth/time header

Answered: This is not yet possible. It sounds good, let me do a few tests.

Right click event

Answered: Sorry about this one. Accidentally had eventRightClickHandling = "ContextMenu" below everything

Custom hover event

Answered: It's not implemented at the moment. It might appear in the 7.4 release but I can't promise it.

Limit displayed weeks in Month calendar...

Answered: This is possible if you set viewType to "Weeks" and weeks to 3: dpm.viewType = "Weeks"; dpm.weeks = 3;

How do I set the tag field when I create the event?

Answered: If you digg you shall find. Apparently you define what "tags" should be looked for in the row object. To define the tags i wrote this in the init-method: setDataTagFields("mytag1, mytag2"); Then: Row...

Bug on IE9 and Scheduler.js: invalid argument on colSpan

Hi, On IE9, the following code will fail: if ($m.Columns == null || $m.Columns.length == 0) { c.colSpan = $0P; $R.style.width = $1l + "px"; } else { ... Because if $0P == 0, then an execption is rais...

Bug with getScrollableHeight into the scheduler.js

Answered: Thanks for reporting the bug. It's already fixed in the latest codebase and the fix will be included in the next release: http://java.daypilot.org/daypilot-pro-for-java-7-1/

Navigator winter-time troubles?

Im using Navigator with my scheduler have set it up to use Monday as the first day of the week. It all works fine for summer months, but in the winter-time months suddenly Sunday has become the first...

netbeans + apache

Hi, I’m tried deploy java calendar with netbeans as web project, but without success. I tried create project from yours war file, also I tried create own with project with your files. Nothing worked,...

How to Enable week-numbers in Scheduler?

Answered: The week number will be displayed in the first header row if you use dps.cellGroupBy = 'Week'; You can always override the onBeforeTimeHeaderRender() to customize the header HTML: @Override ...

Resource-Bubble for java scheduler

Answered: Erik, The resource bubble is now implemented in DayPilot Pro for Java. Example: Default.jsp dps.resourceBubble = new DayPilot.Bubble(); DpsServlet.java @Override public void onResourceBubble(R...

Non-resource resource parent

I'd like to make a feature request for daypilot for java. In my application Resources have parents, but a parent is not a bookable resource itself. For example: You are running a farm-holiday-resort....

ContextMenu - confirmdelete

Answered: It should look like this: dps.contextMenu = new DayPilot.Menu([ { text:"Delete", onclick: function() { if(confirm('Are you sure?')){ dps.eventMenu...

Scheduler - When does the day end?

Answered: It's now fixed in build 1.0.187. See also: http://java.daypilot.org/daypilot-pro-for-java-1-2/ Thanks for reporting the bug!

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...
Previous Questions 31-59 of 59