在ZK中如何在标签中显示html内容?

时间:2013-03-06 13:16:17

标签: java html ckeditor zk

任何人都可以告诉我如何在ZK标签的帮助下显示HTML内容?就像我有这样的文字

<b> this is my test message </b>

然后我必须在页面中以粗体显示此内容..

这是我的测试讯息

1 个答案:

答案 0 :(得分:2)

查看以下示例是否对您有所帮助..

<window id="win" title="Html Demo" border="normal">
    <html><![CDATA[
        <h4>Hi, ${win.title}</h4>
        <p>It is the content of the html component.</p>
    ]]></html>
</window>

他们在窗口中使用 html 标记来显示带有html标记的文字。