Support Article
Existing changes deleted on checkout and check in of Corr rule
SA-68071
Summary
Previously defined settings in the Corr Fragment rules are deleted. The forEach tag is removed and moved to the top of the table tag.
Error Messages
Not Applicable
Steps to Reproduce
- Create a paragraph rule and include JSP tags.
- Save and check in the rule. Close and open the rule form.
- Check out the rule and toggle to the source. The changes do not display. Additionally, in the correspondence generated, the formatting does not display.
Root Cause
The Corr rule has a limitation and does not process the forEach tag.
Resolution
As a local-change, use the below code:
<table>
<tbody><%
ClipboardProperty property = tools.findPage("OperatorID").getProperty("pyWorkBasketList");
String WBName= "pyWorkBasketName";
Iterator itr = property.iterator();
while(itr.hasNext()){
ClipboardProperty prop = (ClipboardProperty)itr.next();
ClipboardPage page = prop.getPageValue();
%>
<tr>
<td>Value 1: <%=page.getString(WBName)%></td>
</tr>
<%
}
%>
</tbody>
</table>
Published January 9, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.