Hi!!!
My app do not show the background images from the template pages, like login and exception's. After checked the css, i figure out that root project is static, with value "siberia". Like this:
.login-body {
background-image: url(/siberia/javax.faces.resource/images/exceptions/mask-login.png.xhtml?ln=siberia-layout); }
I'm not a professional developer. Maybe i'm saying something incorrect.
Should change for this?
#{resource['siberia-layout:images/landing/exceptions/mask-login.png.']}
or whatelse.
Tks.
context-root value in background-image url 's template pages
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
Hi,
siberia-layout -> library briefly a folder name under resources folder.
Exp;
webapp/resources/siberia-layout/images/landing/extensions/mask-login.png -> #{resource['siberia-layout:images/landing/exceptions/mask-login.png.']}
webapp/resources/A/B/C.png -> #{resource['A:B/C.png.']}
Also, please see; https://stackoverflow.com/questions/692 ... -image-url
Best Regards,
- No problem, we are always happy to help.I'm not a professional developer. Maybe i'm saying something incorrect.
- If you changed folder structure or name under webapp/resources/*, yes.Should change for this?
#{resource['siberia-layout:images/landing/exceptions/mask-login.png.']}
siberia-layout -> library briefly a folder name under resources folder.
Exp;
webapp/resources/siberia-layout/images/landing/extensions/mask-login.png -> #{resource['siberia-layout:images/landing/exceptions/mask-login.png.']}
webapp/resources/A/B/C.png -> #{resource['A:B/C.png.']}
Also, please see; https://stackoverflow.com/questions/692 ... -image-url
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 11 guests