I'm trying to include a popup menu in a Tapestry page, but can't quite figure
out how to do this. I'm trying to attach a popup menu to each cell in a
table. The generated code look right, but it doesn't show the popup menu.
So far, I've got this:
<script type="text/javascript">
dojo.require("dojo.widget.Menu2");
</script>
...
<tr>
<div jwcid="@For" source="ognl:SectionList" value="ognl:Section"
index="ognl:SectionIndex">
<td jwcid="[EMAIL PROTECTED]">
Section Name
<div jwcid="@Any" dojoType="PopupMenu2"
targetNodeIds="clientId:Section">
<div dojoType="MenuItem2" caption="MENU1 Right click here!"></div>
<div dojoType="MenuItem2" caption="MENU1-Item 1"></div>
<div dojoType="MenuItem2" caption="MENU1-Item 2"></div>
</div>
</td>
</div>
<tr>
Firebug shows no errors, but I have a feeling that dojo isn't even trying to
load the menu because when I force an error in the id matching, it doesn't
dump out a bunch of error messages (as it would when functioning correctly).
--
View this message in context:
http://www.nabble.com/dojo%3APopupmenu2-in-Tapestry-tf4060199.html#a11535091
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]