[
http://jira.jboss.com/jira/browse/RF-2648?page=all ]
Nick Belaevski updated RF-2648:
-------------------------------
Fix Version/s: 3.2.0
Assignee: Maksim Kaszynski
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
Assigned To: Maksim Kaszynski
Fix For: 3.2.0
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