Simple showcase to combine BootsFaces and ButterFaces in one webapp
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/main
.gitignore
README.md
pom.xml

README.md

BootsFaces integration

As well as ButterFaces BootsFaces comes with jQuery and Bootstrap. This does not work out of the box.

Problem

ButterFaces deliveres css and javascript as first part of html head to allow custom class handling. BootsFaces deliveres its own jQuery after ButterFaces, so ButterFaces jQuery plugins does not work anymore.

Solution

Disable jQuery in BootsFaces and most thinks will work

<context-param>
    <param-name>net.bootsfaces.get_jquery_from_cdn</param-name>
    <param-value>true</param-value>
</context-param>

Start showcase

mvn clean package wildfly-swarm:run

Known problems

BootsFaces and ButterFaces override some Bootstrap style sheet. Sometimes they come in the transverse, i.e. placeholder position in ButterFaces. We are working on that.