Question

5
Replies
3889
Views
Avinash.Haridasu Member since 2014 260 posts
Morgan Stanley
Posted: 3 years ago
Last activity: 3 years 11 months ago
Closed
Solved

pega:forEach JSP: Unable to retrieve data from an embedded page inside the looping page

My requirement is to loop through a pagelist and display label in the Address embedded page.

Below is the sampe code which I have used:

<pega:forEach name=".Customers">

                                    <pega:reference name="$THIS.Address.pyLabel" />  --Does not fetch any data.

                                   --But tools.getPrimaryPage().getPage("Address").getString("pyLabel") displays the value

</pega:forEach>

How should i access pyLabel property inside Address. Customer and Address have a one-to-one mapping.

***Updated by moderator: Lochan to update Categories***

Case Management Data Integration
Moderation Team has archived post
Share this page LinkedIn