Question

2
Replies
444
Views
MohamedFathimaRazna Member since 2014 3 posts
Virtusa
Posted: 2 years ago
Last activity: 2 years 6 months ago
Closed

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 )

<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"/> />

Data Integration Java and Activities User Interface
Moderation Team has archived post
Share this page LinkedIn