myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Werner Punz <we...@gmx.at>
Subject Re: How to create JSF pages on the fly?
Date Wed, 28 Dec 2005 23:52:22 GMT
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.


Mime
View raw message