Versions Compared

Key

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

If true, the menu item assumes the selected state regardless of the current WAM/Webroutine or the istrueの場合、現在のWAM/Webroutineやis_selected_if_also property. If you want to apply your own logic to deciding the state of the menu item you can set isalsoプロパティに関係なく、メニュー・アイテムが選択された状態だと仮定されます。自身のロジックを適用させてメニュー・アイテムの状態を決定したい場合、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'

...

alsoにfalseを設定してデフォルト値のロジックを無効にし、force_selectedに適切なブール値の式を入れます。

例えば、選択されたメニュー・アイテムの名前を含むフィールドを作成します。そして、force_selectedプロパティに(XPathのエントリ・エリアを利用して)次のような式を設定します。

           #SELMENU = ‘Menu1’

デフォルト値

False() (the default logic is appliedデフォルト値のロジックが適用されます。)

有効値

ブール値を返す有効なXPath式Any valid XPath expression that returns a Boolean value.