Page History
Webページにプッシュ・ボタンを追加するには、以下の手順に従ってください。
- [ウェブレット テンプレート]タブをクリックし、上にあるドロップダウン・リストから[標準ウェブレット]を選択、プッシュ・ボタン・ウェブレットを探します。
- 必要なウェブレットをWebページにドラッグ・アンド・ドロップしてください。[詳細]タブをクリックします。
- ボタンに表示されるテキストをcaption に設定します。イメージ付きのプッシュ・ボタンの場合は、image プロパティに適切な値を設定します。左側のイメージと右側のイメージが設定できます。
- ボタンがクリックされたときに呼び出されるWebroutineの名前をon_click_wrnameプロパティに設定します。このWebroutineが現在のWebroutineと異なるWAMにある場合は、on_click_wamnameプロパティも設定しなければなりません。
To add a push button to your web page:
- Click on the Weblets tab, select Standard Weblets from the drop-down list near the top and locate either of the Push Button weblets.
- Drag and drop the required weblet onto the web page. Click on the Details tab.
- Set the caption to specify the text to be displayed on the button. In the case of the Push Button with Images, set the appropriate image properties. A left-hand side image and a right-hand side image can be set.
- Set the on_click_wrname properties to the name of the webroutine to be invoked when the button is clicked. If the webroutine is in a different WAM to the current webroutine then you will also need to set the on_click_wamname property.