cost 233 ms
离开用 OmniFaces“ViewScoped”注释的 bean 页面时不调用 @PreDestroy 方法 - @PreDestroy method not called when leaving page of bean annotated with OmniFaces "ViewScoped"

当用户在相当大的 JSF 供电的 web 应用程序中离开与该 bean 关联的页面时,我试图在@ViewScoped bean 中调用一个用@PreDestroy注释的方法。 在阅读https://stackoverflow.com/a/15391453/5467214以及关于 SO 的其他几个问题 ...

Jsf Omnifaces 在会话超时后通过 Jaas 调用卸载结果是白屏 Empty 结果 - Jsf Omnifaces After sessiontimeout called unload throught Jaas the result is white screen Empty Result

我不确切知道背景是什么,我想知道:)。 复制步骤: 获取主页面 Jaas 重定向到登录页面登录。 登陆有状态页面! 等待会话超时刷新页面 Jaas 重定向到登录页面登录。 登陆白屏。 (但重新加载后一切正常!) 通过调试我说,第二次登录后卸载 我认为卸载帖子第二次被 JAAS 捕获,而不是页面 G ...

使用 org.omnifaces.cdi.ViewScoped 时,我的 javax.servlet.Filter 在单个页面视图上同时接收 GET 和 POST - When using org.omnifaces.cdi.ViewScoped my javax.servlet.Filter receives both a GET and a POST on a single page view

我的用于记录页面视图的 servletfilter 正在接收带有单个页面请求的 GET 和 POST。 我将其追溯到在页面支持 bean 上使用 Omnifaces ViewScope。 我碰巧注意到我的日志文件中的双页浏览量带有确切的时间戳。 使用以下简化版本进行调试,在单个页面请求上,doF ...

org.omnifaces.cdi.push.SocketChannelManager$ViewScope 无法转换为 com.sun.faces.push.WebsocketChannelManager$ViewScope - org.omnifaces.cdi.push.SocketChannelManager$ViewScope cannot be cast to com.sun.faces.push.WebsocketChannelManager$ViewScope

这是我之前的问题的后续问题,我无法使f:websocket工作可能是由于 Mojarra 2.3.9 中的错误。 我想再试一次o:socket 。 我的依赖项包括: Tomcat 8.5.42 莫哈拉 2.3.9 OmniFaces 2.7.5 焊接 2.4.8.Final 连接已打开,但是当 ...

全脸<o:validateMultiple>重置两个 PrimeFace<p:selectOneMenu> 验证失败后 - OmniFaces <o:validateMultiple> resetting two PrimeFaces <p:selectOneMenu> after validation failed

我有一个 OmniFaces &lt;o:validateMultiple&gt;设置为两个&lt;p:selectOneMenu&gt; 。 一个下拉框用于主场,另一个用于客队(体育比赛)。 验证器检查,如果两个团队的组合已经存在于日程表中,则验证器方法返回 false。 (见上表示例:组合已 ...

使用 OmniFaces o:validateMultiple 验证 ap:dataTable 或 p:treeTable 中的多个输入 - Validating multiple inputs in a p:dataTable or p:treeTable using OmniFaces o:validateMultiple

我有一个看起来像这样的用户界面: 一场比赛不能有重复的球衣号码,所以我想要一个用于该列中所有 UIInput 的验证器。 我立即想出了使用 OmniFaces 的o:validateMultiple 。 但是,这似乎不起作用。 通过单击按钮提交表单会导致: 这是我的代码示例... 豆 ...

JSF Primefaces 应用程序无法在升级后的 WildFly 18 上正确呈现 - JSF Primefaces application doesn't render properly on upgraded WildFly 18

我将 Eclipse 中的服务器从 WildFly v10.x 升级到 WildFly 18.0.0 Final,现在我的一个 JSF/Primefaces 应用程序在更新视图后无法正确呈现。 在初始页面加载时,视图看起来不错,但如果我选择一些过滤器(Primeface 下拉菜单、复选框等)并单击命 ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM