Author: jcompagner
Date: Mon Aug 24 15:51:10 2009
New Revision: 807285

URL: http://svn.apache.org/viewvc?rev=807285&view=rev
Log:
dont generated illegal uuid when creating the header part

Modified:
    
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/ContainerWithAssociatedMarkupHelper.java

Modified: 
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/ContainerWithAssociatedMarkupHelper.java
URL: 
http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/ContainerWithAssociatedMarkupHelper.java?rev=807285&r1=807284&r2=807285&view=diff
==============================================================================
--- 
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/ContainerWithAssociatedMarkupHelper.java
 (original)
+++ 
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/ContainerWithAssociatedMarkupHelper.java
 Mon Aug 24 15:51:10 2009
@@ -150,9 +150,10 @@
                                // found <wicket:head>
                                // create a unique id for the 
HtmlHeaderContainer to be
                                // created
-                               final String headerId = "_" + 
Classes.simpleName(markupClass) +
-                                       (container.getVariation() == null ? "" 
: container.getVariation()) + "Header" +
-                                       index;
+                               final String headerId = "_" +
+                                       Classes.simpleName(markupClass) +
+                                       (container.getVariation() == null ? "" 
: container.getVariation().replace(':',
+                                               '_')) + "Header" + index;
 
                                // Create the header container and associate 
the markup with
                                // it


Reply via email to