[richfaces-issues] [JBoss JIRA] Updated: (RF-2648) Wrong place of context menu in datatable with scrollbar
Pavel Yaschenko (JIRA)
jira-events at lists.jboss.org
Fri Dec 12 08:23:37 EST 2008
[ https://jira.jboss.org/jira/browse/RF-2648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Yaschenko updated RF-2648:
--------------------------------
Original Estimate: 1 day
Remaining Estimate: 1 day
Component/s: planning_all
Due Date: 21/Dec/08
> 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: Pavel Yaschenko
> Fix For: 3.3.0
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> 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
More information about the richfaces-issues
mailing list