Theme
Speedtest
Simple speedtest
Source

                <!-- SPEED TEST -->
    <pe:speedtest id="speedtest" widgetVar="speedtest" bgColor="#65ed28" captionDownload="Down" captionUpload="Up"
        captionJitter="Jitter" captionPing="Ping" file="#{request.contextPath}/resources/other/dummy.payload">
        <p:ajax listener="#{speedTestController.saveResults}" process="@this" update="growl" />
    </pe:speedtest>

    <div class="ui-g">
        <p:commandButton id="btnStart" value="Start Speedtest" icon="pi pi-play" style="width:100%;"
            onclick="PF('speedtest').start();" />
    </div>
            
Components and more
Use Cases
Documentation pe:speedtest
Attributes (move mouse over the names to see data types)
Name Description
id Unique identifier of the component in a namingContainer.
rendered Boolean value to specify the rendering of the component, when set to false component will not be rendered.
binding An el expression referring to a server side UIComponent instance in a backing bean.
widgetVar Name of the client side widget.
style Style of the main container element. Default value is null.
styleClass Style class of the main container element. Default value is null.
file File name (URL) of the dummy file to download. Best results with an 5MB random-test-file.
captionPing Caption of Ping result. Default is 'Ping'.
captionJitter Caption of Jitter result. Default is 'Jitter'.
captionDownload Caption of Download result. Default is 'Download'.
captionUpload Caption of Upload result. Default is 'Upload'.
colorPing Color of Ping result. Default is '#993333'.
colorJitter Color of Jitter result. Default is '#d2900a'.
colorDownload Color of Download result. Default is '#339933'.
colorUpload Color of Upload result. Default is '#333399'.
PrimeFaces Extensions Showcase - © 2011-2021,PrimeFaces: 11.0.0,PrimeFaces Extensions: 11.0.0,JSF: Apache MyFaces JSF-2.3 Core API 2.3.9,Server: jetty/9.4.36.v20210114,Build time: 2021-12-10 14:32
occured!