[richfaces-issues] [JBoss JIRA] Created: (RF-2648) Wrong place of context menu in datatable with scrollbar
Marcin Bednarek (JIRA)
jira-events at lists.jboss.org
Thu Mar 20 09:45:51 EDT 2008
Wrong place of context menu in datatable with scrollbar
-------------------------------------------------------
Key: RF-2648
URL: http://jira.jboss.com/jira/browse/RF-2648
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: Windows Vista, Firefox 2.0.0.12
Reporter: Marcin Bednarek
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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list