TheCoder4eu / BootsFaces-OSP

BootsFaces - Open Source Project
Apache License 2.0
247 stars 102 forks source link

Carousel not working #1131

Closed jorgesm15 closed 4 years ago

jorgesm15 commented 4 years ago

I'm new to bootsfaces, and I'm trying to add a carousel to my webpage but the image is not loading.

carousel

My code:

image

stephanrauh commented 4 years ago

Hi Jorge,

no idea... your sourcecode looks fine by me. I've added it to the BootsFaces showcase, so you can have a look yourself. Maybe you can spot the difference. My best guess is the image isn't found. That results in an error message in the error log and / or the console window of your browser.

Live demo: https://staging.bootsfaces.net/Showcase/issues/issue1131.jsf

Source code: https://github.com/TheCoder4eu/BootsFacesWeb/blob/master/src/main/webapp/issues/issue1131.xhtml

Best regards, Stephan

jorgesm15 commented 4 years ago

Thank you, but I can't make it to work, I've tried to modify the image source multiple times, but for some reason the image is not loading.

These are the folders in my Netbeans project. carousel2

geopossachs commented 4 years ago

Hallo @jorgesm15 try to use the JSF resource access for example

or

https://showcase.bootsfaces.pecer.de/BootsFacesWeb//layout/Image.jsf https://mkyong.com/jsf2/resources-library-in-jsf-2-0/

jorgesm15 commented 4 years ago

Hallo @jorgesm15

try to use the JSF resource access for example

or

https://showcase.bootsfaces.pecer.de/BootsFacesWeb//layout/Image.jsf

https://mkyong.com/jsf2/resources-library-in-jsf-2-0/

Thank you very much! It finally worked!