Thank you Simon,

I'll remove all my ugly code with id construction :-).

Regards,
Zied


2007/12/17, simon <[EMAIL PROTECTED]>:
>
>
> On Mon, 2007-12-17 at 12:29 +0100, Zied Hamdi wrote:
> > Hi,
> >
> > I have a problem with reusability of components: I have many jsf
> > template pages that I use everywhere throughout my app. The problem is
> > that when I define explicitely the ids of my UIComps, name collisions
> > occur.
> >
> > The question is: is there a way to define a sort of "namespace
> > component holder"
>
> Yes, it's called f:subview. Just wrap that around every include
> statement.
>
> Interestingly, I thought that facelets did this automatically, and that
> f:subview was only needed for jsp includes. But obviously I'm wrong..
>
> Regards,
>
> Simon
>
>


-- 
Zied Hamdi
zatreex.sourceforge.net

Reply via email to