以下のJSを実行しようとしています。以下のコードで指定されているように、クリックすると変数 RefreshMapping のプロパティを child に設定するラジオ ボタンがあります。ただし、これは機能していないようです。RefreshMapping のデフォルト値をテンプレートに設定しました。ラジオ ボタンを選択するたびに値が子に変更されますが、変更されません。どんな助けでも大歓迎です。
</script>
<SPAN nowrap>
<body>
<table cellpadding='0' cellspacing='0' width=''>
<tr>
<td class='{DataValueWrite}' nowrap='nowrap' width='' align="top">
<input <pega:include name="ClientValidation"/> type="radio" class="Radio" name="<pega:reference name="$this-name" />" onclick="document.getElementById('RefreshMapping').value='child';document.getElementById('RefreshMapping').click();" id="<pega:reference name="$THIS-DEFINITION(pyPropertyName)" />"
<pega:when java="<%= tools.getProperty("SelectedProduct.ChildProd").toString().equals("child") %>"> checked
</pega:when>
<pega:when java="<%= tools.getProperty("SelectedProduct.PROD_LEVEL").toString().equals("5") %>">
disabled
</pega:when>
value="true"><font class = "LabelName">Child Sub-Product/ Services</font>
</td>
</tr>
</table>
</body>
</SPAN>
PS: これは Pega PRPC というツールに含まれているため、構文は PEGA に固有のものであるため無視してください。