Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 841 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 841 Bytes

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.