I would like to start a Shale dialog from a menu. The following does not start the dialog:

  <t:navigationMenuItem id="addVendor"
    itemLabel="Add Vendor"
    action="dialog:addVendor"
    visibleOnUserRole="manager" />

The following javascipt is being generated:
[null, 'Add Vendor', 'navForm_navMenu_menu:A]dialog:addVendor', 'navForm', null]


The following does start the dialog:
  <h:commandButton action="dialog:addVendor" value="Add Vendor"/>

Why do <t:navigationMenuItem> and <h:commandButton> behave differently when using the same action?

Paul Spencer

Reply via email to