Including primefaces in CAF

Hello All,

Can we include primefaces library into CAF page? or How we can use the primefaces in CAF page?

Shashi Kumar

Official certification that CAF is compatible with primefaces has not been done. If that is something you are interested in, then you or your customer may want to make their interest in that area known with their own feature request in brainstorm @

With that said, if you are using OpenCAF with MWS version 9.9 or later, then it might work if you copy the primefaces jar file to the WEB-INF/lib folder of your project. Then you can try using their tags in your .xhtml page templates.

For, example:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns=""  
        <h3>Using spinner control from primefaces library</h3>
        <p:spinner />  
        <h3>Using calendar control from primefaces library</h3>
        <p:calendar id="calendar" ></p:calendar>
1 Like