I got this in my css file:
background: #1484e6 url("/webapp/javax.faces.resource/images/ui-bg_diagonals-thick_22_1484e6_40x40.png.xhtml?ln=primefaces-excite-bike") 50% 50% repeat;
How would I reference to the image instead of using this full url? Because the basename "webapp" could change, so this will not always work.
I tried using this, but it won't work:
#{resource['images:ui-bg_diagonals-thick_22_1484e6_40x40.png']}