Hi all,
Is there an option to have the p:sidebar dynamic?
I cannot see any option?
https://primefaces.github.io/primefaces ... ts/sidebar
Thanks
p:sidebar dynamic ?
My scenario is as follow:
- I have a button in my topbar, like a clock (as you maybe know from facebook).
- As soon I press the button my sidebar is opening
- All notifications are loading
Currently this notification is loading for each page request, but I would like to load this notification only if the button has been pressed and the sidebar is opening...
How can I do this? For p:dialog I know the "dynamic" flag....
- I have a button in my topbar, like a clock (as you maybe know from facebook).
- As soon I press the button my sidebar is opening
- All notifications are loading
Currently this notification is loading for each page request, but I would like to load this notification only if the button has been pressed and the sidebar is opening...
How can I do this? For p:dialog I know the "dynamic" flag....
PF 8.0
Looks like it is not dynamic right now.
You will have to make a feature request here: https://github.com/primefaces/primefaces/issues
You will have to make a feature request here: https://github.com/primefaces/primefaces/issues
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
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
you mean with: <p:outputPanel deferred="true">
Seems like it´s not working..
Tried this:
Seems like it´s not working..
Tried this:
Code: Select all
<p:sidebar widgetVar="notificationSidebar" position="right"
style="width: 500px">
<p:outputPanel deferred="true">
<h:form id="notificationTopbarForm">
....
PF 8.0
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
Create a feature request and work on a PullRequest
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
Feature request is here: https://github.com/primefaces/primefaces/issues/5480
This won't happen until 9.0
This won't happen until 9.0
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
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 40 guests