JSF2/PrimeFaces中的命名容器 [英] Naming Container in JSF2/PrimeFaces

查看:60
本文介绍了JSF2/PrimeFaces中的命名容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PrimeFaces中可能使用的命名容器是什么?当我们要使用update=":mainForm:MainAccordian:userNameTextbox"更新表单上的某些UI控件时,为什么必须为Ajax更新调用附加命名容器ID?

What are the possible naming containers in PrimeFaces? Why it is necessary to append naming container id for Ajax update call when we want to update some UI control on form using update=":mainForm:MainAccordian:userNameTextbox"?

推荐答案

在IntelliJ扫描了我所有的JAR以获得javax.faces.component.NamingContainer的实现之后,我发现了以下内容:

After having IntelliJ scan all my JARs for implementations of javax.faces.component.NamingContainer here is what I found:

  • AccordionPanel
  • 轮播
  • DataGrid
  • 数据列表
  • DataScroller
  • 数据表
  • 页面
  • SubTable
  • 子视图
  • TabView
  • TreeTable
  • UIData
  • UITabPanel
  • AccordionPanel
  • Carousel
  • Columns
  • DataGrid
  • DataList
  • DataScroller
  • DataTable
  • Page
  • Ring
  • SubTable
  • Subview
  • TabView
  • TreeTable
  • UIData
  • UITabPanel
  • HtmlDataTable
  • HtmlForm
  • UITree
  • UIForm

这篇关于JSF2/PrimeFaces中的命名容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆