No it is not possible to have one component instance included twice. This would mean a problem with determining what the parent is of the component, and where Wicket would attach the component in the final markup. This would also mean duplicating the exact markup.
IIRC, when you create two paging navigators to the same IPageable, they display exactly the same, only the links will have different URL's (as they are different components). This will mean that one link will look like it's been visited, while the other will look like it hasn't been visited. Martijn On 6/26/06, Stephane Bailliez <[EMAIL PROTECTED]> wrote: > > Is it possible to have multiple rendering of the same component per page > with the same wicket:id ? > > It does not look so as it complains that "xxx has the same wicket:id as > another component already added at the same level" > > The idea was to wrap a table around a header and footer navigator and as > this is the same component with same state and only a presentation > issue, it does not seem necessary: > > <span wicket:id="navigator"/> > ... table ... > <span wicket:id="navigator"/> > > Cheers, > > Stephane > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > -- Download Wicket 1.2 now! Write Ajax applications without touching JavaScript! -- http://wicketframework.org Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
