本文整理了Java中javax.faces.webapp.UIComponentClassicTagBase.updatePreviousJspIdAndIteratorStatus()
方法的一些代码示例,展示了UIComponentClassicTagBase.updatePreviousJspIdAndIteratorStatus()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。UIComponentClassicTagBase.updatePreviousJspIdAndIteratorStatus()
方法的具体详情如下:
包路径:javax.faces.webapp.UIComponentClassicTagBase
类名称:UIComponentClassicTagBase
方法名:updatePreviousJspIdAndIteratorStatus
[英]Called from #setJspId to update the value saved for the previous call to #setJspId for this component on this request. If this method is presented with the same argument id
for the same tag instance more than once on the same request, then we know that the tag instance lies inside an iterator tag, such as c:forEach
. If so, we set the isNestedInIterator
ivar to true
otherwise, we set it to false
.
The implementation for this method stores a Map from tag instance to id String as a request scoped attribute. This map contains the value used as the previousJspId and compared with the argument id
.
[中]从#setJspId调用,以更新上次调用#setJspId时保存的值。如果这个方法在同一个请求中多次为同一个标记实例提供相同的参数id
,那么我们知道标记实例位于迭代器标记内,例如c:forEach
。如果是这样,我们将isNestedInIterator
ivar设置为true
,否则,我们将其设置为false
。
此方法的实现将标记实例到id字符串的映射存储为请求范围的属性。此映射包含用作上一个JSPID的值,并与参数id
进行比较。
代码示例来源:origin: javax.faces/com.springsource.javax.faces
updatePreviousJspIdAndIteratorStatus(jspId);
代码示例来源:origin: javax/javaee-web-api
updatePreviousJspIdAndIteratorStatus(jspId);
代码示例来源:origin: com.sun.faces/jsf-api
updatePreviousJspIdAndIteratorStatus(jspId);
代码示例来源:origin: org.glassfish/jakarta.faces
updatePreviousJspIdAndIteratorStatus(jspId);
代码示例来源:origin: eclipse-ee4j/mojarra
updatePreviousJspIdAndIteratorStatus(jspId);
代码示例来源:origin: eclipse-ee4j/mojarra
updatePreviousJspIdAndIteratorStatus(jspId);
代码示例来源:origin: org.jboss.spec.javax.faces/jboss-jsf-api_2.0_spec
updatePreviousJspIdAndIteratorStatus(jspId);
代码示例来源:origin: javax.faces/javax.faces-api
updatePreviousJspIdAndIteratorStatus(jspId);
代码示例来源:origin: org.glassfish/javax.faces
updatePreviousJspIdAndIteratorStatus(jspId);
代码示例来源:origin: jboss/jboss-javaee-specs
updatePreviousJspIdAndIteratorStatus(jspId);
内容来源于网络,如有侵权,请联系作者删除!