Closed
How to use a data page as a parameter in pega forEach
As part of a custom control, I've tried doing this code with "D_Sample.pxResults"(including the double quotes) as a parameter, but it doesn't seem to work.
<%
String paramDP = tools.getParamValue("dataPage");
%>
<script>
<pega:forEeach name="<%=paramDP%>" >
<pega:withEmbedded name="$this-value">
--codes here--
</pega:withEmbedded>
</pega:forEach>
</script>
Any ideas how I can use data page as a parameter in a pega forEach?