Author: jdonnerstag Date: Sun Nov 7 13:01:24 2010 New Revision: 1032269 URL: http://svn.apache.org/viewvc?rev=1032269&view=rev Log: fixed Autolink already rendered problem Issue: WICKET-3150
Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/parser/filter/WicketLinkTagHandler.java Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/parser/filter/WicketLinkTagHandler.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/parser/filter/WicketLinkTagHandler.java?rev=1032269&r1=1032268&r2=1032269&view=diff ============================================================================== --- wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/parser/filter/WicketLinkTagHandler.java (original) +++ wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/parser/filter/WicketLinkTagHandler.java Sun Nov 7 13:01:24 2010 @@ -213,7 +213,7 @@ public class WicketLinkTagHandler extend WicketTag wtag = (WicketTag)tag; if (wtag.isLinkTag() && (wtag.getNamespace() != null)) { - final String id = tag.getId() + container.getPage().getAutoIndex(); + String id = tag.getId() + "-" + container.getPage().getAutoIndex(); tag.setId(id); return new TransparentWebMarkupContainer(id);