Skip to content

Simple showcase to combine BootsFaces and ButterFaces in one webapp

Notifications You must be signed in to change notification settings

ButterFaces/bootsfaces-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple showcase to combine BootsFaces and ButterFaces in one webapp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published