使用jsf检查if语句中方法的结果

时间:2017-03-19 01:10:24

标签: jsf el

我可以直接在if语句中检查方法的返回值吗?

<h:form>
<c:if test="#{bidBean.searchbyproperty(property.propertyId) == 'n'}">
   <p> no result </p>
</c:if>
</h:form>

如果没有,我怎么检查我的xhtml文件中的值?

0 个答案:

没有答案