Author: ivaynberg
Date: Sun Feb  1 18:31:52 2009
New Revision: 739808

URL: http://svn.apache.org/viewvc?rev=739808&view=rev
Log:
WICKET-2037

Modified:
    
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java

Modified: 
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java
URL: 
http://svn.apache.org/viewvc/wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java?rev=739808&r1=739807&r2=739808&view=diff
==============================================================================
--- 
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java
 (original)
+++ 
wicket/branches/wicket-1.3.x/jdk-1.4/wicket/src/main/java/org/apache/wicket/Page.java
 Sun Feb  1 18:31:52 2009
@@ -433,7 +433,8 @@
         * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL.
         * 
         * This method is called when a component was rendered standalone. If 
it is a <code>
-        * MarkupContainer</code> then the rendering for that container is 
checked.
+        * MarkupContainer</code>
+        * then the rendering for that container is checked.
         * 
         * @param component
         * 
@@ -764,6 +765,13 @@
                        return false;
                }
 
+               if (stateless == null)
+               {
+                       if (isStateless() == false)
+                       {
+                               stateless = Boolean.FALSE;
+                       }
+               }
 
                if (stateless == null)
                {


Reply via email to