Updated Branches:
  refs/heads/master 54410799a -> 596b3d24b

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/596b3d24
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/596b3d24
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/596b3d24

Branch: refs/heads/master
Commit: 596b3d24b9fcc9304c5c7f909603a4771e2871e2
Parents: 5441079
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:02:33 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/596b3d24/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 1a8638f..7992230 100644
--- a/wicket-core/src/main/java/org/apache/wicket/Page.java
+++ b/wicket-core/src/main/java/org/apache/wicket/Page.java
@@ -662,7 +662,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