jQuery in Action, 2nd edition*
The moose likes JSF and the fly likes how to create dynamice include Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "how to create dynamice include" Watch "how to create dynamice include" New topic

how to create dynamice include

john smiths

Joined: Feb 19, 2012
Posts: 3
Hi All:

I am using Icefaces 1.8.2 with JSF 1.1.
I can make the following include work:
<jsp:directive.include page="/test/contacts/testMain.jspx" />

However, I cannot make the following include work:
<jsp:directive.include page="#{sessionBean.tab.url}" />

I want the value to come from the bean "sessionBean.tab.url"

The only way I can make it work would be to convert the project to facelet and use this:
<ui:include src="#{sessionBean.tab.url}" />

I don't want to use facelet.
subject: how to create dynamice include
Similar Threads
Request/Translation time confusion
SCWCD@WHiz Include question confusion
what is the diference...
Can't render custom facelet component in IceFaces
problems with <f:subview>