[
https://jira.jboss.org/jira/browse/RF-2648?page=com.atlassian.jira.plugin...
]
Pavel Yaschenko logged work on RF-2648:
---------------------------------------
Author: Pavel Yaschenko
Created on: 20/Dec/08 07:53 AM
Start Date: 20/Dec/08 07:52 AM
Worklog Time Spent: 4 hours
Issue Time Tracking
-------------------
Remaining Estimate: 4 hours (was: 1 day)
Time Spent: 4 hours
Wrong place of context menu in datatable with scrollbar
-------------------------------------------------------
Key: RF-2648
URL:
https://jira.jboss.org/jira/browse/RF-2648
Project: RichFaces
Issue Type: Bug
Components: planning_all
Affects Versions: 3.1.4
Environment: Windows Vista, Firefox 2.0.0.12
Reporter: Marcin Bednarek
Assignee: Alexander Dubovsky
Fix For: 3.3.0
Original Estimate: 1 day
Time Spent: 4 hours
Remaining Estimate: 4 hours
I have a datatable with css scrollbar.
<rich:panel id="dirView" style="margin-left:
310px;width:830px;height:420px;position:absolute;top:65px;overflow:auto;padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;">
<rich:dataTable id="lineItemTable" cellpadding="0"
cellspacing="0" border="0" var="element"
value="#{treeBean.folderData}">
.......
In one column I have context menu :
<rich:column style="width:580px;">
<s:div id="fileName"
rendered="#{element.nodeType=='F'}">
<rich:contextMenu id="fileNameContextMenu" event="oncontextmenu"
attached="true"
submitMode="ajax" hideDelay="60000">
<rich:menuItem value="History"
action="#{treeBean.setSelectedDocument(element)}"
oncomplete="Richfaces.showModalPanel('versionModalPanel');"
id="showVersion" status="statusDirView"
reRender="fileVersionModalHeader">
</rich:menuItem>
</rich:contextMenu>
<h:graphicImage value="/images/iconFile.gif">
</h:graphicImage>
<h:outputLabel value="#{element.name}">
</h:outputLabel>
</s:div>
</rich:column>
</rich:dataTable>
</rich:panel>
There are a lot of rows in the table. When I scroll down and click on column to show
context menu it is shown in wrong place (near
top of the table). It looks like the scrollbar position isn't taken into
consideration when calculating the position of context menu.
--
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