New component: Scaffolding

Community Driven Extensions Project
Post Reply
jepsar
Posts: 166
Joined: 03 Sep 2014, 11:41
Location: NL / BE
Contact:

13 Jul 2021, 14:12

To show content while your data is being loaded. Example:

Code: Select all

<pe:scaffolding loader="#{bean.fetchData()}" ready="#{not empty bean.data}">
    <f:facet name="loading">
        Loading... / <p:skeleton/>
    </f:facet>
    <f:facet name="ready">
        #{bean.data} loaded!
    </f:facet>
</pe:scaffolding>
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub: https://github.com/jepsar
Spotify: 90s Rave, Acid, Trance, House

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

13 Jul 2021, 14:22

Fantastic work!
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests