You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by eh...@apache.org on 2007/10/24 00:25:39 UTC
svn commit: r587679 -
/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/BorderBodyResolver.java
Author: ehillenius
Date: Tue Oct 23 15:25:33 2007
New Revision: 587679
URL: http://svn.apache.org/viewvc?rev=587679&view=rev
Log:
extended the warning message of border body resolver
Modified:
wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/BorderBodyResolver.java
Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/BorderBodyResolver.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/BorderBodyResolver.java?rev=587679&r1=587678&r2=587679&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/BorderBodyResolver.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/resolver/BorderBodyResolver.java Tue Oct 23 15:25:33 2007
@@ -83,10 +83,15 @@
{
component.render(markupStream);
- log
- .warn("Please consider to change your java code to something like: " +
- container.getId() +
- ".add(getBodyContainer()); for the component hierarchy to better reflect the markup hierarchy.");
+ log.warn("Please consider to change your java code to " +
+ "something like: " + container.getId() +
+ ".add(getBodyContainer()); for the component hierarchy to " +
+ "better reflect the markup hierarchy. For example, say that " +
+ "you have a border class in which you do: " +
+ "\'WebMarkupContainer div = new " +
+ "WebMarkupContainer(\"roundDiv\"); add(div);\' you should " +
+ "now do \'add(div); div.add(getBodyContainer());\'. " +
+ "Please fix this before Wicket 1.4");
}
return true;