I would like the same loading indicator gif as on the Primefaces Showcase: http://www.primefaces.org/showcase/ui/ajax/basic.xhtml
There is no reference to it in the source. Where is it defined ?
I would like the same loading indicator gif as on the Primefaces Showcase: http://www.primefaces.org/showcase/ui/ajax/basic.xhtml
There is no reference to it in the source. Where is it defined ?
With development tools you get the (re)source.
May i suggest using a SVG with real transparency instead. Looks much better! There are several online generators out there.
The indicator image is used with <p:ajaxStatus />
in combination with <p:graphicImage />
shown in PrimeFaces ShowCase and explained in PrimeFaces Documentation.
To show it in the lower right corner of the page like on the page you referenced you have to add custom style like:
<p:ajaxStatus
style="position: fixed; bottom: 0px; right: 0px; z-index: 9999999999;"
>
...
</p:ajaxStatus>
Generate and download from: http://www.ajaxload.info/ (ajax-loader.gif)
Copy to (for example): webapp/resources/images
Code:
<p:ajaxStatus style="height:16px">
<f:facet name="start">
<h:graphicImage name="images/ajax-loader.gif" />
</f:facet>
<f:facet name="complete">
<h:outputText value="" />
</f:facet>
</p:ajaxStatus>