This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "how to create dynamice include" Watch "how to create dynamice include" New topic
Author

how to create dynamice include

john smiths
Greenhorn

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to create dynamice include
 
Similar Threads
problems with <f:subview>
Request/Translation time confusion
SCWCD@WHiz Include question confusion
what is the diference...
Can't render custom facelet component in IceFaces