New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with primefaces component p:schedule passing from 1.0.0-RC18 to 1.0.0-RC19 #148
Comments
@rmpestano answering to your previous #147 (comment) |
I also found this problem, when i disabled renderAjaxStatus: admin.renderAjaxStatus=false, schedule works as expected, so it seems that statusDialog is not available in time when schedule is trying to get data for first time. Important line from javascript console: |
Thank you @martinmikula, I'll have a look asap. |
I noticed that I have this problem on desktop browser:
And opening the same site from mobile with Google Chrome for mobile it works fine with any problems.
|
Also It is important to note that the loadding dialog was moved to the bottom of the template (to make the page load faster images should be at the bottom) so that is probably the cause. |
Hi again @danielemaddaluno, As I suspected the issue was caused by loading dialog position on the template. Can you try with admin-template 1.0.0-RC21-SNAPSHOT? Don't forget to clean browser caches. Thank you for reporting the issue. |
Yeah! It works fine with the new |
Issue Overview
I have a
p:schedule
component in my page which uses aLazyScheduleModel
like this:And in my page I have a
p:schedule
inside a form like this:Current Behaviour
From 1.0.0-RC19 and above:
the events are not shown on the schedule component and
loadEvents
is never called.I get in the Google Chrome console the following error:
It is due to the js function
showBar()
fromAdminLTE
, the first time that thePF('statusDialog')
is called gives me anUncaught TypeError: Cannot read property 'show' of undefined
.Can't say if 1. and 2. are correlated.
Additional Information
Testing with
1.0.0-RC18
p:schedule works fine and this problem did not exist.I tried again recompiling my
ear
with:And all these 3 have this bug on the
p:schedule
component.AdminFaces version: admin-template 1.0.0-RC19+
PrimeFaces version: PF 6.2
JSF implementation: Mojarra 2.2.15
The text was updated successfully, but these errors were encountered: