You need to sign in to do that
Don't have an account?

Using JSENCODE and HTMLENCODE for PageBlockTable columns
Hello,
My VF code is something like below:
However, i'm getting stored XSS error from Salesforce Security Scanner.. I tried modifying the value of column somehting like
value="{!HTMLENCODE(Config.Name)}" But i'm getting this : errorSyntax error. Missing ')' after Config
Is there any special syntax that I need to use?? Or there can be any other solution to this??
Thanks!!
Saurabh
My VF code is something like below:
<apex:pageBlockTable> <apex:column title="{!Config.Name}~Click to Edit" styleClass="NameClass" width="600px" value="{!Config.Name}"/> . </apex:pageBlockTable>
However, i'm getting stored XSS error from Salesforce Security Scanner.. I tried modifying the value of column somehting like
value="{!HTMLENCODE(Config.Name)}" But i'm getting this : errorSyntax error. Missing ')' after Config
Is there any special syntax that I need to use?? Or there can be any other solution to this??
Thanks!!
Saurabh
Let me give you the complete idea:
I'll try doing that as well.
Thanks!