Ok, found it. Will fix it in cvs now. Juergen
On 11/19/05, Arto Arffman <[EMAIL PROTECTED]> wrote: > Me neither :) > > But it is very easy to repeat with navomatic example. Here's diff: > Index: NavomaticBorder.html > =================================================================== > RCS file: > /cvsroot/wicket/wicket-examples/src/java/wicket/examples/navomatic/NavomaticBorder.html,v > retrieving revision 1.12 > diff -u -r1.12 NavomaticBorder.html > --- NavomaticBorder.html 24 Mar 2005 08:02:07 -0000 1.12 > +++ NavomaticBorder.html 19 Nov 2005 15:57:15 -0000 > @@ -15,7 +15,24 @@ > <wicket:link> > <a href = "Page1.html">Page1</a><br/> > <a href = "Page2.html">Page2</a><br/> > - <a href = " Page3.html">Page3</a> > + <a href = "Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > + <a href = " Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > + <a href = " Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > + <a href = " Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > + <a href = "Page2.html">Page2</a><br/> > </wicket:link> > </p> > </div> > > Now, click "Page 2" and voila. > > 2005/11/19, Juergen Donnerstag <[EMAIL PROTECTED]>: > > > > autoAdd components like AutoLink are removed from the component > > hierachie at the end of the render cycle. Hence, they can not be found > > during the second render. Which makes me wonder, how/why you get the > > exception. But may be I misunderstand you comment. > > > > > When this is done second time id will contain already handled id, e.g > > > _autolink_1 and a new number is appended. > > > > appended to _autolink_, not to _autolink_1, correct? > > > > > And when there are more than 9 links inside one <wicket:link> there will > > > be an error like: The markup file must not contain the same wicket:id at > > > the same level: _autolink_11 > > > > you mean "_autolink_1" + "1"? > > > > > I think it would be more efficient to create the link components only > once. > > > > That is true, but not possible with autoAdd components. Unfortunately > > you have wait until we separated the build and render phase. But that > > is scheduled for Wicket 2 because of the large amount of changes > > required. > > > > Not sure I already understand why you get "The markup file must not > > contain the same wicket:id at the same level: _autolink_11" > > > > Juergen > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > > Register for a JBoss Training Course. Free Certification Exam > > for All Training Attendees Through End of 2005. For more info visit: > > http://ads.osdn.com/?ad_idv28&alloc_id845&opclick > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user