Posted: 6 Mar 2018 19:41 EST Last activity: 15 Mar 2018 16:38 EDT
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.
This usually happens if you have dangling or self closing tags in between. Also there is a source only mode where you get to enter your jsp in a TextArea instead of the RTE. Which version of Pega are you on?
We are using Pega7.1.8 and am referring Paragraph rule where we have RTE. if we just use plain html then there is no issue. If we use forEach tags then the above mentioned issue is coming. Also if we switch between Source view to normal, Pega is adding "<p> </p>" in the code. This is basic feature in Paragraph rule and we are spending so much time on this due these issues. It should be very smooth between normal view and Source view.