Because it is imperative in many ways that the component knows it's own ID. Look through the code to see how many times it uses it's ID.
Hope this helps. -- Jeremy Thomerson http://www.wickettraining.com On Thu, Jan 15, 2009 at 9:40 PM, Anton Veretennikov < [email protected]> wrote: > Hello all wicket users! > > Does anybody know why id is added to component, not to list of children, > like: > > add("someId", childComponent); > > Thank you very much. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
