ICEfaces
  1. ICEfaces
  2. ICE-7059

Add option to multi-month dateTimeEntry to specify which month to display leftmost

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-2.0.0.GA, 2.0.2
    • Fix Version/s: 2.1-Beta, 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      *
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      From ICE-6875:

      When displaying >1 month in the calendar view, provide a new attribute to specify which months should be displayed. For example, make it possible to have it so that three months displays last, current, next month left to right. Two months displays current, next month left to right. Alternatively, three months displays this month, next month, and the month after that, etc.

      The suggested mechanism is as follows:

      - add a new attribute called something like 'leftMonthOffset' which would accept an integer value. This would specify a zero-based offset indicating which month should be displayed in the leftmost position in the popup calendar, relative to the date value.

      For example:

      monthsToDisplay = 3
      leftMonthOffset = -5

      This config would open the popup with the left-most month being date - 5 months, with the middle month slot being date - 4 months, and the right most slot being date - 3 months.

        Activity

        Hide
        yip.ng added a comment -

        Revision: 25115


        Modified : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/resources/icefaces.ace/jquery/ui/jquery-ui.js
        Modified : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntryMeta.java
        Modified : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntryRenderer.java

        Show
        yip.ng added a comment - Revision: 25115 Modified : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/resources/icefaces.ace/jquery/ui/jquery-ui.js Modified : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntryMeta.java Modified : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntryRenderer.java

          People

          • Assignee:
            yip.ng
            Reporter:
            yip.ng
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: