[
https://jira.jboss.org/jira/browse/RF-8224?page=com.atlassian.jira.plugin...
]
Nick Belaevski commented on RF-8224:
------------------------------------
"trimOverlayedElements" can be switched off to make calendar appear on top of
modal panel:
<rich:modalPanel id="panel" width="350" height="200"
trimOverlayedElements="false">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="Modal Panel"></h:outputText>
</h:panelGroup>
</f:facet>
<!-- Content -->
<div style="height: 300px; overflow: auto"><h:panelGrid
columns="1">
<rich:calendar value=""
style="width:200px" />
<rich:spacer height="1200px" />
</h:panelGrid></div>
</rich:modalPanel>
Richfaces 3.3.1+ : richfaces calendar popup closes on clicking the
scrollbar of the window
------------------------------------------------------------------------------------------
Key: RF-8224
URL:
https://jira.jboss.org/jira/browse/RF-8224
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component
Affects Versions: 3.3.1
Reporter: Indu K
Assignee: Nick Belaevski
When a richfaces calendar popup is opened in a richfaces modal panel with scrollbar and
the user tries to scroll using the scrollbar of the modal panel to view the rest of the
calendar popup, the calendar popup closes. This was working fine in 3.2.2 version of
richfaces (it remained open and the user could scroll down the modal panel and view the
calendar popup). It's also broken in 3.3.2 version.
Sample code:
<rich:modalPanel id="panel" width="350"
height="200">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="Modal Panel"></h:outputText>
</h:panelGroup>
</f:facet>
<!-- Content -->
<div style="height:300px; overflow:auto" >
<h:panelGrid columns="1">
<rich:calendar value="#{calendarBean.selectedDate}"
style="width:200px"/>
<rich:spacer height="1200px"/>
</h:panelGrid>
</div>
</rich:modalPanel>
<h:outputLink value="#" id="link">
Show Modal Panel
<rich:componentControl for="panel" attachTo="link"
operation="show" event="onclick"/>
</h:outputLink>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira