4 Replies Latest reply on Nov 5, 2009 7:22 AM by romyo0o

    Calendar issue appears in Richfaces 3.3.3 SR1 and it's OK in

    romyo0o

      Hello ,

      First :
      I'm Using Frameset in my main page of the application

      <frameset id="MainFrameSet" cols="195px,100%" >
       <frame id="frameThree" name="buttonsPanelFrame" src="Menu.faces" scrolling="no" marginheight="0" marginwidth="0" noresize="noresize" frameborder="0"/>
       <frameset onload="history.go(+1)" id="frameSet" rows="180px,100%" >
       <frame id="frameOne" name="mainPanelFrame" scrolling="no" marginheight="0" marginwidth="0" noresize="noresize" frameborder="0"/>
       <frame id="frameTwo" name="detailsPanelFrame" marginheight="0" marginwidth="0" noresize="noresize" frameborder="0" scrolling="auto" style="border: 1px solid silver;"></frame>
       </frameset>
       </frameset>


      using MenuPanel in frame buttonsPanelFrame- Menu.faces
      every menu item in the Menu page call Another page and open it in another Frame " detailsPanelFrame " in the Same Main Page

      Menu.faces

      <rich:panelMenu style="width: 190px;" mode="client"
       iconExpandedGroup="disc" iconCollapsedGroup="disc"
       iconExpandedTopGroup="chevronUp"
       iconCollapsedTopGroup="chevronDown" expandSingle="true">
      
       <rich:panelMenuGroup label="Information">
      
       <rich:panelMenuItem id="accountInformation">
       <h:outputLink id="accountInformationLink"
       styleClass="menuItemLink" target="detailsPanelFrame"
       value="AccountInformation.faces">
       <h:outputText value="Account Information"
       styleClass="menuItemText" />
       </h:outputLink>
       </rich:panelMenuItem>
       </rich:panelMenuGroup>
      
       </rich:panelMenu>


      When click this menu Item it gets AccountInformation.faces
      and put it in to the target " detailsPanelFrame (Frame in the Frameset of the MainPage)"


      AccountInformation.faces
      (contains <rich:calendar/>)


       <f:view>
       <h:form id="accountHistoryForm">
       <a4j:queue requestDelay="100" ignoreDupResponses="true" size="1"
       sizeExceededBehavior="dropNew" />
       <h:inputHidden id="viewHidden"
       value="#{AccountHistoryManagedBean.view}"></h:inputHidden>
      
       <rich:panel id="accountHistoryRichPanel" styleClass="richpanel">
       <table width="100%">
      
       <tr>
       <td>
       <h:panelGrid id="accountHistoryGrid">
       <h:panelGrid columns="2" columnClasses="col,col2">
       <h:panelGrid id="datesGrid" columns="5">
      
       <h:outputLabel value="Start Date" styleClass="boldLabel"
       style="width: 60px;"></h:outputLabel>
       <rich:calendar id="startDateCalendar"
       datePattern="dd/MM/yyyy"
       binding="#{AccountHistoryManagedBean.startDateCalendar}"
       popup="true" scrollMode="client" cellWidth="20px"
       cellHeight="20px" style="width:200px;height:200px"></rich:calendar>
      
      
      
       <h:outputLabel value="End Date" styleClass="boldLabel"
       style="width: 60px;"></h:outputLabel>
      
       <rich:calendar id="endDateCalendar" datePattern="dd/MM/yyyy"
       binding="#{AccountHistoryManagedBean.endDateCalendar}"
       popup="true" scrollMode="client" cellWidth="20px"
       cellHeight="20px" style="width:200px;height:200px"></rich:calendar>
      
       <h:commandButton value="Submit" styleClass="bigButton"
       action="#{AccountHistoryManagedBean.submit}"
       onclick="enableAll();"></h:commandButton>
       </h:panelGrid>
      
       </h:panelGrid>
       </h:panelGrid>
       </td>
       </tr>
       </table>
       </rich:panel>
       </h:form>
       </f:view>
      



      After AccountInformation.faces appears in the detailsPanelFrame

      I tried to click another menu item to change the detailsPanelFrame
      contents but.....

      it's Opened in a new page not in the main page detailsPanelFrame

      and every menu item after this action open in a new page

      i've tried this and this only happen in the page that contains
      <rich:calendar/>



      Note :
      I know this is weird issue but It was Working in Richfaces 3.3.0 GA and 3.3.1 GA and when i changed the libs to any release after Richfaces 3.3.1 GA i got this Problem

      Thanks,