PrimeFaces 7移动导航:“ MobileNavigationHandler”不再存在

问题描述 投票:1回答:1

该场景是使用JSF和Primeface Mobile开发的移动页面。我想在多个页面之间的同一xhtml页面中导航(请看:JSF Primefaces Mobile navigation)。将PrimeFaces从6.1版升级到7.0版后,org.primefaces.mobile.application.MobileNavigationHandler不再存在。我需要改用什么?迁移指南“ 6.2到7.0”(https://github.com/primefaces/primefaces/wiki/Migration-Guide)并没有帮助我:“ [[...]移动设备已被删除,以支持响应功能。[...]”

jsf primefaces
1个回答
1
投票

除了重写代码外,您还有NO个迁移路径。

PrimeFaces Mobile在7.0中已被完全删除请参阅Primefaces的这篇博客文章:https://www.primefaces.org/primefaces-6-2-roadmap/

PF Mobile是现有组件的渲染工具,但是我们已经只是意识到我们必须同时维护两个不同的集合因此,决定弃用PF Mobile并专注于响应能力标准renderkit。因此在6.2版中,不推荐使用移动设备,在7.0中删除。

© www.soinside.com 2019 - 2024. All rights reserved.