babylon-2.0.1 source project not templating
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Do you get an error on browser console?
Github Profile: https://github.com/mertsincan
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.
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.
https://drive.google.com/drive/folders/ ... sp=sharing
The above attached link has the screen shot for the mentioned issue.
The above attached link has the screen shot for the mentioned issue.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please add this into template.xhtml;
<h:outputStylesheet name="fa/font-awesome.css" library="primefaces" />
<h:outputStylesheet name="fa/font-awesome.css" library="primefaces" />
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Also, please examine this link; https://www.beyondjava.net/jsf-2-2-prim ... pring-boot
Code: Select all
sc.setInitParameter("primefaces.FONT_AWESOME", "true");
Github Profile: https://github.com/mertsincan
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
<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
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
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" />
<p:commandButton value="test" icon="fa fa-home" />
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests