开发者

JSF - Create a chain of value with EL

开发者 https://www.devze.com 2023-01-27 10:51 出处:网络
I would like to know if its possible, by using JSF, to make somethings like this : <ui:include src=\"#{bean.value/bean.value}.xhtml\" />

I would like to know if its possible, by using JSF, to make somethings like this :

<ui:include src="#{bean.value/bean.value}.xhtml" />
<ui:include src="#{bean.value/'default'/bean.value}.xhtml" />

In other words, create a chain of EL value (in this exampl开发者_JAVA技巧e it make sense because i use ui:include)

Cheers


Try this.

<ui:include src="#{bean.value}/default/#{bean.value}.xhtml" />
0

精彩评论

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