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 web.xml - I later changed it to morpheus-#{guestPreferences.theme} as in the sample, but that led to many things not being found.
3. Copied the morpheus-layout directory and all its subdirectories to the resources directory of my web app directory
4. Copied the template.xhtml, footer.xhtml, topbar.xhtml, menu.xhtml, prime faces-morpheus-tablib.xml to my WEB-INF directory
5. Copied the sample empty.xhtml to my web app directory
I additionally configured the web.xml to use the tag library as follows.
Code: Select all
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>morpheus-blue</param-value>
</context-param>
<context-param>
<param-name>primefaces.FONT_AWESOME</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
<param-value>/WEB-INF/primefaces-morpheus.taglib.xml</param-value>
</context-param>
Code: Select all
<name>primefaces_morpheus</name>
<component>
<component-type>org.primefaces.component.MorpheusMenu</component-type>
<component-class>org.primefaces.morpheus.component.Menu</component-class>
</component>
<component>
<component-type>org.primefaces.component.MorpheusTabMenu</component-type>
<component-class>org.primefaces.morpheus.component.TabMenu</component-class>
</component>
<component>
<component-type>org.primefaces.component.MorpheusTab</component-type>
<component-class>org.primefaces.morpheus.component.Tab</component-class>
</component>
<render-kit>
<renderer>
<component-family>org.primefaces.component</component-family>
<renderer-type>org.primefaces.component.MorpheusMenuRenderer</renderer-type>
<renderer-class>org.primefaces.morpheus.component.MenuRenderer</renderer-class>
</renderer>
<renderer>
<component-family>org.primefaces.component</component-family>
<renderer-type>org.primefaces.component.MorpheusTabMenuRenderer</renderer-type>
<renderer-class>org.primefaces.morpheus.component.TabMenuRenderer</renderer-class>
</renderer>
</render-kit>
No errors at this point in the glassfish logs, but the javascript is showing errors that say:
Error, can't find variable $
Error, can't find variable Primefaces
Can you advise? This looks like a great product, I'm sure I have left off something quite obvious.
Thanks much