アクショングループにボタンが作成されています。ボタンの処理を停止するアクションが必要です。次のアクションの起動を停止します。
確認アクションを試しましたが、ユーザーは[OK]をクリックして続行できます。falseを返すスクリプト実行を試しましたが、何もしませんでした。
私はイベントハンドラーについて読んでいますが、これをボタンのコード自体に組み込む方法がわかりません。
ボタンの背後にある現在のコードは次のとおりです。
<xp:button id="button1" value="Create Account">
<xp:eventHandler event="onclick" submit="true"
refreshMode="complete" id="eventHandler1">
<xp:this.action>
<xp:actionGroup>
<xp:modifyField
name="ac_Key" value="#{javascript:@Unique()}"
var="document1">
</xp:modifyField>
<xp:saveDocument></xp:saveDocument>
<xp:openPage
name="/successAccount.xsp">
</xp:openPage>
</xp:actionGroup>
</xp:this.action>
</xp:eventHandler>
</xp:button>
ご協力ありがとうございます!