PrimeFaces: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 38: | Zeile 38: | ||
== Icons Font Awesome == | == Icons Font Awesome == | ||
=== | === pom.xml === | ||
<pre> | <pre> |
Version vom 18. Januar 2019, 14:34 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:head> <h:outputStylesheet library="webjars" name="font-awesome/5.6.3/css/fontawesome.min-jsf.css" /> </h:head>
Links
https://www.mkyong.com/jsf2/primefaces/primefaces-hello-world-example/
Zurück zu Java