-
1. RF4: skins not loaded
mp911de Apr 18, 2011 11:44 PM (in response to raid3n)Hi Raid,
it's important to have f:view/h:head in your JSF. Please post some code from your xhtml to check this out.
Best regards,
Mark
-
2. RF4: skins not loaded
raid3n Apr 19, 2011 2:29 AM (in response to mp911de)Hi mark, thanks! That was the problem.
It works with If i put a h:head.
My code with f:view doesn't work:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:util="http://java.sun.com/jsf/composite/components/util">
<f:view>
<util:languageComponent languagePrompt="#{loginBundle.languagePrompt}"
managedBean="#{languageBean}" />
<util:loginComponent />
</f:view>
</html>
Into languageComponent I use a rich:panel.
-
3. RF4: skins not loaded
ilya_shaikovsky Apr 19, 2011 4:18 AM (in response to raid3n)it just JSF2 usage trick. without h:head it will not be able to insert resources dependencies. so use h:head and h:body always in main template instead of just plain HTML head abd body
-