Question

2
Replies
164
Views
ManjulaT Member since 2014 2 posts
Infosys
Posted: 1 year ago
Last activity: 1 year 9 months ago
Closed

User selected value is not retained in dropdown

Hi,

Below is the non auto generated HTML code used in our Application. When user selects a value in the dropdown of Correspondence type among the options (Consumer and OtherParty) being displayed to the user, the value is not retained. Once the user selects the value screen is refreshed and the value is always defaulted back to Consumer irrespective of the whether the user selects Consumer or OtherParty.

{WHEN ShowFollowUp}
{INCLUDE Rule-HTML-Section = FollowUpSection}
{/WHEN}
{WHEN DoSendCorr}
<br></br>
<TABLE width="30%" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD class="dataLabelStyle" align="center" style="color:red">Do you want to send correspondence Email to the lab?</TD><TD class="dataLabelStyle" align="center"><input name=".DoSendCorrespondence" type="radio" value="1" style="border:0px" onclick="handleClientEvent('SERVER', '','&OnChange=false', '-1', event);" />Yes</TD><TD class="dataLabelStyle" align="center"><input name=".DoSendCorrespondence" type="radio" value="0" checked style="border:0px" onclick="handleClientEvent('SERVER', '','&OnChange=false', '-1', event);" />No</TD></TR>
</TABLE>
{/WHEN}
{WHEN DisplaySendCorr}
{JAVA}
setParameterValue("CorrType", tools.findPage("pyWorkPage").getProperty("CorrType").toString() );
{/JAVA}
{INCLUDE CARefreshInteraction}
{INCLUDE Stream=CAInitCorrScripts}
{INCLUDE Rule-HTML-Fragment = DynamicSelect_Script}
{JAVA}
ParameterPage newParams = new ParameterPage();
newParams.setValue("WorkObjectClass",getPrimaryPage().getObjClass());
doActivity(getPrimaryPage().getObjClass(),"ClearPageMessages",getPrimaryPage(),newParams);
{/JAVA}
<TABLE width="90%" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD>
<TABLE CELLSPACING=1 CELLPADDING=0 width="90%">
<TR><TD>
<TABLE CELLSPACING=1 CELLPADDING=0>
<TR>
<TD class="dataLabelStyle">&nbsp;</TD>
</TR>
<TR>
<TD class="dataLabelStyle" align="left" width="80" style="color:red">Correspondence</TD>
<TD CLASS="dataStyle">
<SELECT name="param.CorrType" onchange="handleClientEvent('SERVER', '','&OnChange=false', '-1', event);">
<OPTION VALUE="select">Select Correspondence...</OPTION>
<OPTION VALUE="Email" {when param.CorrType=="Email"} selected {/when}>Email</OPTION> </SELECT>
</TD>
{WHEN Param.CorrType != ""} <!-- When correspondence type has been selected -->
{WHEN Param.CorrPartyRole == "OtherParty"}
{java}
if (! pega_rules_default.PropertyExists(".pyWorkParty(OtherParty)",this) ) {
ParameterPage newParamsPage = new ParameterPage();
// Expression: TempPlaceHolder
newParamsPage.putObject("pyTempPlaceHolder", "TempPlaceHolder");
HashStringMap params = new HashStringMap();
params.putString("pxObjClass", "Rule-Obj-Activity");
params.putString("pyClassName", tools.getPrimaryPage().getString("pxObjClass"));
params.putString("pyActivityName", "CACreateOtherParty");
tools.doActivity(params, tools.getPrimaryPage(), newParamsPage);
}
{/java}
{/WHEN}
<TD class="dataStyle">
{save OtherExists="false"}
<SELECT NAME="{=CorrPartyRole=}" onchange="submitSelection()">
<OPTION VALUE="">Select Role...</OPTION>
{FOREACH .pyWorkParty}
{when {$this.pxSubscript} == "OtherParty"}
{save OtherExists="true"}
{/when}
{WHEN {$this.pxSubscript} != 'CSR' && {$this.pxSubscript} != 'AccountOwner' &&
{%thisRef().getProperty(".pxSubscript").getValue().indexOf("_") == -1%}}
{WHEN {%thisRef().getProperty(".pxSubscript").getValue().equals(getParameterValue("CorrPartyRole")) || getParameterValue("CorrPartyRole") == "" %}}
{WHEN {$this.pxSubscript} == 'Contact'}
<OPTION VALUE="{$this.pxSubscript}" selected>Consumer</OPTION>
{% setParameterValue("CorrPartyRole","Contact");
tools.findPage("pyWorkPage").putString(".SelectedCorrParty", getParameterValue("CorrPartyRole")); %}
{ELSEWHEN}
<OPTION VALUE="{$this.pxSubscript}" selected>{$this.pxSubscript}</OPTION>
{/WHEN}
{ELSE}
{WHEN {$this.pxSubscript} == 'Contact'}
<OPTION VALUE="{$this.pxSubscript}">Consumer</OPTION>
{ELSEWHEN}
<OPTION VALUE="{$this.pxSubscript}">{$this.pxSubscript}</OPTION>
{/WHEN}
{/WHEN}
{/WHEN}
{/FOREACH}
{when {$save(OtherExists)} == "false" }
<OPTION VALUE="OtherParty" >OtherParty</OPTION>
{/when}
</SELECT>
</TD>
</TR>
</TABLECELLSPACING=1 CELLPADDING=0 width="100%" style="height:30%">
<TABLE>
<TR>
<TD align="right" width="90" style="color:red"><B>Country</B></TD>
{java}
ParameterPage newParamsPage = new ParameterPage();
ClipboardPage cp = tools.createPage("Kraft-FW-FECH-Party-Client", "DummyPage");
HashStringMap params = new HashStringMap();
params.putString("pxObjClass", "Rule-Obj-Activity");
params.putString("pyClassName", "Kraft-FW-FECH-Party-Client");
params.putString("pyActivityName", "AppGetClientCountry");
tools.doActivity(params, cp, newParamsPage);
{/java}
<TD>
<SELECT Name=".TempConsumerCountryFull" onChange="handleClientEvent('SERVER', 'PopulateTemplates','&OnChange=false', '-1', event);">
<OPTION VALUE="">Select Country..</OPTION>
{FOREACH AppClientCountry.pxResults}
<OPTION VALUE="{$this.CO_CODE NORMAL}">{$this.CO_LIBELLE NORMAL} </OPTION>
{/FOREACH}
</SELECT>
</TD>
</TR>
</TABLE>
<TABLE CELLSPACING=1 CELLPADDING=0 width="100%" style="height:50%">
{WHEN Param.CorrType == "Email"}
<TR>
<TD class="dataLabelStyle" width="50%">
<TABLE CELLSPACING=1 CELLPADDING=0>
<TR>
{JAVA}
ParameterPage newParams = new ParameterPage();
newParams.setValue("WorkObjectClass",getPrimaryPage().getObjClass());
String corrTypepv = getParameterValue("CorrType");
if (corrTypepv.indexOf("_") > 0)
{
corrTypepv = corrTypepv.substring(0, corrTypepv.indexOf("_"));
}
newParams.setValue("CorrType", corrTypepv);
doActivity(getPrimaryPage().getObjClass(),"PopulateTemplates",getPrimaryPage(),newParams);
{/JAVA}
<TD align="right" width="90" style="color:red"><B>Template</B></TD>
<TD class="dataStyle">&nbsp;<SELECT Name=".CorrList" onChange="submitSelection(this)">
<OPTION VALUE="">Select Template...</OPTION>
{FOREACH pyCorrList.pxResults}
{WHEN {%thisRef().getProperty(".pyStreamName").getValue().equals(tools.findPage("pyWorkPage").getProperty("CorrList"))%}}
<OPTION VALUE="{$this.pyStreamName NORMAL}" selected>{$this.pxPages(CFields).CorrespondenceDesc NORMAL} </OPTION>
{% ClipboardPage pgData = tools.findPage("CAOtherParty");
ClipboardPage partyData = tools.findPage(".pyWorkParty(OtherParty)");
if(pgData != null) {
if( pega_rules_string.equalsIgnoreCase( tools.getProperty("PreviousCorrList").toString(),
thisRef().getProperty(".pyStreamName").getValue()))
{ pgData.getProperty("Email").setValue(partyData.getProperty(".Email")); }
else {
pgData.getProperty("Email").setValue(thisRef().getProperty(".pxPages(CFields).ToEmail").getValue()); }
}
//CC Email
if(pega_rules_string.equalsIgnoreCase(tools.getProperty("PreviousCorrList").toString(),
thisRef().getProperty(".pyStreamName").getValue()))
{ }
else {
tools.getProperty("CCEmail").setValue(thisRef().getProperty(".pxPages(CFields).CCEmail").getValue());
}
ParameterPage newParams = new ParameterPage();
newParams.setValue("WorkObjectClass",getPrimaryPage().getObjClass());
newParams.setValue("FromEmail", thisRef().getProperty(".pxPages(CFields).FromEmail").getValue());
newParams.setValue("CorrDescription", thisRef().getProperty(".pxPages(CFields).CorrDescription").getValue());
newParams.setValue("CorrList", thisRef().getProperty(".pyStreamName").getValue());
doActivity(getPrimaryPage().getObjClass(),"PostTemplateSetFromEmail",getPrimaryPage(),newParams);
tools.getProperty("PreviousCorrList").setValue(thisRef().getProperty(".pyStreamName").getValue());
%}
{ELSEWHEN {%thisRef().getProperty(".pyStreamName").getValue().startsWith(getParameterValue("CorrListFilter"))%}}
<OPTION VALUE="{$this.pyStreamName NORMAL}">{$this.pxPages(CFields).CorrespondenceDesc NORMAL} </OPTION>
{/WHEN}
{/FOREACH}
</SELECT>
</TD>
</TR>
{WHEN .CorrDescription!="" && pyWorkPage.enableauto!="true" }
<TR>
<TD align="right" width="90" style="color:black"><B>Correspondence Description</B></TD>
<TD class="dataStyle">&nbsp;<TEXTAREA NAME="comments" COLS=40 ROWS=2 style="color: black;background-color: lightgrey" READONLY >{.CorrDescription}</TEXTAREA></TD>
</TR>
{/WHEN}
</TABLE>
<TR> <TD> <TABLE><TR><TD class="dataLabelStyle">{INCLUDE Rule-HTML-Section = EmailAutoComplete} </TD></TR>
</TABLE> </TD></TR>
<TABLE>
{WHEN .AutoCorrDescription!="" && pyWorkPage.enableauto=="true" }
<TR>
<TD align="right" width="90" style="color:black"><B>Correspondence Description</B></TD>
<TD class="dataStyle"><TEXTAREA NAME="comments1" COLS=40 ROWS=2 style="color: black;background-color: lightgrey" READONLY >{.AutoCorrDescription}</TEXTAREA></TD>
</TR>
{/WHEN}
</TABLE>
<TABLE>
<TR>
<TD align="right" width="90"><B>From</B></TD><TD class="dataLabelStyle" align="center"><input name=".FromEmailCheck" type="radio" value="CountrySpecific" style="border:0px" onclick='CountrySpecificMailID()' />Country/Template specific Email ID</TD><TD class="dataLabelStyle" align="center"><input name=".FromEmailCheck" type="radio" value="Agent" style="border:0px" onclick='AgentMailID()' />Agent Email ID</TD></TR>
<TR>
<TR>
<TD align="right" width="90" style="color:red"><B>From</B></TD>
<TD class="dataStyle" width="300" colspan="3">{.SenderEmail as INPUT}</TD>
</TR>
{WHEN Param.CorrPartyRole == "OtherParty"}
<TD></TD><TD class="dataLabelStyle" align="center"><input name=".PlantID" type="radio" value="otherpartyid" style="border:0px" onclick="handleClientEvent('SERVER', '','&OnChange=false', '-1', event);" />Other Party</TD><TD class="dataLabelStyle" align="right"><input name=".PlantID" type="radio" value="plantid" style="border:0px" onclick="handleClientEvent('SERVER', '','&OnChange=false', '-1', event);" />Plant</TD><TR></TR>
{/WHEN}
{WHEN Param.CorrPartyRole == "OtherParty" && pyWorkPage.PlantID="plantid"}
<TR>
<TD></TD><TD>{INCLUDE RULE-HTML-SECTION=PlantEmailIds}</TD></TR>
{ELSE}
<TD align="right" width="90" style="color:red"><B>To</B></TD>
{WHEN Param.CorrPartyRole == "OtherParty"}
<TD class="dataStyle" width="300" colspan="3">{CAOtherParty.Email as INPUT}</TD>
{ELSE}
<TD class="dataStyle" width="300" colspan="3">{.pyWorkParty(Contact).EmailLabel as INPUT}</TD>
{/WHEN}
{/WHEN}
</TR>
<TR>
<TD align="right" width="90"><B>cc</B></TD>
<TD class="dataStyle" width="100" colspan="3">{.CCEmail as INPUT}</TD>
</TR>
<!--TR><TD>&nbsp;</TD></TR>
<TR><TD>&nbsp;</TD></TR>
<TR><TD>&nbsp;</TD></TR>
<TR><TD>&nbsp;</TD></TR>
<TR><TD>&nbsp;</TD></TR>
<TR><TD>&nbsp;</TD></TR-->
</TABLE>
</TD>
{JAVA}
ParameterPage newParamsPage = new ParameterPage();
HashStringMap params = new HashStringMap();
params.putString("pxObjClass", "Rule-Obj-Activity");
params.putString("pyClassName", tools.getPrimaryPage().getString("pxObjClass"));
params.putString("pyActivityName", "RemoveAttachmentLinksPage");
tools.doActivity(params, tools.getPrimaryPage(), newParamsPage);
{/JAVA}
{WHEN Param.CorrPartyRole == "Contact"}
<TD class="dataLabelStyle" width="50%">{INCLUDE RULE-HTML-SECTION = CorrespondanceAttachmentContact}</TD>
{ELSE}
<TD class="dataLabelStyle" width="50%">{INCLUDE RULE-HTML-SECTION = CorrespondanceAttachment}</TD>
{/WHEN}
</TR>{WHEN OperatorID.pyOrgUnit="5036"}<TR><TD class="dataLabelStyle">{INCLUDE RULE-HTML-SECTION = GenerateDentalReport}</TD></TR>{/WHEN}
{/WHEN}
{WHEN Param.CorrType == "Mail"}
<TR>
<TD class="dataLabelStyle">{INCLUDE RULE-HTML-SECTION = VoucherDisplay}</TD>
</TR>
<!--script>submitFulfillment;</script-->
{/WHEN}
</TABLE>
<TABLE CELLSPACING=1 CELLPADDING=0 width="100%">
<TR><TD>
{WHEN Param.CorrType == "Mail"}
<TR>
{JAVA}
ParameterPage newParams = new ParameterPage();
newParams.setValue("WorkObjectClass",getPrimaryPage().getObjClass());
String corrTypepv = getParameterValue("CorrType");
if (corrTypepv.indexOf("_") > 0)
{
corrTypepv = corrTypepv.substring(0, corrTypepv.indexOf("_"));
}
newParams.setValue("CorrType", corrTypepv);
doActivity(getPrimaryPage().getObjClass(),"PopulateTemplates",getPrimaryPage(),newParams);
{/JAVA}
{WHEN pyWorkPage.enableauto!="true"}
<TD class="dataLabelStyle" align="left" width="90">Template</TD>
<TD class="dataStyle">&nbsp;<SELECT Name=".CorrList" onChange="submitSelection(this)">
<OPTION VALUE="">Select Template...</OPTION>
{FOREACH pyCorrList.pxResults}
{WHEN {%thisRef().getProperty(".pyStreamName").getValue().equals(tools.findPage("pyWorkPage").getProperty("CorrList"))%}}
<OPTION VALUE="{$this.pyStreamName NORMAL}" selected>{$this.pxPages(CFields).CorrespondenceDesc NORMAL} </OPTION>
{ELSEWHEN {%thisRef().getProperty(".pyStreamName").getValue().startsWith(getParameterValue("CorrListFilter"))%}}
<OPTION VALUE="{$this.pyStreamName NORMAL}">{$this.pxPages(CFields).CorrespondenceDesc NORMAL} </OPTION>
{/WHEN}
{/FOREACH}
</SELECT>
</TD>
{/WHEN}
</TR>
{/WHEN}
{WHEN pyWorkPage.enableauto == "true"}
{% tools.getProperty("CorrList").setValue(pega_rules_string.whatComesBeforeFirst(tools.getProperty("SearchedItem").toString(), '.')); %}
{/WHEN}
<TR>
{WHEN .CorrList != ""} <!-- When a particular correspondence has been selected -->
{JAVA}
Pega.Page myCorr = createPage("Rule-Obj-Corr","");
String corrTypepv = getParameterValue("CorrType");
if (corrTypepv.indexOf("_") > 0)
{
corrTypepv = corrTypepv.substring(0, corrTypepv.indexOf("_"));
}
myCorr.setValue("pyClassName", getPrimaryPage().getObjClass());
myCorr.setValue("pyStreamName", tools.findPage("pyWorkPage").getProperty("CorrList").toString());
myCorr.setValue("pyCorrType", corrTypepv);
if (myCorr.openInstance())
{
Pega.Page corrType = createPage("Rule-CorrType","");
Pega.Page pyCorrPage = null;
corrType.setValue(".pyCorrType",corrTypepv);
boolean createNewCorrPage=true;
if (pageExists("pyCorrPage"))
{
String ownerKey = new String(getPage("pyCorrPage").getProperty(".pyOwnerKey").getValue());
String insHandle = new String(getPrimaryPage().getInstanceHandle());
if (insHandle.equals(ownerKey))
{
createNewCorrPage = false;
}
if (!getPage("pyCorrPage").getValue("pyCorrStreamName").equals(tools.findPage("pyWorkPage").getProperty("CorrList")))
{
createNewCorrPage = true;
}
if (!getPage("pyCorrPage").getValue("pyCorrStreamType").equals(corrTypepv))
{
createNewCorrPage = true;
}
if (!createNewCorrPage)
{
pyCorrPage = getPage("pyCorrPage");
appendString("<INPUT id='pyCorrPage_pyUserEdit' TYPE=HIDDEN NAME='" + getPage("pyCorrPage").getProperty("pyUserEdit").getEntryHandle() + "' VALUE=" + getParameterValue("CorrEdit") + ">");
}
}
if (createNewCorrPage)
{
if (corrType.openInstance())
{
pyCorrPage= createPage(corrType.getValue(".pyCorrClass"), "pyCorrPage");
pyCorrPage.applyModel("pyDefault",null);
//then in this new page, create an address page with the specified address class
pyCorrPage.getProperty(".pyAddresses").addToGroup(corrType.getValue("pyCorrType"), corrType.getValue("pyAddressClass"));
pyCorrPage.setValue(".pyOwnerKey", getPrimaryPage().getInstanceHandle());
pyCorrPage.setValue(".pyCorrValidateRule", myCorr.getValue("pyPromptValidate"));
pyCorrPage.setValue(".pyCorrStreamName", myCorr.getValue("pyStreamName"));
pyCorrPage.setValue(".pyCorrStreamType", myCorr.getValue("pyCorrType"));
pyCorrPage.setValue(".pyContactPreference", getParameterValue("CorrType"));
pyCorrPage.setValue(".pyUserEdit", getParameterValue("CorrEdit"));
appendString("<INPUT id='pyCorrPage_pyUserEdit' TYPE=HIDDEN NAME='" + getPage("pyCorrPage").getProperty("pyUserEdit").getEntryHandle() + "' VALUE=" + getParameterValue("CorrEdit") + ">");
pyCorrPage.setValue(".pyVerifyCorrRequired", myCorr.getValue("pyVerifyCorr"));
}
}
// Set additional properties for Letter type
if(corrTypepv.equals("Mail"))
{
pyCorrPage.setValue(".pyDesignatedPrinter", myCorr.getValue("pyFormPrinter"));
pyCorrPage.setValue(".pyDesignatedPrintMethod",myCorr.getValue("pyFormPrintMethod"));
}
pyCorrPage.setValue(".pyDesignatedSizeHoriz",myCorr.getValue("pyFormSizeHoriz"));
pyCorrPage.setValue(".pyDesignatedSizeVert",myCorr.getValue("pyFormSizeVert"));
String userEdit = myCorr.getValue("pyUserEdit");
if (!pyCorrPage.getValue("pyNextAction").equals("SendVerifiedCorr"))//if it is equal to SendVerifiedCorr, that means this html is being displayed during the Verification of the corr, and leaving pyNextAction = SendVerifiedCorr means that we will not reQueue this Corr for verification
{
pyCorrPage.setValue("pyNextAction", myCorr.getValue("pyNextAction"));
}
pyCorrPage.setValue("pyCorrPartyRole", getParameterValue("CorrPartyRole"));
if (userEdit.equals("NoEdit"))
{
appendString("<INPUT TYPE=HIDDEN VALUE='Send' NAME='CorrEdit'>");
appendString("<script>setEditOption('Send')</script>");
} else if (userEdit.equals("MustEdit"))
{
appendString("<INPUT TYPE=HIDDEN VALUE='Edit' NAME='CorrEdit'>");
appendString("<script>setEditOption('Edit')</script>");
} else if (userEdit.equals("MayDisplay"))
{
appendString("<TD id=lblOption class='dataLabelStyle' align='left' width='80'>Option</TD>");
appendString("<TD id=selOption CLASS=dataStyle>&nbsp;<SELECT NAME='CorrEdit' onchange='setEditOption(this.value)'>");
if (getPage("pyCorrPage").getValue("pyUserEdit").equals("Send"))
{
appendString(" <OPTION VALUE='Send' selected>Send</OPTION>");
appendString(" <OPTION VALUE='Review'>Review</OPTION>");
appendString("</SELECT></TD>");
appendString("<script>setEditOption('Send')</script>");
} else
{
appendString(" <OPTION VALUE='Send'>Send</OPTION>");
appendString(" <OPTION VALUE='Review' selected>Review</OPTION>");
appendString("</SELECT></TD>");
appendString("<script>setEditOption('Review')</script>");
}
} else // userEdit is "MayEdit"
{
appendString("<TD id=lblOption class='dataLabelStyle' align='left' width='80' style='color:red'>Option</TD>");
appendString("<TD id=selOption CLASS=dataStyle>&nbsp;<SELECT NAME='CorrEdit' onchange='setEditOption(this.value)'>");
if (getPage("pyCorrPage").getValue("pyUserEdit").equals("Edit"))
{
appendString(" <OPTION VALUE='Edit' selected>Edit</OPTION>");
appendString(" <OPTION VALUE='Send'>Send</OPTION>");
appendString("</SELECT></TD>");
appendString("<script>setEditOption('Edit')</script>");
} else
{
appendString(" <OPTION VALUE='Edit'>Edit</OPTION>");
appendString(" <OPTION VALUE='Send' selected>Send</OPTION>");
appendString("</SELECT></TD>");
appendString("<script>setEditOption('Send')</script>");
}
}
appendString("<hr>");
//appendString(getPrimaryPage().getStream(Pega.BuildStream.HTML_STANDARD,"CorrAttachmentList"));
appendString("</TR></TABLE>");
String editMessages = new String(pyCorrPage.getProperty(".pyUserEdit").getMessages());
editMessages=editMessages.trim();
if (editMessages.indexOf("EditCorr")==-1)
{
pyCorrPage.setValue("pySubject", tools.findPage("pyWorkPage").getProperty("SubjectWithBraces").toString());
// If this correspondence hasn't been created yet
if (pyCorrPage.getValue("pyBodyZippedEncoded").equals("") && pyCorrPage.getValue("pyBody").equals(""))
{
doActivity(getPrimaryPage().getObjClass(),"CreateSelectedCorr",getPrimaryPage(),null);
}
//include HTML Stream for Word
appendString(getPrimaryPage().getStream(Pega.BuildStream.HTML_STANDARD,"IncludeEditCorrCPM"));
appendString("<script>setEditOption('QuickSend')</script>");
appendString("<script>EditWordDocument();</script>");
} else if (editMessages.indexOf("ReviewCorr")!=-1)
{
doActivity(getPrimaryPage().getObjClass(),"CreateSelectedCorr",getPrimaryPage(),null);
appendString(getPrimaryPage().getStream(Pega.BuildStream.HTML_STANDARD,"IncludeReviewCorrCPM"));
appendString("<script>setEditOption('QuickSend')</script>");
} else
{
String corrPrompt = myCorr.getValue(".pyHTMLPrompt");
if (!corrPrompt.equals(""))
{
appendString(pyCorrPage.getStream(Pega.BuildStream.HTML_STANDARD,corrPrompt));
}
}
}
{/JAVA}
{ELSEWHEN} <!-- Particular correspondence not yet selected -->
{JAVA}
if (pageExists("pyCorrPage"))
{
getPage("pyCorrPage").removePage();
}
{/JAVA}
</TR>
</TABLE>
{/WHEN}
{ELSEWHEN} <!-- Correspondence type not yet selected -->
{JAVA}
if (pageExists("pyCorrPage"))
{
getPage("pyCorrPage").removePage();
}
{/JAVA}
{/WHEN}
</TD>
</TR>
</TABLE>
{.ErrorMessage input=AppHiddenEmpty}
<PRE>
{INCLUDE Rule-HTML-Section = SCDetails}
</PRE>
{/WHEN}
Platform used is Pega 7.2. Please let me know the solution for how to resolve this issue.
Thanks & Regards,
Jasmine
Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn