休息服务/ iNotes日历控件中的全天事件不正确

时间:2013-02-19 07:48:36

标签: xpages xpages-extlib

iNotes日历控件中的全天事件显示不正确: 仅显示多日事件(例如假日)的第一天, 加上另一个日历条目后的天数。

e.g。 1月20日至1月27日的全天活动 仅在1月20日显示 当我向日历添加约会(或会议)时,例如22日: 然后,全天活动将在1月20日和1月23日(或22日,有时)显示。

---疯了--- 现在“没人”(在我的公司)再信任日历控件了!

代码:

<xe:restService id="restCal" pathInfo="/calendar"
preventDojoStore="false">
<xe:this.service>
<xe:calendarJsonLegacyService
viewName="$calendar" colAltSubject="$151" colCalendarDate="$134"
colChair="$153" colConfidential="$154" colCustomData="$UserData"
colEndTime="$146" colEntryIcon="$149" colEntryType="$152"
colStartTime="$144" colStatus="$160" colSubject="$147"
contentType="text/json" databaseName="${javascript:sessionScope.calendarDBName}">
</xe:calendarJsonLegacyService>
</xe:this.service>
</xe:restService>

<xe:calendarView id="calendarAD"
storeComponentId="restCal"
type="#{javascript: null == viewScope.calendarType? 'W' : viewScope.calendarType }">
</xe:calendarView>

编辑(保罗评论后): 萤火虫数据显示全天事件被写入3次并具有相同的日期/时间值,直到写入不同的约会数据:

      "@unid":"B4E518662A79F897C1257B160067B553",
      "@noteid":"147E6",
      "@position":"632",
      "@siblings":"641",
      "entrydata":
      [
        {
            "@columnnumber":"0",
            "@name":"$134",
            "datetimelist":
            {
                "datetime":
                [
                  {
                      "0":"20130219T040000"
                  }
                ]
            }
        }, 
// ========================================
// ... some more code 
// ... than again the all day event with the SAME date/time value :
// ========================================
      "@unid":"B4E518662A79F897C1257B160067B553",
      "@noteid":"147E6",
      "@position":"632",
      "@siblings":"641",
      "entrydata":
      [
        {
            "@columnnumber":"0",
            "@name":"$134",
            "datetimelist":
            {
                "datetime":
                [
                  {
                      "0":"20130219T040000"
                  }
                ]
            }
        }, 
// ========================================
// ... some more code 
// ... and a 3rd time, with the SAME date/time value:
// ========================================
      "@unid":"B4E518662A79F897C1257B160067B553",
      "@noteid":"147E6",
      "@position":"632",
      "@siblings":"641",
      "entrydata":
      [
        {
            "@columnnumber":"0",
            "@name":"$134",
            "datetimelist":
            {
                "datetime":
                [
                  {
                      "0":"20130219T040000"
                  }
                ]
            }
        }, 
// ========================================
// .... some more code 
// ... then followed by a different appointment:
// ========================================
      "@unid":"ADA38EEBCC643595C1257B160068056A",
      "@noteid":"147EA",
      "@position":"635",
      "@siblings":"641",
      "entrydata":
      [
        {
            "@columnnumber":"0",
            "@name":"$134",
            "datetime":
            {
                "0":"20130221T090000"
            }
        }, 
// ========================================
//... some more code 
//... AND THEN the all day event again, now with a changed date value:
// ========================================
      "@unid":"B4E518662A79F897C1257B160067B553",
      "@noteid":"147E6",
      "@position":"634",
      "@siblings":"641",
      "entrydata":
      [
        {
            "@columnnumber":"0",
            "@name":"$134",
            "datetimelist":
            {
                "datetime":
                [
                  {
                      "0":"20130221T040000"
                  }
                ]
            }
        },

非常感谢任何解决方案

乌韦

0 个答案:

没有答案