ICEfaces
  1. ICEfaces
  2. ICE-5316

Popup Calendar doesnot work if it is placed directly under ice:form

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 2.0-Alpha3, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      N/A

      Description

      Popup Calendar does not work if it is placed under <ice:form>.

      But works partially when placed under
      <ice:form>
        <ice:panelTabSet>
             <ice:panelTab>
                       <ice:selectInputDate id="testCalendar" renderAsPopup="true"/>

      When placed under panelTabSet the calendar pops up fine but closes when user tries to change the month or year on the calendar. The calendar closes itself even when user selectes a date.

        Activity

        Mandeep Hayher created issue -
        Mandeep Hayher made changes -
        Field Original Value New Value
        Salesforce Case []
        Affects Version/s 2.0-Alpha3 [ 10032 ]
        Affects Version/s 2.0-Alpha2 [ 10214 ]
        Mandeep Hayher made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.0-Alpha3 [ 10032 ]
        Hide
        Mandeep Hayher added a comment -

        Testcase available at 'C:\repo\qa\trunk\Regression-Icefaces2\Nightly\ICE-3108\web'.

        Note: The calendar closes itself on date selection even when its not under panelTabset.
        Testcase available at 'C:\repo\qa\trunk\Regression-Icefaces2\Nightly\ICE-1960'.

        Show
        Mandeep Hayher added a comment - Testcase available at 'C:\repo\qa\trunk\Regression-Icefaces2\Nightly\ ICE-3108 \web'. Note: The calendar closes itself on date selection even when its not under panelTabset. Testcase available at 'C:\repo\qa\trunk\Regression-Icefaces2\Nightly\ ICE-1960 '.
        Hide
        Mandeep Hayher added a comment -

        Also note that in ICE-1960 the selected date is reset when the popup calendar is reopened.

        Show
        Mandeep Hayher added a comment - Also note that in ICE-1960 the selected date is reset when the popup calendar is reopened.
        Hide
        Mandeep Hayher added a comment -

        In ICE-3108 popup calendar cannot be closed by clicking on the close button.

        Show
        Mandeep Hayher added a comment - In ICE-3108 popup calendar cannot be closed by clicking on the close button.
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Joanne Bai [ joanne_bai ]
        Hide
        Joanne Bai added a comment - - edited

        Tested on Glimmer revision 21458 using tomcat 6.0.26 + FF3.6

        Issue still exists for ICE-3108 and ICE-1960 - cannot see calendar displaying.

        Show
        Joanne Bai added a comment - - edited Tested on Glimmer revision 21458 using tomcat 6.0.26 + FF3.6 Issue still exists for ICE-3108 and ICE-1960 - cannot see calendar displaying.
        Joanne Bai made changes -
        Assignee Joanne Bai [ joanne_bai ] Ken Fyten [ ken.fyten ]
        Hide
        Joanne Bai added a comment -

        Glimmer revision 21501
        Server: Tomcat 6.0.26
        Browsers: FF3.6, IE8

        ICE-1960: tested successfully using script.
        ICE-3108: calendars are now displaying when placed directly under <ice:form>, but the popup closes itself when clicking to make a month or year selection

        Show
        Joanne Bai added a comment - Glimmer revision 21501 Server: Tomcat 6.0.26 Browsers: FF3.6, IE8 ICE-1960 : tested successfully using script. ICE-3108 : calendars are now displaying when placed directly under <ice:form>, but the popup closes itself when clicking to make a month or year selection
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Ken Fyten [ ken.fyten ] Yip Ng [ yip.ng ]
        Hide
        yip.ng added a comment -

        3108: Doesn't have anything to do with form or calendar. It's the tab. Tried removing tab and everything worked fine.

        Show
        yip.ng added a comment - 3108: Doesn't have anything to do with form or calendar. It's the tab. Tried removing tab and everything worked fine.
        Hide
        yip.ng added a comment -

        Somehow, the toggle state is lost between decodes when in a tab.

        Show
        yip.ng added a comment - Somehow, the toggle state is lost between decodes when in a tab.
        Hide
        yip.ng added a comment -

        Put calendar in tabset and table in compat showcase. Problems (i.e. popup calendar cannot be closed by clicking on the close button; popup closes itself when clicking to make a month or year selection) occur in tabset but not in table.

        Show
        yip.ng added a comment - Put calendar in tabset and table in compat showcase. Problems (i.e. popup calendar cannot be closed by clicking on the close button; popup closes itself when clicking to make a month or year selection) occur in tabset but not in table.
        Hide
        yip.ng added a comment -

        1960: The calendar closes itself on date selection. This is the expected behavior. Only when there is a time component should the calendar not close itself. See component showcase demo.

        Show
        yip.ng added a comment - 1960: The calendar closes itself on date selection. This is the expected behavior. Only when there is a time component should the calendar not close itself. See component showcase demo.
        Hide
        yip.ng added a comment -

        Calendar inside collapsible panel inside tabset: same as calendar inside tabset., i.e. problems.
        Calendar inside h:dataTable: same as calendar inside ice:dataTable, i.e. no problem.

        Show
        yip.ng added a comment - Calendar inside collapsible panel inside tabset: same as calendar inside tabset., i.e. problems. Calendar inside h:dataTable: same as calendar inside ice:dataTable, i.e. no problem.
        Hide
        yip.ng added a comment -

        1960: the selected date is reset when the popup calendar is reopened. That's because bean scope hadn't been changed to view scope. Change checked in.

        Show
        yip.ng added a comment - 1960: the selected date is reset when the popup calendar is reopened. That's because bean scope hadn't been changed to view scope. Change checked in.
        Hide
        Mandeep Hayher added a comment -

        ICE-1960 the selected date is reset when the popup calendar is reopened: successfully verified on
        glimmer revision# 21511
        Server: Tomcat6
        Browser: FF3.6

        Show
        Mandeep Hayher added a comment - ICE-1960 the selected date is reset when the popup calendar is reopened: successfully verified on glimmer revision# 21511 Server: Tomcat6 Browser: FF3.6
        Hide
        yip.ng added a comment - - edited

        All issues except the state-saving issue solved. State-saving issue split into ICE-5784.

        Show
        yip.ng added a comment - - edited All issues except the state-saving issue solved. State-saving issue split into ICE-5784 .
        yip.ng made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: