PrimeFaces: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 34: Zeile 34:
   </repository>
   </repository>
</repositories>
</repositories>
</pre>
== Icons Font Awesome ==
=== Pom.xml ===
<pre>
<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>
</pre>
</pre>



Version vom 18. Januar 2019, 14:32 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>

Links

https://www.mkyong.com/jsf2/primefaces/primefaces-hello-world-example/


Zurück zu Java