PF10 timeline grouping without style

UI Components for JSF
Post Reply
RalfScania
Posts: 81
Joined: 26 Sep 2012, 12:51

10 Jun 2021, 10:40

Hello, I use the timline component for grouping in PF 10.
What happened is, that all the css information like font weight etc get lost.

If you look at the example https://www.primefaces.org/showcase/ui/ ... fwid=2c591

you can see the the truck code is supposed to be bold, but it is not.

Code: Select all

 <f:facet name="group">
                <h:graphicImage library="demo" name="images/timeline/truck.png" style="vertical-align:middle;" alt="Truck"/>
                <h:outputText value="Truck #{truck.code}" style="font-weight:bold;"/>
</f:facet>
Primefaces 8.0.4, MyFaces 2.2.8, Tomcat 9.0.8

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

10 Jun 2021, 14:14

Already fixed in 10.0.2 and 8.0.10. See: https://github.com/primefaces/primefaces/issues/7217
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

RalfScania
Posts: 81
Joined: 26 Sep 2012, 12:51

10 Jun 2021, 15:35

I'm using 10.0.2 and it is not fixed, when you look at the demo.

In the case the loading facet was the problem, but in this case it is the group facet.
Primefaces 8.0.4, MyFaces 2.2.8, Tomcat 9.0.8

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

10 Jun 2021, 15:54

Well the Showcase is not running 10.0.2 its running 10.0.0. If you can create a PrimeFaces Test reproducer we can look But in your F12 console you should see a Warning from timeline that says "XSS is disabled I sure hope you know what you are doing". Can you verify?
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

RalfScania
Posts: 81
Joined: 26 Sep 2012, 12:51

11 Jun 2021, 09:36

Ok, sorry, my fault. My Intellij Project had both 10.0.0 and 10.0.2 jars in the target/webinf/lib folder.
No Idea why maven didn't clean ist out. So case solved.
Primefaces 8.0.4, MyFaces 2.2.8, Tomcat 9.0.8

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

11 Jun 2021, 13:16

OK I feel much better.
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 39 guests