jsf - How to mention link in properites file -


i have created properties file , configured verbiage in property file. need add text having link. e.g. text please contact us. text have mention in property file need add link on contact us.

i have mention below key in property file

contact_us_link= please <a href="sample.html">contact us</a> 

on form should link, whatever have added in properties file same text displaying on form. can please how can add link in property file.

the <h:outputtext> default escapes html entities part of xss attack prevention.

if can guarantee value not contain user-controlled input such username , on, can use escape="false" disable html escaping.

<h:outputtext value="#{msg['contact_us_link']}" escape="false" /> 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -