Posted: 11 Mar 2017 4:52 EST Last activity: 14 Mar 2017 3:16 EDT
Parse JSP tags which are stored in Property
We have GeneratedParagraph Property and for this Property value comes from DB and this property contains static text as well as pega reference jsp tags .
So now we need to parse jsp tags then need to store final result in property .
In GeneratedParagraph property i have value Hi <p:r n=".pyLabel" /> <p:r n=".pxObjClass" /> this is my paragraph.
We done below approach for this.
We have non auto generated section. Through activity we are doing obj-open for section and updating dynamic text( Hi <p:r n=".pyLabel" /> <p:r n=".pxObjClass" /> this is my paragraph) in pySourceStream property and doing obj-save with write now after this trying to retrieve the content of section in property using Property-Set-Stream.
But Property-Set-Stream retrieving old content only which was there before obj-save When i check Section my new content is updated.
But when i check out then Property-Set-Stream retrieving latest updated content.
Is some thing more we need to do after obj-save to get latest updated content.
Please can anyone help. Thanks.
***Updated by moderator: Lochan to edit content***