ポップアップウィンドウ(私が取得している場所)が必要で、ポップアップウィンドウでチェックボックスを選択します。私が立ち往生した場所は、ポップアップから親ページまでのチェックボックスの数が必要です。カウントは行われていますが、ポップアップで保存をクリックすると、親ウィンドウ全体がリロードされます。私が必要としているのは、ポップアップ onclick を表示するために使用したボタンだけをリロードする必要があるということです。ここでは、AJAX を使用して実行しています。コード スニペットを見つけて、何か必要な場合はお知らせください。ありがとうございます。
ここにコードスニペットが添付されています
現れる
<h:form id='popup'>
<h:panelGrid columns="6" cellspacing="15">
<h:selectManyCheckbox value = "#{repricing.rowOneSelectedCompetitors}" id="input">
<f:selectItems value="#{competitor.competitorList}" var="competitor_name"
itemValue="#{competitor_name}"/>
</h:selectManyCheckbox>
</h:outputLabel>
</h:panelGrid>
<h:panelGroup style="display:block; text-align:center">
<h:commandButton type="reset" value="Restore to Default"></h:commandButton>
<h:commandButton value="save" type="submit">
<f:ajax execute="input" render="output" ></f:ajax>
</h:commandButton>
</h:panelGroup>
</h:form>
親ページ
<div class="col-md-12 padding">
<span>
<input id= "output" type="button" value=" selected Competitors" style="width: auto; float: none; display: inline-block; padding: 0 6px; margin-right: 15px;" class="btn btn-default" data-toggle="modal" data-target="#addModal1"></input>
</span>
</div>