本文整理了Java中javax.faces.webapp.UIComponentClassicTagBase.findComponent()
方法的一些代码示例,展示了UIComponentClassicTagBase.findComponent()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。UIComponentClassicTagBase.findComponent()
方法的具体详情如下:
包路径:javax.faces.webapp.UIComponentClassicTagBase
类名称:UIComponentClassicTagBase
方法名:findComponent
[英]Find and return the UIComponent, from the component tree, that corresponds to this tag handler instance. If there is no such UIComponent, create one and add it as a child or facet of the UIComponent associated with our nearest enclosing UIComponentTag. The process for locating or creating the component is:
Tree
and return it.facetName
attribute set, ask the parent UIComponent for a facet with this name. If not found, create one, call setProperties()
with the new component as a parameter, and register it under this name. Return the found or created facet UIComponent.id
attribute set, use that value; otherwise, generate an identifier that is guaranteed to be the same for this UIComponent every time this page is processed (i.e. one based on the location of all UIComponentTaginstances without an id
attribute set).setProperties()
with the new component as a parameter, and register it as a child with this identifier. Return the found or created child UIComponent.When creating a component, the process is:
binding
attribute, create an expression from it, and call Application#createComponent with that expression, the FacesContext, and the component type. Store the expression using the key "binding"
.setProperties()
.Tree
获取它并返回它。facetName
属性,请向父UIComponent请求具有此名称的方面。如果找不到,则创建一个,以新组件作为参数调用setProperties()
,并在此名称下注册。返回找到或创建的组件。id
属性,则使用该值;否则,每次处理此页面时,生成一个保证与此UIComponent相同的标识符(即,一个基于所有UIComponentTaginstances(没有id
属性集)的位置)。setProperties()
,并将其注册为具有此标识符的子级。返回找到或创建的子组件。binding
属性,则从中创建一个表达式,并使用该表达式、FacesContext和组件类型调用应用程序#createComponent。使用键[$7$]存储表达式。代码示例来源:origin: javax.faces/com.springsource.javax.faces
component = findComponent(context);
代码示例来源:origin: javax/javaee-web-api
component = findComponent(context);
代码示例来源:origin: jboss/jboss-javaee-specs
component = findComponent(context);
代码示例来源:origin: com.sun.faces/jsf-api
component = findComponent(context);
代码示例来源:origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec
component = findComponent(context);
代码示例来源:origin: eclipse-ee4j/mojarra
component = findComponent(context);
代码示例来源:origin: eclipse-ee4j/mojarra
component = findComponent(context);
代码示例来源:origin: javax.faces/javax.faces-api
component = findComponent(context);
代码示例来源:origin: org.glassfish/javax.faces
component = findComponent(context);
代码示例来源:origin: org.glassfish/jakarta.faces
component = findComponent(context);
代码示例来源:origin: org.apache.myfaces.core/myfaces-api
_componentInstance = findComponent(_facesContext);
代码示例来源:origin: org.apache.myfaces/com.springsource.org.apache.myfaces.javax.faces
_componentInstance = findComponent(_facesContext);
代码示例来源:origin: org.apache.myfaces.core/myfaces-api
_componentInstance = findComponent(parent, id);
if (_componentInstance == null)
else if (null == findComponent(parent,_componentInstance.getId()))
代码示例来源:origin: org.apache.myfaces/com.springsource.org.apache.myfaces.javax.faces
_componentInstance = findComponent(parent,id);
if (_componentInstance == null)
内容来源于网络,如有侵权,请联系作者删除!