javax.faces.webapp.UIComponentClassicTagBase.updatePreviousJspIdAndIteratorStatus()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(60)

本文整理了Java中javax.faces.webapp.UIComponentClassicTagBase.updatePreviousJspIdAndIteratorStatus()方法的一些代码示例,展示了UIComponentClassicTagBase.updatePreviousJspIdAndIteratorStatus()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。UIComponentClassicTagBase.updatePreviousJspIdAndIteratorStatus()方法的具体详情如下:
包路径:javax.faces.webapp.UIComponentClassicTagBase
类名称:UIComponentClassicTagBase
方法名:updatePreviousJspIdAndIteratorStatus

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。如果是这样,我们将isNestedInIteratorivar设置为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);

相关文章

微信公众号

最新文章

更多

UIComponentClassicTagBase类方法