小编hir*_*0ku的帖子

使用CombinedResourceHandler时出现“Unable to save dynamic action with clientId 'j_idX' because the UIComponent cannot be found”的警告

当我提交和更新 =“@form”时,我收到以下警告。

14:03:23,139 WARNING [javax.enterprise.resource.webcontainer.jsf.application.view] (default task-27) Unable to save dynamic action with clientId 'j_id2' because the UIComponent cannot be found
14:03:23,139 WARNING [javax.enterprise.resource.webcontainer.jsf.application.view] (default task-27) Unable to save dynamic action with clientId 'j_id3' because the UIComponent cannot be found
Run Code Online (Sandbox Code Playgroud)

但是从faces-config.xml 中删除“org.omnifaces.resourcehandler.CombinedResourceHandler”,警告不会得到。

发展环境是...

  • Primefaces 7.0
  • 全方位 3.4
  • WildFly 16.0.0.Final

这是最小样本。(但我的生产代码更复杂,收到了很多(20-1000)条警告。)

索引.xhtml

14:03:23,139 WARNING [javax.enterprise.resource.webcontainer.jsf.application.view] (default task-27) Unable to save dynamic action with clientId 'j_id2' because the UIComponent cannot be found
14:03:23,139 WARNING [javax.enterprise.resource.webcontainer.jsf.application.view] (default task-27) Unable to save dynamic action …
Run Code Online (Sandbox Code Playgroud)

jsf primefaces jsf-2 omnifaces

2
推荐指数
1
解决办法
366
查看次数

标签 统计

jsf ×1

jsf-2 ×1

omnifaces ×1

primefaces ×1