【问题标题】:More than one library class in a taglib.xmltaglib.xml 中有多个库类
【发布时间】:2013-02-22 11:46:50
【问题描述】:

有没有一种方法可以让我在 taglib.functions.xml 中使用更多(自定义)库,例如:

<?xml version="1.0"?>
<!DOCTYPE facelet-taglib PUBLIC
        "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
        "facelet-taglib_1_0.dtd">
<facelet-taglib>
    <!-- <namespace>http://loxon.hu/jsf/fw/functions</namespace>-->
    <library-class>com.loxon.fw.common.web.util.JsfCommonLibrary</library-class>
    <library-class>com.loxon.fw.rt.web.util.JsfCommonLibrary</library-class>
</facelet-taglib>

不幸的是,这不是正确的语法,我不能在&lt;facelet-taglib/&gt; 中使用多个&lt;library-class/&gt;...

或者我应该使用新的 taglib.xml 吗???每次我需要一个新图书馆的时候?

有些想法表示赞赏。

【问题讨论】:

    标签: xml jsf facelets taglib


    【解决方案1】:

    每个库一个*taglib.xml 是正确的选择。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-03-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-02-20
      相关资源
      最近更新 更多