Alexandre Poitras wrote:
I would use Shale-Clay for that. It allows you to define a *place
holder* component in a jsf view tree and define your components at run
time.
Take a look at the rolodex use case. It use a shapeValidator method,
wich allows you to create a view at runtime programmatically.
Hope it helps!
No need for shale clay in this case, just add a placeholder in the page
(a facet or a panelGroup are perfect) do a binding var on it
into the backend bean
and then add the elements as child elements into the placeholder.
JSF has all the APIs in place to do that.