PrimeFaces: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 58: | Zeile 58: | ||
... | ... | ||
</dependencies> | </dependencies> | ||
</pre> | |||
=== *.xhtml - File === | |||
<pre> | |||
<h:outputStylesheet library="webjars" name="font-awesome/5.6.3/css/fontawesome.min-jsf.css" /> | |||
</pre> | </pre> | ||
Version vom 18. Januar 2019, 14:33 Uhr
Maven Dependencies
<properties> <aristo-version>1.0.1</aristo-version> <primefaces-version>6.2.RC2</primefaces-version> </properties> ... <dependencies> ... <dependency> <groupId>org.primefaces.themes</groupId> <artifactId>aristo</artifactId> <version>${aristo-version}</version> </dependency> <dependency> <groupId>org.primefaces</groupId> <artifactId>primefaces</artifactId> <version>${primefaces-version}</version> </dependency> ... </dependencies> ... <repositories> <repository> <id>prime-repo</id> <name>PrimeFaces Maven Repository</name> <url>http://repository.primefaces.org</url> <layout>default</layout> </repository> </repositories>
Icons Font Awesome
Pom.xml
<properties> ... <font-awesome-version>5.6.3</font-awesome-version> ... </properties> ... <dependencies> ... <dependency> <groupId>org.webjars</groupId> <artifactId>font-awesome</artifactId> <version>${font-awesome-version}</version> </dependency> ... </dependencies>
*.xhtml - File
<h:outputStylesheet library="webjars" name="font-awesome/5.6.3/css/fontawesome.min-jsf.css" />
Links
https://www.mkyong.com/jsf2/primefaces/primefaces-hello-world-example/
Zurück zu Java