allday schedule misalignment

UI Components for JSF
Post Reply
giorgio.primefaces
Posts: 64
Joined: 19 Apr 2011, 11:43

20 Feb 2019, 18:18

Hi all,
I cannot get rid of an alignment problem in the schedule component:
Image

running it on pf 6.2.16 and ultima 1.1.5 (getting the same problem with aristo)

in the showcase schedule has the right alignment, so, how can I solve it?

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

20 Feb 2019, 19:50

Your image did not come through. Most likely its a CSS thing.
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

giorgio.primefaces
Posts: 64
Joined: 19 Apr 2011, 11:43

20 Feb 2019, 23:34

thanks, I was thinking the same because, as you can see in the following screenshot (from the showcase) there's a rectangle that is missing in my schedule but I get no errors, and I do not know how to get rid of it...

showcase
Image

my app
Image

well, in fact I'm getting a js error which I think is not related:

Code: Select all

Uncaught TypeError: Cannot read property 'left' of undefined
    at ac._findPos (jquery-plugins.js?ln=primefaces&v=6.2.16:169)
    at HTMLAnchorElement.updateDatePickerPosition (jquery-plugins.js?ln=primefaces&v=6.2.16:393)
    at HTMLAnchorElement.<anonymous> (jquery-plugins.js?ln=primefaces&v=6.2.16:393)
    at jquery.js?ln=primefaces&v=6.2.16:2
    at Function.map (jquery.js?ln=primefaces&v=6.2.16:2)
    at r.fn.init.map (jquery.js?ln=primefaces&v=6.2.16:2)
    at ac.$.datepicker._attachHandlers (jquery-plugins.js?ln=primefaces&v=6.2.16:393)
    at ac._updateDatepicker (jquery-plugins.js?ln=primefaces&v=6.2.16:169)
    at jquery-plugins.js?ln=primefaces&v=6.2.16:393

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

20 Feb 2019, 23:46

I see you are using 6.2. Try 7.0.RC3 which was put out the other day. There have been tons of Schedule fixes since 6.2. Also that is what the showcase is on and you said it doesn't have the problem.
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

giorgio.primefaces
Posts: 64
Joined: 19 Apr 2011, 11:43

21 Feb 2019, 10:50

Thanks, I was trying to test it with the 7.0.RC3 as suggested but now I'm getting an import error:

Code: Select all

import org.primefaces.context.RequestContext;
I'm using it to fire js actions
is it still available in PF 7??

sorry I just saw that it was deprecated, I'll try to work as explained in the migration guide

https://github.com/primefaces/primeface ... tion-Guide

giorgio.primefaces
Posts: 64
Joined: 19 Apr 2011, 11:43

21 Feb 2019, 12:34

I do confirm that with the 7.0.RC3 and Omega theme the problem is fixed,
the pity is that I cannot fully test it because of this issue:

viewtopic.php?f=42&t=57947

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

21 Feb 2019, 14:31

Understood. But at least you know your Schedule problem will be fixed!
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 “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 43 guests