Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[ Image Removed |../../index.htm#lansa/wamb8_mitem_select_also.htm]
You are here:

...

By default, a menu item assumes the selected-state appearance if the values for its on_click_wamname and on_click_wrname properties match the WAM and webroutine name of the current page (note that this comparison is case-sensitive).

This property allows you to extend this behavior by specifying a further condition that must apply for the menu item to assume the selected-state.

true() (that is, no further condition applies)

Any valid XPath expression that returns a Boolean value.

This example specifies that, in addition to the default tests specified above, the weblet will test if the field #STD_FLAG is equal to 'X'. The expression should be entered in this form: Image Removed

Image Added
When the property loses focus, the expression is shown as follows:
Image Removed
[ Image Removed |../../index.htm#lansa/wamb8_mitem_select_also.htm]Image Added