【问题标题】:Why I don't see the ICEfaces ace:sliderEntry?为什么我没有看到 ICEfaces ace:sliderEntry?
【发布时间】:2021-02-22 02:11:15
【问题描述】:

我有一个很长时间无法解决的问题。我不能在我的项目中使用 icefaces sliderEntry,我这样做:

pom:

<repository>
            <id>snapshots</id>
            <url>http://anonsvn.icefaces.org/repo/maven2/releases/</url>
        </repository>

还有更多:

 <dependency>
            <scope>provided</scope>
            <groupId>org.icefaces</groupId>
            <artifactId>icefaces-ace</artifactId>
            <version>3.1.0</version>
        </dependency>

在我的 xhtml 中:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
      lang="en"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:a="http://xmlns.jcp.org/jsf/passthrough"
      xmlns:ace="http://www.icefaces.org/icefaces/components"
>

所以我称之为滑块:

<h:form>
      <ace:sliderEntry />
</h:form>

但我在我的页面上看不到它,调试工具也没有说任何有用的东西。也许我移植了一些错误的东西?

UPD 我注意到浏览器中的这个元素有隐藏类型,为什么会这样?

【问题讨论】:

    标签: jsf slider icefaces


    【解决方案1】:

    使用

    <dependency>
            <groupId>org.icefaces</groupId>
            <artifactId>icefaces-ace</artifactId>
            <version>4.3.0</version>
        </dependency>
    

    并确保所有 icefaces 库都有一个“编译”范围

    您还需要使用&lt;h:body&gt; 代替默认的&lt;body&gt; 标签

    【讨论】:

      猜你喜欢
      • 2011-10-19
      • 2012-10-13
      • 1970-01-01
      • 1970-01-01
      • 2021-08-08
      • 2014-04-21
      • 1970-01-01
      • 1970-01-01
      • 2011-08-10
      相关资源
      最近更新 更多