In Portal 7 - I can highlight my custom SubMenu item with this code: administration.views.add("Administration.xhtml");
But I see it not work in portal8. So the first question is how I can highlight my custom subMenu in portal8? Second point that How I can highlight my subMenu If my page start with IFrame? Because the view always ch.ivy.addon.portal.generic.iframe.TaskTemplateIFrame/TaskTemplateIFrame.xhtml asked 01.06.2020 at 05:52 nbthong |
hi @nbthong, From Portal 8, we start using Primefaces Serenity theme, so it doesn't use the views attribute of SubMenuItem then we make Deprecated. In case you want to highlight a submenu if your page starts with IFrame, the Portal doesn't support this requirement. You need to make a specific js code to catch the #iFrame element then refer to highlightMenuItem method in portal.js to highlight your menuItem. Thanks! answered 01.06.2020 at 22:31 nqhoan |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 01.06.2020 at 05:52
Seen: 2,046 times
Last updated: 01.06.2020 at 22:31