Updated Branches:
  refs/heads/wicket-1.5.x 9376af3b5 -> dfc6a9e4f

WICKET-4615 checkRendering message should also mention XHTML tags as a possible 
cause


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/dfc6a9e4
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/dfc6a9e4
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/dfc6a9e4

Branch: refs/heads/wicket-1.5.x
Commit: dfc6a9e4fde6773efd03cbe28ce9423d5159f325
Parents: 9376af3
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Tue Jun 26 14:02:33 2012 +0300
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Tue Jun 26 14:03:17 2012 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/wicket/Page.java      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/dfc6a9e4/wicket-core/src/main/java/org/apache/wicket/Page.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/Page.java 
b/wicket-core/src/main/java/org/apache/wicket/Page.java
index bd28823..8a6a65b 100644
--- a/wicket-core/src/main/java/org/apache/wicket/Page.java
+++ b/wicket-core/src/main/java/org/apache/wicket/Page.java
@@ -688,7 +688,7 @@ public abstract class Page extends MarkupContainer 
implements IRedirectListener,
                                {
                                        // Throw exception
                                        throw new WicketRuntimeException(
-                                               "The component(s) below failed 
to render. A common problem is that you have added a component in code but 
forgot to reference it in the markup (thus the component will never be 
rendered).\n\n" +
+                                               "The component(s) below failed 
to render. Possible reasons could be that: 1) you have added a component in 
code but forgot to reference it in the markup (thus the component will never be 
rendered), 2) if your components were added in a parent container then make 
sure the markup for the child container includes them in <wicket:extend>.\n\n" +
                                                        buffer.toString());
                                }
                        }

Reply via email to