开发者

Is it possible to access a bean variable in jsf?

I want开发者_运维百科 to access a string variable from a managed bean and compare it another value and thereby render a table only if they are equal.

Can anyone help me on this?


put the table in a ui:panel and then in the rendered attribute of the panel put some EL, like

rendered="#{mybean.myProperty eq 'mystring'}"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜