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
Post a Comment