字符串比较渲染条件在 glassFish 3.1 中不起作用
<a4j:repeat value="#{parserForIOEditor.parsedTemplate.section}" var="section">
<h:dataTable id="ErrorMessages" var="sectionKey" style="width:450px;"
value="#{infoObjectWizardHelper.errorMessageKeys}"
rendered="#{func:contains(infoObjectWizardHelper.errorMessageKeys,section.name)}" >
<h:column rendered="#{sectionKey eq section.name }" >
//some stuff
</h:column>
</h:dataTable>
</a4j:repeat>
这里我的要求是,当sectionkey等于section.name时,只应显示列。有人可以提供一些想法吗!
相同的代码在 glassFish 2.1 中工作,但在 glassFish 3.1 中不起作用
<a4j:repeat value="#{parserForIOEditor.parsedTemplate.section}" var="section">
<h:dataTable id="ErrorMessages" var="sectionKey" style="width:450px;"
value="#{infoObjectWizardHelper.errorMessageKeys}"
rendered="#{func:contains(infoObjectWizardHelper.errorMessageKeys,section.name)}" >
<h:column rendered="#{sectionKey eq section.name }" >
//some stuff
</h:column>
</h:dataTable>
</a4j:repeat>
Here my requirement is that when sectionkey equals to the section.name then only column should be displayed. could anybody give some idea on it!
The Same code is working in glassFish 2.1 but not working in glassFish 3.1
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论