Migrate sapphire to PrimeFaces 8?

Post Reply
alexanderdm
Posts: 16
Joined: 02 Mar 2014, 12:26

03 Jun 2020, 13:35

I recently bought a sapphire template which works OK with PrimeFaces 7.0, but when I tried to use Primefaces 8, I run into compilaiton problems (For example, in PrimeFaces 8.0 the UploadedFile has a different type than in PrimeFaces 7.0)

is there some nice way to migrate it?

Kind regards: Alex

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

03 Jun 2020, 19:10

Alex check your Elite account again. There should be a new version of Sapphire for PF8. Please report back.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 8.0.3 / PF Extensions 8.0.4

alexanderdm
Posts: 16
Joined: 02 Mar 2014, 12:26

04 Jun 2020, 10:19

Thank you, Melloware!

I managed to migrate my Sapphire to PrimeFaces 8, however there is one compilation problem in your classes (in your tag project):

You have:


package org.primefaces.showcase.view.multimedia;

@Named
@RequestScoped
public class CropperView {
// .....................
}

however this class is placed in the folder org.primefaces.sapphire.view.multimedia. This also relates to the files ImagesView.java, as well as to the PhotoCamView..java Please check them and advice me how to proceed.

Thank you and kind regards: Alex

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

04 Jun 2020, 13:09

I am sure its just a copy and paste mistake. Simply fix the package names as appropriate?

@aragorn looks like there is some code that needs to be fixed in Saphire.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 8.0.3 / PF Extensions 8.0.4

alexanderdm
Posts: 16
Joined: 02 Mar 2014, 12:26

05 Jun 2020, 10:01

Already done this, thank you.

By the way, why do I not get any notifications whenever you answer my posts? I mean, neither by e-mail nor on the menu right, when I logg in to the forum. How could I fix this?

Kind regards: Alex

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

05 Jun 2020, 13:17

Hmmm that is weird. Once in a while i don't get notified from this forum but usually I do. I don't work for PrimeTek so I don't even know how you would report this?
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 8.0.3 / PF Extensions 8.0.4

alexanderdm
Posts: 16
Joined: 02 Mar 2014, 12:26

06 Jun 2020, 07:41

Now I have a problem with the <p:fileUpload> component in PrimeFaces 8, that did not exist in PrimeFaces 7.
Details are given here:

https://stackoverflow.com/questions/622 ... imefaces-7


Please help!

Thank you and kind regards: Alexander

mert.sincan
Posts: 4596
Joined: 29 Jun 2013, 12:38

23 Jun 2020, 14:25

I couldn't replicate it. This issue is not related to Layout or Theme. Please use PrimeFaces core forum or Github issue tracker.

Best Regards,

Post Reply

Return to “Sapphire - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest