Forums de discussion
problem with set theme primefaces liferay 6.1
Ben Mohammed, modifié il y a 11 années.
problem with set theme primefaces liferay 6.1
Junior Member Publications: 27 Date d'inscription: 19/03/10 Publications récentes
Hi,
i have a problem with setting them primefaces in liferay 6.1 primefaces 3.5
i downloaded jar bootstrap-1.0.10.jar I placed jar in /WEB-INF/lib
i configured my web.xml context
my xhtml page
the style is not applied
THNKS
i have a problem with setting them primefaces in liferay 6.1 primefaces 3.5
i downloaded jar bootstrap-1.0.10.jar I placed jar in /WEB-INF/lib
i configured my web.xml context
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>bootstrap</param-value>
</context-param>
my xhtml page
<!--?xml version="1.0" encoding="UTF-8"?-->
<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.org/ui" xmlns:ui="http://java.sun.com/jsf/facelets">
<h:body>
<h:form id="form">
<h:panelgrid columns="2" cellpadding="5">
<p:selectonemenu value="#{buttonBean.number}">
<f:selectitem itemLabel="Select One" itemValue="" />
<f:selectitem itemLabel="Option 1" itemValue="1" />
<f:selectitem itemLabel="Option 2" itemValue="2" />
<f:selectitem itemLabel="Option 3" itemValue="3" />
</p:selectonemenu>
</h:panelgrid>
</h:form>
</h:body>
</f:view>
the style is not applied
THNKS
Neil Griffin, modifié il y a 11 années.