You need to sign in to do that
Don't have an account?
Vinnie B
OutputLink, and other HTML, getting rendered with escaped characters
I'm new to VF and I'm assuming (hoping!) that this is a simple question.
I'm trying to set a simple HTML link in a VF page. I'm using code like:
First, why are the lesser and greater signs escaped? Secondly, I'm assuming there's got to be a way to include a simple link that doesn't show the URL itself.
Again, I'm pretty good with Apex but just getting into VF. This is likely some basic concept of VF that I'm missing.
Thanks!!
I'm trying to set a simple HTML link in a VF page. I'm using code like:
<apex:outputLink value="http://www.cnn.com"> here</apex:outputLink>Looking at the HTML source of the rendered page I see:
<apex:outputLink value="https://www.cnn.com"> here</apex:outputLink>.This shows the 'here' with the appropriate link, but the URL is also showing to the user after that.
First, why are the lesser and greater signs escaped? Secondly, I'm assuming there's got to be a way to include a simple link that doesn't show the URL itself.
Again, I'm pretty good with Apex but just getting into VF. This is likely some basic concept of VF that I'm missing.
Thanks!!
Maybe seeing the code above and below these lines would help someone find out the problem. Can you post the code of your page ?