Problem installation with guestPreferences
Posted: 19 Feb 2019, 18:09
Hi, i just used primefaces and really looking forward to using this theme. It's the first that I have ever purchased.
I tried to use spring boot and I'm having some issues getting it installed. Per the directions page, I :
1. Put morpheus-theme-1.0.0.jar on my class path
2. Set primefaces.THEME to morpheus-blue in the application.yml.
3. Copied the morpheus-layout directory and all its subdirectories to the resources directory of my web app directory
4. Copied the prime faces-morpheus-tablib.xml to my WEB-INF directory
5. Copied all xhtml sample to my resources/META-INF/resources
My project directory looks like :
(sorry, don't know why the image not loaded, but it found if opened in a new tab)
And my application.yml :
I'have tried to follow this thread but still the error is same viewtopic.php?f=52&t=49442
Thanks in advice
I tried to use spring boot and I'm having some issues getting it installed. Per the directions page, I :
1. Put morpheus-theme-1.0.0.jar on my class path
2. Set primefaces.THEME to morpheus-blue in the application.yml.
3. Copied the morpheus-layout directory and all its subdirectories to the resources directory of my web app directory
4. Copied the prime faces-morpheus-tablib.xml to my WEB-INF directory
5. Copied all xhtml sample to my resources/META-INF/resources
My project directory looks like :
(sorry, don't know why the image not loaded, but it found if opened in a new tab)
And my application.yml :
and I got this error :jsf:
primefaces:
theme: primefaces-morpheus-green
font-awesome: true
facelets-libraries: /WEB-INF/primefaces-morpheus.taglib.xml
project-stage: development
faces-servlet:
load-on-startup: 1
then if I hardcoded the '${guestPreferences.theme}' to something like layout-blue.css, and it produces error :2019-02-19 22:46:07.972 ERROR 20948 --- [nio-8080-exec-1] j.e.resource.webcontainer.jsf.context : JSF1073: javax.el.ELException caught during processing of RENDER_RESPONSE 6 : UIComponent-ClientId=, Message=Could not Resolve Variable [Overflow]: guestPreferences
2019-02-19 22:46:07.979 ERROR 20948 --- [nio-8080-exec-1] j.e.resource.webcontainer.jsf.context : Could not Resolve Variable [Overflow]: guestPreferences
javax.el.ELException: Could not Resolve Variable [Overflow]: guestPreferences
at com.sun.faces.facelets.el.VariableMapperWrapper.resolveVariable(VariableMapperWrapper.java:108) ~[javax.faces-2.3.7.jar:2.3.7]
at com.sun.faces.facelets.el.VariableMapperWrapper.resolveVariable(VariableMapperWrapper.java:104) ~[javax.faces-2.3.7.jar:2.3.7]
Is there something miss or wrong in my setup project ?2019-02-19 22:59:32.035 ERROR 21089 --- [nio-8080-exec-1] j.e.resource.webcontainer.jsf.context : JSF1073: javax.el.ELException caught during processing of RENDER_RESPONSE 6 : UIComponent-ClientId=, Message=Could not Resolve Variable [Overflow]: com.sun.faces.facelets.tag.js._TRACKED_IDS
2019-02-19 22:59:32.044 ERROR 21089 --- [nio-8080-exec-1] j.e.resource.webcontainer.jsf.context : Could not Resolve Variable [Overflow]: com.sun.faces.facelets.tag.js._TRACKED_IDS
javax.el.ELException: Could not Resolve Variable [Overflow]: com.sun.faces.facelets.tag.js._TRACKED_IDS
at com.sun.faces.facelets.el.VariableMapperWrapper.resolveVariable(VariableMapperWrapper.java:108) ~[javax.faces-2.3.7.jar:2.3.7]
I'have tried to follow this thread but still the error is same viewtopic.php?f=52&t=49442
Thanks in advice