File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Dynamic content in JSF pages... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Dynamic content in JSF pages..." Watch "Dynamic content in JSF pages..." New topic

Dynamic content in JSF pages...

Cristian Jansenson

Joined: Mar 03, 2008
Posts: 1
I need something very similar to the facelets tag <ui:include src="dynamic.xhtml">. The difference is that the content to include will change at runtime, so I would like to be more dynamic like this:

<ui:include> #{xhtmlGenerator.getXHTML()} </ui:include>

xhtmlGenerator.getXHTML() returns an xhtml excerpt such as

<hutputText value="Hello JavaRanch!" />

Is there a way to do this? Thanks,

I agree. Here's the link:
subject: Dynamic content in JSF pages...
It's not a secret anymore!