What you're describing isn't really a nested component. Rather a collection of components.
Have you considered simply using the @For component to render all 3 (or n) of your phone number objects? > On 3/10/06, John Menke <[EMAIL PROTECTED]> wrote: > > > > I want to write a "Phone" component that allows me to define 3 text > input > > boxes contained inside it: > > > > My question is: How can can i bind/retrieve the values in my containing > > page and how do I avoid name conflicts if i have more than 1 Phone > > component > > on the containing page? > > > > Phone.html > > > > <html> > > > > <body jwcid="$content$"> > > > > <input jwcid="phone1" name="phone1" tabindex="80" size="3" maxlength="3" > > displayName="Day Phone"/> - > > > > <input jwcid="phone2" name="dayphone2" type="text" id="dayphone2ID" > > tabindex > > ="90" size="3" maxlength="3" displayName="Day Phone" /> - > > > > <input jwcid="phone3" name="dayphone3" type="text" id="dayphone3ID" > > tabindex > > ="95" size="4" maxlength="4" displayName="Day Phone" /> > > > > </body> > > > > </html> > > > > Phone.jwc > > > > > > <component-specification allow-body="no"> > > > > <component id="phone1" type="TextField"> > > <binding name="value" value="phone1"/> > > </component> > > <component id="phone2" type="TextField"> > > <binding name="value" value="phone2"/> > > </component> > > <component id="phone3" type="TextField"> > > <binding name="value" value="phone3"/> > > </component> > > </component-specification> > > > > ** > > > > -jm > > > > > >