Question
Evonsys
LK
Last activity: 4 Apr 2018 9:19 EDT
Refresh section by Radio button click event in the grid view row
Hi All,
i want to refresh the section when doing radio button click in the grid view row with the below custom control. to refresh the section i modified the on click event as below: but section is not getting refreshed, how can i modify the below control to refresh a section??
this is how i modified the method:
onclick="Grids.getActiveGrid(event).setOtherRadioToFalse(this, event );" "pega.u.d.reloadSection(pega.u.d.getSectionByName('ORG-FW-CCF-Data-Entity-Address.ResidencyDetails','',''),'Testactivity','', false, true, '-1', false);"
My Cutom control (without refresh section method )
Hi All,
i want to refresh the section when doing radio button click in the grid view row with the below custom control. to refresh the section i modified the on click event as below: but section is not getting refreshed, how can i modify the below control to refresh a section??
this is how i modified the method:
onclick="Grids.getActiveGrid(event).setOtherRadioToFalse(this, event );" "pega.u.d.reloadSection(pega.u.d.getSectionByName('ORG-FW-CCF-Data-Entity-Address.ResidencyDetails','',''),'Testactivity','', false, true, '-1', false);"
My Cutom control (without refresh section method )
<pega:save name="strRefName" ref="$this-name" />
<pega:save name="strValue" ref="$this-value" />
<pega:include name="Messages"/>
<%
String output = StringUtils.crossScriptingFilter(tools.getSaveValue("strRefName").replaceAll("[\\d]" , ""));
%>
<input type="hidden" name="<p:r n='$this-name'/>" value="false"/>
<input type=radio name="<p:r n='$this-name'/>"
onclick="Grids.getActiveGrid(event).setOtherRadioToFalse(this, event );" value="true"
<pega:when test='$this-value=="true"'>
checked="true" id = "<%=output%>"
</pega:when>
<pega:choose>
<pega:when test="$mode-input">
</pega:when>
<pega:otherwise>
disabled="disabled"
</pega:otherwise>
</pega:choose>
<pega:include name="ClientValidation"/> />