Page 1 of 1

pe:menu doesn´t work

Posted: 03 Sep 2015, 22:40
by rider
Dear all,

the theme works for me but not the the pe:menu
What could be wrong?

Should I use in the web.xml ?
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>rio</param-value>
</context-param>
Can you help me, please

Re: pe:menu doesn´t work

Posted: 04 Sep 2015, 09:52
by mert.sincan
Are you using <pr:menu>(in Rio Layout Menu) or <p:menu> (PrimeFaces component)?

Re: pe:menu doesn´t work

Posted: 04 Sep 2015, 10:04
by rider
I´m using pe:menu
Should I include the theme.jar in the classpath?
Is there any manual for this?

Which code should I need in the web.xml ?

Re: pe:menu doesn´t work

Posted: 04 Sep 2015, 10:17
by mert.sincan
What is <pe:menu> ?? (<pr:menu> is left menu; http://primefaces.org/rio/) or (p:menu is primefaces component; http://www.primefaces.org/showcase/ui/menu/menu.xhtml)

Re: pe:menu doesn´t work

Posted: 04 Sep 2015, 11:38
by rider
Sorry I mean: <pr:menu>

Should I include the theme.jar in the classpath?
Is there any manual for this?

Which code should I need in the web.xml ?

Re: pe:menu doesn´t work

Posted: 04 Sep 2015, 14:09
by mert.sincan
- For <pr:menu>
Please add RioMenu.java and RioMenuRenderer.java in your project
and

Code: Select all

xmlns:p="http://primefaces.org/ui"
xmlns:pr="http://primefaces.org/rio"

in your layoutmenu.xhtml
-To Install Rio-Theme.jar
Similar issue; http://forum.primefaces.org/viewtopic.p ... 1&p=134392
- For your questions
http://stackoverflow.com/questions/3410 ... -classpath
http://stackoverflow.com/questions/1841 ... class-path