<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Right-Click Context Menu on Map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/right-click-context-menu-on-map/m-p/519508#M48424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I checked on the forums and didn�??t see an answer to what I�??m trying to do, so hoping someone will know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an ArgGIS map using the JavaScript API.&amp;nbsp; It creates a route on the map using several dots connected by lines.&amp;nbsp; We would like the ability to create a right-click context menu.&amp;nbsp; We�??re creating the project using RichFaces, and of course we also have access to the dojo framework.&amp;nbsp; Both of these frameworks provide a menu like the one I�??m looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dijit.Menu: &lt;/SPAN&gt;&lt;A href="http://dojotoolkit.org/reference-guide/dijit/Menu.html"&gt;http://dojotoolkit.org/reference-guide/dijit/Menu.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(Programmatic example and Declaritive markup example)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Richfaces context menu: &lt;/SPAN&gt;&lt;A href="http://liferay.exadel.com/web/guest"&gt;http://liferay.exadel.com/web/guest&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(Click �??Rich menu�?? on the left, then �??Context Menu�??)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that both of these solutions require the item you right-click to have an ID attribute, which the map graphics don�??t.&amp;nbsp; Is there a way that anyone knows to integrate one of these context menus into my map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2011 12:41:44 GMT</pubDate>
    <dc:creator>JasonMiller1</dc:creator>
    <dc:date>2011-03-10T12:41:44Z</dc:date>
    <item>
      <title>Right-Click Context Menu on Map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/right-click-context-menu-on-map/m-p/519508#M48424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I checked on the forums and didn�??t see an answer to what I�??m trying to do, so hoping someone will know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an ArgGIS map using the JavaScript API.&amp;nbsp; It creates a route on the map using several dots connected by lines.&amp;nbsp; We would like the ability to create a right-click context menu.&amp;nbsp; We�??re creating the project using RichFaces, and of course we also have access to the dojo framework.&amp;nbsp; Both of these frameworks provide a menu like the one I�??m looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dijit.Menu: &lt;/SPAN&gt;&lt;A href="http://dojotoolkit.org/reference-guide/dijit/Menu.html"&gt;http://dojotoolkit.org/reference-guide/dijit/Menu.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(Programmatic example and Declaritive markup example)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Richfaces context menu: &lt;/SPAN&gt;&lt;A href="http://liferay.exadel.com/web/guest"&gt;http://liferay.exadel.com/web/guest&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(Click �??Rich menu�?? on the left, then �??Context Menu�??)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that both of these solutions require the item you right-click to have an ID attribute, which the map graphics don�??t.&amp;nbsp; Is there a way that anyone knows to integrate one of these context menus into my map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 12:41:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/right-click-context-menu-on-map/m-p/519508#M48424</guid>
      <dc:creator>JasonMiller1</dc:creator>
      <dc:date>2011-03-10T12:41:44Z</dc:date>
    </item>
  </channel>
</rss>

