Apache MyFaces Tobago

Clone this repo:
  1. 6bce22f build(deps-dev): bump org.seleniumhq.selenium:selenium-java by dependabot[bot] · 8 days ago main
  2. 95c64fd build(theme): rebuild after fixing selectOneList/selectManyList by Henning Noeth · 2 days ago
  3. 6d22d6e fix(select[One/Many]List): duplicated dropdown menus by Henning Noeth · 3 days ago
  4. 5ec0b61 docs: improve release checklist by Henning Noeth · 9 days ago
  5. 5035414 chore(release): set next SNAPSHOT version by Henning Noeth · 12 days ago

License Tobago CI CodeQL Build Status ASF

Apache Tobago

Apache MyFaces Tobago is a JSF component framework that pays special attention to security and is optimized for business applications.

Tobago supports custom themes based on the popular Bootstrap framework and frees the user from having to develop complex CSS and Javascript components.

Compared to many other JSF frameworks, Tobago is still being actively developed and is used in many projects.

Table of Contents

Getting Started

Prerequisites

Git, Maven 3 and at least JDK8.

Building

In the project directory you can use:

mvn clean install

to run the install target on all sub projects. This will put all necessary artifacts into your local repository.

Live Demo

You can find a live demo of all components at https://tobago-vm.apache.org/

Examples

See tobago-examples directory for some simple examples on how to use Tobago.

Demo

If you want to run the demo locally you need to run the following command

mvn -f tobago-example/tobago-example-demo/pom.xml clean package tomee:run -Ptomee -Pdev

Browse to the local URL http://localhost:8080/

You can also run the demo with different servers and JSF implementations

Jetty, MyFaces and Weld

mvn -f tobago-example/tobago-example-demo/pom.xml clean package jetty:run -Pjetty

Jetty, Mojarra and Weld

mvn -f tobago-example/tobago-example-demo/pom.xml clean package jetty:run -Pjetty -Djsf=mojarra-4.0

Tomcat

mvn -f tobago-example/tobago-example-demo/pom.xml package -Ptomcat cargo:run

TomEE (currently broken)

mvn -f tobago-example/tobago-example-demo/pom.xml clean package -Ptomee tomee:run

Open Liberty

mvn -f tobago-example/tobago-example-demo/pom.xml clean -Pliberty liberty:run

Browse to the local URL http://localhost:9080/

Tomcat in Docker

mvn -f tobago-example/tobago-example-demo/pom.xml clean package -Pdocker
docker run -p 8080:8080 myfaces/tobago-example-demo:latest

Browse to the local URL http://localhost:8080/

Issue Tracking

If you find any issues regarding MyFaces Tobago you can use the Apache Issue Tracker to report them

Contributing

Pull requests are welcome; see the contributor guidelines for details.

Licensing

The terms for software licensing are detailed in the LICENSE.txt file.