Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-11973

rich:contextMenu - after ajax re-render of table contextMenu no longer works

    Details

      Description

      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.

      <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>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bleathem Brian Leathem
                  Reporter:
                  healeyb Brendan Healey
                • Votes:
                  6 Vote for this issue
                  Watchers:
                  11 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: