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! On 12/28/05, Werner Punz <[EMAIL PROTECTED]> wrote: > Matthias Kahlau wrote: > > Hi all! > > > > > > I have a use case which demands some JSF pages to be created on the fly. Can > > you share experiences and thoughts about this use case? > > > > I can imagine two different solutions: > > > > 1) Writing the hole JSF pages from scratch by using the Servlet API. Not > > really satisfying, I think - bad to maintain etc. > > > > 2) Creating the JSF pages by using fragments of partial pages and JSF EL, > > JSTL or some other utilities to dynamically create the components of the > > pages dependent on some parameters. > > > > > > I already read that creating components in JSTL loops isn't possible, > > because the JSF components to render have to be known before the JSTL is > > executed. > > > Easier... > do a blank page, write a backend bean, and do the rendering on code > level there. > JSF has a full blown component tree facility, which allows such things. > > -- Alexandre Poitras Québec, Canada

