IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Including primefaces in CAF

  • 1.  Including primefaces in CAF

    Posted Fri May 05, 2017 09:52 AM

    Hello All,

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

    Regards,
    Shashi Kumar


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 2.  RE: Including primefaces in CAF

    Posted Fri May 05, 2017 05:09 PM

    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 @ https://empower.softwareag.com/Products/FeatureRequestsInBrainstorm/default.asp

    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="http://www.w3.org/1999/xhtml"  
    xmlns:h="http://java.sun.com/jsf/html"  
    xmlns:f="http://java.sun.com/jsf/core"  
    xmlns:p="http://primefaces.org/ui">  
    
    <h:head>  
    
    </h:head>  
    
    <h:body>  
    <h3>Using spinner control from primefaces library</h3>
    <p:spinner />  
    
    <h3>Using calendar control from primefaces library</h3>
    <p:calendar id="calendar" ></p:calendar>
    
    </h:body>  
    </html>  

    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine