Author: vbaranov
Date: 2008-04-17 07:07:47 -0400 (Thu, 17 Apr 2008)
New Revision: 7887
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/example/menu.xhtml
Log:
http://jira.jboss.com/jira/browse/RF-2241
Modified:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/example/menu.xhtml
===================================================================
---
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/example/menu.xhtml 2008-04-17
11:01:29 UTC (rev 7886)
+++
trunk/samples/richfaces-demo/src/main/webapp/richfaces/contextMenu/example/menu.xhtml 2008-04-17
11:07:47 UTC (rev 7887)
@@ -19,7 +19,7 @@
<h:panelGroup id="picture">
<h:graphicImage value="/richfaces/jQuery/images/pic1.jpg"
id="pic" style="border : 5px solid #E4EAEF"/>
- <rich:contextMenu event="oncontextmenu" attached="true"
submitMode="none">
+ <rich:contextMenu event="oncontextmenu" attachTo="pic"
submitMode="none">
<rich:menuItem value="Zoom In" onclick="enlarge();"
id="zin"></rich:menuItem>
<rich:menuItem value="Zoom Out" onclick="decrease();"
id="zout"></rich:menuItem>
</rich:contextMenu>