-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Is there a way to use HTML tags in the .properties files for localized texts to change the style for a portion of the text? For example in Messagebox I'd like to display the email address as a link. But if I use Labels.getLabel(java.lang.String key, java.lang.Object[] args) and put ZK anchor object in there. Everything is still treated as a string instead - so I get "Please contact us by email
Any help would be much appreciated. Thank you.
Avoid considering .properties for that. Something like:
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<a href="mailto:${c:l('mail.address')} ">${c:l('mail.address')} </a>
works fine.
Cheers,
Stefano
I think you have to create your own form where you can give an emailadress with for the anchor. Actually not that difficult, just a zul page with some label and anchor. Maybe also a some pictures but that's what you want make from it.
Greetz chill.
Asked: 2014-04-17 23:38:36 +0800
Seen: 19 times
Last updated: Apr 21 '14