This is true. There must be a 1:1 relationsship between markup and component. Simply define multiple ids like topPageLink1, topPageLink2 etc and corresponding components.
Juergen On 2/7/06, David Leangen <[EMAIL PROTECTED]> wrote: > > I think I noticed another difference between 1.1 and 1.2 (unless I was > doing something strange, which is also a definite possibility...). > > This is an example of what I'm doing for links: > > <a wicket:id="topPageLink"> > > add( new BookmarkablePageLink( "topPageLink", SomePage.class ) > > > Before, I would have several components with id "topPageLink". In other > words, I would declare the link component once, but have it rendered > multiple times in difference locations in a same page. This caused me no > problems. > > Now, however, I get the following error: > > wicket.markup.MarkupException: The markup file must not contain the same > wicket:id at the same level: topPageLink > > > I can only assume that this approach is no longer possible. So, what is > the strategy for rendering a link in multiple locations in a Page? > > > Thanks! > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
