Versions Compared

Key

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

ウェブレットに提供されたリストを表示用に絞るために、フィルターとして使用する値を持つフィールドの名前

表示リスト作成時は、この値はリストの"セレクター"カラムの値と比較されます。一致した場合、そのエントリーが表示リストに含まれます。

これはサーバー側の作業を減らす有効な方法です。毎回実行時にリスト・エントリーを計算する代わりに、Webroutineで全ての可能な値とセレクター値を含むリストを事前に作成して出力することができます。そして、ブラウザがセレクター値を元にリストを絞って小さくします。

これにより、サーバー要求をすることなく、動的にリストを更新することも可能になります。更新用にモニターされるフィールドもまたselectorValueFieldである場合、ウェブレットは最初に渡されたリストに新しいセレクター値を適用して、ウェブレット自身を再構築することができます。

デフォルト値

ブランク

フィルターはされません。

有効値

現在のWebroutineの出力フィールドの名前

The name of a field whose value is used to filter the list supplied to the weblet into a smaller list for display. When building the display list, this value is compared with the value in the lists "selector" column. If a match is found the entry is included in the displayed list.

This can be useful for reducing the work done at the server. Instead of calculating the list entries every time it is executed, the webroutine could output a pre-built list with all possible values and a selector value. The browser can then reduce the list to a subset based on the selector value.

This can also be used to allow a dynamic list to refresh without having to make a server request. If the field being monitored for updates is also the selectorValueField then the weblet can rebuild itself by applying the new selector value to the list initially passed to it.

Default value

Blank. No filtering is done.

Valid values

The name of any output field in the current Webroutine.