forked from stephanrauh/BootsFaces-Examples
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f602e09
commit 5fe205b
Showing
6 changed files
with
151 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/target/ | ||
rebel.xml | ||
.metadata | ||
.settings | ||
dist | ||
.faces-config.xml.jsfdia | ||
.project | ||
.classpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# BootsFaces-Examples: Button | ||
This demo refers to the StackOverflow questions | ||
<ul> | ||
<li> | ||
http://pt.stackoverflow.com/questions/90162/bootsfaces-erro-javax-faces-facesexception-erro-de-express%C3%A3o</li> | ||
<li>and to the GitHub bug tracker https://github.com/TheCoder4eu/BootsFaces-OSP/issues/188 and | ||
</li> | ||
<li>http://stackoverflow.com/questions/32799225/javax-faces-facesexception-expression-error-named-object-net-bootsfaces-layou | ||
</li> | ||
</ul> | ||
|
||
Run this as a Tomcat application. The URL to start typically is http://localhost:8080/BootsFacesCombobox. | ||
|
||
Tested on: | ||
<ul> | ||
<li>Tomcat 8.0 / Oracle Mojarra 2.2.10</li> | ||
<li>Tomcat 8.0 / Apache MyFaces 2.2.7</li> | ||
<li>WildFly 8.2</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>de.beyondjava</groupId> | ||
<artifactId>BootsFacesButton</artifactId> | ||
<version>1.0.0-SNAPSHOT</version> | ||
<packaging>war</packaging> | ||
<name>BootsFacesButton</name> | ||
<url>http://www.beyondjava.net</url> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>1.7</maven.compiler.source> | ||
<maven.compiler.target>1.7</maven.compiler.target> | ||
</properties> | ||
<repositories> | ||
<repository> | ||
<id>prime-repo</id> | ||
<name>PrimeFaces Maven Repository</name> | ||
<url>http://repository.primefaces.org</url> | ||
<layout>default</layout> | ||
</repository> | ||
</repositories> | ||
<dependencies> | ||
<dependency> | ||
<groupId>net.bootsfaces</groupId> | ||
<artifactId>bootsfaces</artifactId> | ||
<version>0.7.0</version> | ||
</dependency> | ||
</dependencies> | ||
<profiles> | ||
<profile> | ||
<id>ApplicationServer</id> | ||
<activation> | ||
<activeByDefault>false</activeByDefault> | ||
</activation> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.sun.faces</groupId> | ||
<artifactId>jsf-api</artifactId> | ||
<version>2.2.11</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
<profile> | ||
<id>Mojarra</id> | ||
<activation> | ||
<activeByDefault>false</activeByDefault> | ||
</activation> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.sun.faces</groupId> | ||
<artifactId>jsf-api</artifactId> | ||
<version>2.2.11</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.sun.faces</groupId> | ||
<artifactId>jsf-impl</artifactId> | ||
<version>2.2.11</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
<profile> | ||
<id>MyFaces</id> | ||
<activation> | ||
<activeByDefault>true</activeByDefault> | ||
</activation> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.myfaces.core</groupId> | ||
<artifactId>myfaces-api</artifactId> | ||
<version>2.2.7</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.myfaces.core</groupId> | ||
<artifactId>myfaces-impl</artifactId> | ||
<version>2.2.7</version> | ||
<scope>runtime</scope> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
</profiles> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<faces-config | ||
xmlns="http://xmlns.jcp.org/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd" | ||
version="2.2"> | ||
|
||
</faces-config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> | ||
|
||
<context-param> | ||
<param-name>BootsFaces_USETHEME</param-name> | ||
<param-value>true</param-value> | ||
</context-param> | ||
<welcome-file-list> | ||
<welcome-file>index.jsf</welcome-file> | ||
</welcome-file-list> | ||
</web-app> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:h="http://java.sun.com/jsf/html" | ||
xmlns:f="http://java.sun.com/jsf/core" | ||
xmlns:ui="http://java.sun.com/jsf/facelets" | ||
xmlns:p="http://primefaces.org/ui" | ||
xmlns:b="http://bootsfaces.net/ui"> | ||
|
||
<h:head> | ||
|
||
</h:head> | ||
|
||
<h:body> | ||
|
||
<b:button value="test boostfaces"></b:button> | ||
|
||
</h:body> | ||
|
||
</html> |