Jsf 为什么我不';我看不到冰面王牌:滑梯?
我有一个很长时间都无法解决的问题。我无法在我的项目中使用icefaces sliderEntry,我执行以下操作: pom:Jsf 为什么我不';我看不到冰面王牌:滑梯?,jsf,slider,icefaces,Jsf,Slider,Icefaces,我有一个很长时间都无法解决的问题。我无法在我的项目中使用icefaces sliderEntry,我执行以下操作: pom: <repository> <id>snapshots</id> <url>http://anonsvn.icefaces.org/repo/maven2/releases/</url> </repository> <html xm
<repository>
<id>snapshots</id>
<url>http://anonsvn.icefaces.org/repo/maven2/releases/</url>
</repository>
<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>
快照
http://anonsvn.icefaces.org/repo/maven2/releases/
还有更多:
<dependency>
<scope>provided</scope>
<groupId>org.icefaces</groupId>
<artifactId>icefaces-ace</artifactId>
<version>3.1.0</version>
</dependency>
假如
org.icefaces
冰面王牌
3.1.0
在我的xhtml中:
<repository>
<id>snapshots</id>
<url>http://anonsvn.icefaces.org/repo/maven2/releases/</url>
</repository>
<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>
所以我称之为滑块:
<repository>
<id>snapshots</id>
<url>http://anonsvn.icefaces.org/repo/maven2/releases/</url>
</repository>
<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
我注意到浏览器中的此元素具有隐藏类型,为什么会发生这种情况?使用
<dependency>
<groupId>org.icefaces</groupId>
<artifactId>icefaces-ace</artifactId>
<version>4.3.0</version>
</dependency>
org.icefaces
冰面王牌
4.3.0
并确保所有icefaces库都有一个“编译”范围
您还需要使用
而不是默认的
标记