[ 
https://issues.jboss.org/browse/RF-11973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669957#comment-12669957
 ] 

Brendan Healey edited comment on RF-11973 at 2/22/12 8:59 AM:
--------------------------------------------------------------

Hi, I've been doing some additional testing (actually adding more contextMenus 
to the app!).

What I've now noticed is that with a contextMenu attached to an 
extendedDataTable with
target=, I reload the page and right click on a table row. The menu shows. If I 
then
move the mouse away from the menu (still within the extendedDataTable, no mouse 
clicks) the
menu hides, but subsequent right clicks just bring up the browser right click 
menu.

I've not found any workaround other than page reload for this, and as such 
perhaps this could
be upgraded to critical?
                
      was (Author: healeyb):
    Hi, I've been doing some additional testing (actually adding more 
contextMenus to the app!).

What I've now noticed is that with a contextMenu attached to an 
extendedDataTable with
target=, I reload the page and right click on a table row. The menu shows. If I 
then
move the mouse away from the menu (still within the extendedDataTable, no mouse 
clicks) the
menu hides, but subsequent right clicks just bring up the browser right click 
menu.

I've not found any workaround other than page reload for this.
                  
> rich:contextMenu - after ajax re-render of table contextMenu no longer works
> ----------------------------------------------------------------------------
>
>                 Key: RF-11973
>                 URL: https://issues.jboss.org/browse/RF-11973
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.2.0.CR1
>         Environment: chrome browser / glassfish 3.1.1 / mojarra 2.1.6
>            Reporter: Brendan Healey
>             Fix For: 4.3-Tracking
>
>
> With the following code structure, when the page is first rendered
> you can right click on a row in the table and the context menu appears.
> After pushing the commandButton subsequent right clicks show the
> default browser right click menu, and not the context menu.
> {code}
> <rich:extendedDataTable id="mytable">
>   ...
> </rich:extendedDataTable>
> <a4j:commandButton value="push" render="mytable"/>
> <rich:contextMenu target="mytable" mode="ajax">
>                 <rich:menuItem label="Delete"
>                                mode="ajax"
>                                onclick="alert('hello, world!')"/>
> </rich:contextMenu>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to