• All Day Events not correct in Rest Service/iNotes Calendar Control

    By Uwe E. Jandt 1 decade ago

    All Day Events are displayed incorrectly in an iNotes Calendar Control:

    only the 1st day of a multiday event (e.g. holiday) is displayed,

    plus days after another calendar entry.



    e.g. All Day Event from Jan 20th to Jan 27th

    displayed is Jan 20th

    when I add an appointment (or meeting) to the calendar, on the 22th:

    All Day Event Jan 20th displayed,

    appointment 22th displayed

    All Day Event Jan 23rd displayed,



    — crazy —

    and now nobody (in my company) is trusting the calendar control any longer!



    the code:

                &lt;xe:restService id=&quot;restCal&quot; pathInfo=&quot;/calendar&quot;<br/>
                    preventDojoStore=&quot;false&quot;&gt;<br/>
                    &lt;xe:this.service&gt;<br/>
                        &lt;xe:calendarJsonLegacyService<br/>
                            viewName=&quot;$calendar&quot; colAltSubject=&quot;$151&quot; colCalendarDate=&quot;$134&quot;<br/>
                            colChair=&quot;$153&quot; colConfidential=&quot;$154&quot; colCustomData=&quot;$UserData&quot;<br/>
                            colEndTime=&quot;$146&quot; colEntryIcon=&quot;$149&quot; colEntryType=&quot;$152&quot;<br/>
                            colStartTime=&quot;$144&quot; colStatus=&quot;$160&quot; colSubject=&quot;$147&quot;<br/>
    

    contentType="text/json" databaseName="${javascript:sessionScope.calendarDBName}">

                        &lt;/xe:calendarJsonLegacyService&gt;<br/>
                    &lt;/xe:this.service&gt;<br/>
                &lt;/xe:restService&gt;<br/>
    



    <xe:calendarView id="calendarAD"

                                storeComponentId=&quot;restCal&quot;<br/>
                                type=&quot;#{javascript: null == viewScope.calendarType? 'W' : viewScope.calendarType }&quot;&gt;<br/>
                            &lt;/xe:calendarView&gt;<br/>
    



    Any solution would be greatly appreciated



    Uwe