my dog learned polymorphism
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


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Dynamic content in JSF pages..." Watch "Dynamic content in JSF pages..." New topic
Author

Dynamic content in JSF pages...

Cristian Jansenson
Greenhorn

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,

Cristian
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Dynamic content in JSF pages...
 
It's not a secret anymore!