This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSF and the fly likes Add components to a composite component at runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Add components to a composite component at runtime" Watch "Add components to a composite component at runtime" New topic
Author

Add components to a composite component at runtime

Michael Gor
Greenhorn

Joined: Oct 07, 2011
Posts: 8
I have a composite component, which is quite empty for the moment:



Now I want to insert some components I´ve writte the following test code:



I would expect an html input to be rendered after the string Test, but nothing happens. How is it meant to be done?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Add components to a composite component at runtime
 
Similar Threads
Managed Bean as parameter in Composite Component
Mystified by JSF 2 composition components
set value in a composite component
composite component not working
cc:insertChildren only works once