You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jc...@apache.org on 2007/10/30 11:12:36 UTC

svn commit: r590018 - /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/resource/LocalizedImageResource.java

Author: jcompagner
Date: Tue Oct 30 03:12:35 2007
New Revision: 590018

URL: http://svn.apache.org/viewvc?rev=590018&view=rev
Log:
object should be stateless if it has a resource reference because then an url to the shared resources is generated

Modified:
    wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/resource/LocalizedImageResource.java

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/resource/LocalizedImageResource.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/resource/LocalizedImageResource.java?rev=590018&r1=590017&r2=590018&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/resource/LocalizedImageResource.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/image/resource/LocalizedImageResource.java Tue Oct 30 03:12:35 2007
@@ -217,7 +217,7 @@
 	 */
 	public final boolean isStateless()
 	{
-		return resource == null;
+		return resourceReference != null;
 	}
 
 	/**