Theme
CookiePolicy
The basic configuration for accepting cookie policies.
PrimeFaces Extensions Cookie Policy
Do you agree with our cookie policy for about 10 seconds?
Source

                <pe:cookiePolicy id="cookiePolicy">
        <p:panel header="PrimeFaces Extensions Cookie Policy">
            Do you agree with our cookie policy for about 10 seconds?
            <h:panelGrid columns="2">
                <p:commandButton value="Only essential cookies" update="cookiePolicy">
                    <pe:saveCookiePolicy policy="essential" retention="#{10}"/>
                </p:commandButton>
                <p:commandButton value="Accept all cookies" update="cookiePolicy">
                    <pe:saveCookiePolicy policy="essential,statistics" retention="#{10}"/>
                </p:commandButton>
            </h:panelGrid>
        </p:panel>
    </pe:cookiePolicy>
            
Components and more
Use Cases
Documentation pe:cookiePolicy
Attributes (move mouse over the names to see data types)
Name Description
No attributes available for this component.
PrimeFaces Extensions Showcase - © 2011-2021,PrimeFaces: 11.0.0,PrimeFaces Extensions: 11.0.3,JSF: Apache MyFaces JSF-2.3 Core API 2.3.9,Server: jetty/9.4.36.v20210114,Build time: 2022-04-17 14:55
occured!