You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

[ |../../index.htm#lansa/wamb8_mitem_forceselected.htm]
You are here:

force_selected

If true, the menu item assumes the selected state regardless of the current WAM/Webroutine or the is_selected_if_also property. If you want to apply your own logic to deciding the state of the menu item you can set is_selected_if_also to False to disable the default logic and place an appropriate Boolean expression into force_selected.
For example, you could create a field that contained the name of the selected menu item. Then you could set the force_selected property (using the XPath entry area) to
#SELMENU = 'Menu1'
Default value
False() (the default logic is applied)
Valid values
Any valid XPath expression that returns a Boolean value.
[ |../../index.htm#lansa/wamb8_mitem_forceselected.htm]

  • No labels