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.)
any.xhtml
code
Please need this fast..
Tnx
It is not possible to work with several menu olympos
-
- Posts: 6
- Joined: 28 Jun 2015, 01:48
- Location: TURKEY
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>
<!-- 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
JSF component library: Primefaces v6.0
Tomcat 8
-
- Information
-
Who is online
Users browsing this forum: No registered users and 27 guests