Implementing Contracts layout

UI Components for JSF
Post Reply
johanishaan
Posts: 12
Joined: 06 Sep 2016, 08:02
Location: test
Contact:

26 Sep 2016, 07:03

Hi Team,

So I recently purchased a couple of premium layouts (awesome!)..

I am trying to implement the "hidden" feature of contract layout as per:
https://www.youtube.com/watch?v=jbNdtnd ... e=youtu.be

So I have it setup as per the video, starting from web.xml context param; copied the folders under $$$-layout to the to its corresponding $$$-layout under contracts. And the xhtml ones under WEB-INF to the same $$$-layout folders under contracts; so the contract folder under webapp and it's equivalen (more or less since the names have changed no leftmenu.xhtml but menu.xhtml for example.

Then I included the ultima-theme-1.0.3.jar and apollo-theme-1.0.1.jar inside the WEB-INF/lib.

but then I still get this error:
javax.faces.FacesException: Error loading css, cannot find "theme.css" resource of "primefaces-ultima" library
org.primefaces.renderkit.HeadRenderer.encodeCSS(HeadRenderer.java:145)
org.primefaces.renderkit.HeadRenderer.encodeBegin(HeadRenderer.java:77)
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:865)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1854)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:1859)
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:458)
com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:134)
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
com.prw.myicarus.system.logics.NoCacheFilter.doFilter(NoCacheFilter.java:39)
com.prw.myicarus.system.logics.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:28)
org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:100)
Any ideas how to go around this problem?

Thanks in advance,

Johan
Ultima 1.0.3 PrimeFaces 6.0 JSF 2.1 / (Forced JSF 2.2 using JBoss Seam el 2.0.0.GA)
Tomcat 6.0.45 / WLS 10.3.4
JDK 1.6 / Oracle JRockit(R) (build R28.2.0)
NetBeans 8.1 El Capitan / Linux x86_64 / Windows Server 8

johanishaan
Posts: 12
Joined: 06 Sep 2016, 08:02
Location: test
Contact:

26 Sep 2016, 07:30

I think I solved it.
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>#{contractView.contract}-#{guestPreferences.theme}</param-value>
</context-param>
I'm gonna try and run it. If i don't come back then it's good news for this thread:D
Ultima 1.0.3 PrimeFaces 6.0 JSF 2.1 / (Forced JSF 2.2 using JBoss Seam el 2.0.0.GA)
Tomcat 6.0.45 / WLS 10.3.4
JDK 1.6 / Oracle JRockit(R) (build R28.2.0)
NetBeans 8.1 El Capitan / Linux x86_64 / Windows Server 8

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

06 Oct 2016, 08:54

Glad to hear, thanks for the update :)

vmontes
Posts: 5
Joined: 29 May 2013, 00:26

21 Oct 2016, 11:16

johanishaan wrote:I think I solved it.
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>#{contractView.contract}-#{guestPreferences.theme}</param-value>
</context-param>
I'm gonna try and run it. If i don't come back then it's good news for this thread:D
Hi men do you have a mail to ask you something?
my email is chalusk8 gmail

See you!

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 35 guests