Question

2
Replies
953
Views
shivan08 Member since 2018 5 posts
Amazon.com Inc
Posted: 2 years ago
Last activity: 2 years 6 months ago
Closed

ForEach jsp tag is messed up when switching saving a Paragraph rule - forEach end tag is followed by forEach start tag

I have a paragraph rule which has forEach jsp tag defined with page list. Every time i switch the "Source" button, it gives me an error with forEach tag. When i save the rule, the forEach end tag is moved after forEach tag.

Actual Code:

<pega:foreach name=".BusinessChannelforCurrencyList">

<pega:withembedded name="$this">

Some code to display data

</pega:withembedded></pega:foreach>

After save:

<pega:foreach name=".BusinessChannelforCurrencyList">

<pega:withembedded name="$this">

</pega:withembedded></pega:foreach>

Some code to display data

Due to this issue, it is taking lot of time to edit a paragraph rule which has forEach tags in it.

any workaround to this issue?

User Interface
Moderation Team has archived post
Share this page LinkedIn