babylon-2.0.1 source project not templating

DhannyaP
Posts: 10
Joined: 14 Jan 2019, 12:44

16 Jan 2019, 07:04

Image

DhannyaP
Posts: 10
Joined: 14 Jan 2019, 12:44

16 Jan 2019, 07:05

Image

Image

User avatar
aragorn
Posts: 3465
Joined: 29 Jun 2013, 12:38

16 Jan 2019, 08:41

Do you get an error on browser console?

DhannyaP
Posts: 10
Joined: 14 Jan 2019, 12:44

16 Jan 2019, 10:12

Thank you for ur reply :)

No error on the console . Thats another reason i am not able to proceed.....

Mine is a spring boot project with primefaces ... so we are not using a web.xml... I see that the sample project given has a mime-mapping entry in web.xml. Could that be a problem?

None of my fa fa icons are working. I have even tried including the font awesome jar dependency in pom.xml apart from the applicaion.properties entry.

server.context_parameters.primefaces.FONT_AWESOME=true

Still no effect. As of now I am not able to proceed....

Any help would be of greatly appreciated.

DhannyaP
Posts: 10
Joined: 14 Jan 2019, 12:44

16 Jan 2019, 10:18

https://drive.google.com/drive/folders/ ... sp=sharing


The above attached link has the screen shot for the mentioned issue.

User avatar
aragorn
Posts: 3465
Joined: 29 Jun 2013, 12:38

16 Jan 2019, 12:23

Please add this into template.xhtml;
<h:outputStylesheet name="fa/font-awesome.css" library="primefaces" />

User avatar
aragorn
Posts: 3465
Joined: 29 Jun 2013, 12:38

16 Jan 2019, 12:29

Also, please examine this link; https://www.beyondjava.net/jsf-2-2-prim ... pring-boot

Code: Select all

sc.setInitParameter("primefaces.FONT_AWESOME", "true");

DhannyaP
Posts: 10
Joined: 14 Jan 2019, 12:44

16 Jan 2019, 13:01

Hi, FontAwesome icons are showing up when i explicitly specify the link as below ...

<link href="https://maxcdn.bootstrapcdn.com/font-aw ... me.min.css" rel="stylesheet"/>

I am surprised why this is happening?

Why is the below not getting applied ?

server.context_parameters.primefaces.FONT_AWESOME=true

I didnt have such issues before i applied the babylon theme....

Is this the right approach ??? Any suggestions

User avatar
aragorn
Posts: 3465
Joined: 29 Jun 2013, 12:38

17 Jan 2019, 13:51

Interesting! Our layouts have the only CSS for theme/layout, JS and xhtml files for layout menu. They do not interfere with the user's structure. Does the fontawesome work without Babylon?
<p:commandButton value="test" icon="fa fa-home" />

Post Reply

Return to “Babylon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest