2

iNotes 日历控件中的所有日事件都显示不正确:仅显示多日事件(例如假期)的第一天,以及另一个日历条目之后的天数。

例如,当我在日历中添加约会(或会议)时,从 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"
                  }
                ]
            }
        },

任何解决方案将不胜感激

乌韦

4

0 回答 0