It is not possible to work with several menu olympos

UI Components for JSF
Post Reply
max.dicson.cf
Posts: 7
Joined: 04 Apr 2013, 23:06

09 Sep 2016, 04:38

A couple of days buy Olympos theme Theme + Layout. and and uh I started to realize that it is not possible to work with multiple menus "<PO: menu" so I require me to correct this puedar brvedad. I buy the issue with the layout and not working well.

Deputy test image so that they can understand.

Thank you.

View: (I need the active state of the main menu by selecting "layout-tab-menu" is saved, and not returned to the first as shown in the figure.)

Image

any.xhtml

Image

code

Image

Please need this fast..

Tnx

abdulkerim.atik
Posts: 6
Joined: 28 Jun 2015, 01:48
Location: TURKEY

18 Sep 2016, 23:10

u should use this way ,


<!-- menu.xhtml -->
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui" xmlns:po="http://primefaces.org/olympos">


<ul id="layout-tab-menu">

<!-- @formatter:off -->

<li><a
href="#" class="active" rel="layout-menu-inicio"><i class="icon-documents12 Orange"></i> <span class="layout-tab-menu-link-text"><span></span>inicio</span>
</a></li>

</ul>

<ui:include src="inicio.xhtml" />

</ui:composition>




<!-- inicio.xhtml -->

<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
xmlns:po="http://primefaces.org/olympos">

<ul class="layout-tab-submenu" id="layout-menu-inicio">
<li>
<a class="TexAlCenter">INICIO</a>
<ul>
<div class="EmptyBox10"></div>

<li>
<a href="" class="menulink TexAlCenter">
<i class="fa fa-list-ol Yellow Fs30 Wid100 Fnone" />
İnico
</a>
</li>
</ul>
</li>
</ul>

</ui:composition>
JSF implementation: Mojarra v2.2.8
JSF component library: Primefaces v6.0
Tomcat 8

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 43 guests