I need to display in browser, a value that comes from url parameters. To avoid XSS attacks this value should to be escaped.
The value is set in PScreens.xml as following :
And is included in PForms.xml :HTML Code:<screen name="Product"> <section> <actions> <set field="productId" from-field="parameters.productId"/> </actions> <widgets> ... </widgets>
Initially I tried to escape the value from PForms.xml:HTML Code:<field name="productId" tooltip="${uiLabelMap.ProductId} [${productId}]"><text /></field>
but I did not found any solution.HTML Code:tooltip="${uiLabelMap.ProductId} [${productId}]"
Can you suggest a solution to escape the value from PScreens.xml?
Thank You.HTML Code:<set field="productId" from-field="parameters.productId"/>



Reply With Quote
Bookmarks