Updated Branches:
  refs/heads/master 27e190d03 -> bfc1b6631

Improve exception message a bit.


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

Branch: refs/heads/master
Commit: bfc1b663174132314436b92530cb9b05cb2f7949
Parents: 27e190d
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Mon Mar 26 15:59:42 2012 +0200
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Mon Mar 26 15:59:42 2012 +0200

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


http://git-wip-us.apache.org/repos/asf/wicket/blob/bfc1b663/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java 
b/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java
index 9727ba6..de9f2d2 100644
--- a/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java
+++ b/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java
@@ -1414,7 +1414,7 @@ public abstract class MarkupContainer extends Component 
implements Iterable<Comp
                                                
markupStream.throwMarkupException("Failed to handle: " +
                                                        tag.toString() +
                                                        ". It might be that no 
resolver has been registered to handle this special tag. " +
-                                                       " But it also be that 
you declared wicket:id=" + id +
+                                                       " But it also could be 
that you declared wicket:id=" + id +
                                                        " in your markup, but 
that you either did not add the " +
                                                        "component to your page 
at all, or that the hierarchy does not match.");
                                        }

Reply via email to