Page History
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.
...
プロパティの値が現在のページのWAMとWebroutineの名前に一致した場合、メニュー・アイテムは選択された状態の表示だと仮定されます。(この比較では大文字小文字が区別されることに注意してください)
このプロパティに追加の条件を指定して適用することで、選択された状態であると仮定されるメニュー・アイテムを更に絞り込むことができます。
デフォルト値
true() (that is, no further condition applies追加の 条件は適用されません。)
Valid values
Any valid XPath expression that returns a Boolean value.
Example
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:
有効値
ブール値を返す有効なXPath式
例
次の例では、上記で説明されたデフォルト値テストに加えて、フィールド#STD_FLAGが'Xかどうか、ウェブレットでテストされます。この式は以下のような形式で入力してください。
プロパティがフォーカスを失うと、この式は以下のように表示されます。
When the property loses focus, the expression is shown as follows: