tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mindbri...@apache.org
Subject svn commit: r279483 - /jakarta/tapestry/trunk/framework/src/java/org/apache/tapestry/components/ForBean.java
Date Thu, 08 Sep 2005 02:01:34 GMT
Author: mindbridge
Date: Wed Sep  7 19:01:30 2005
New Revision: 279483

URL: http://svn.apache.org/viewcvs?rev=279483&view=rev
Log:
Adding a null verification in case there are no hidden fields.

Modified:
    jakarta/tapestry/trunk/framework/src/java/org/apache/tapestry/components/ForBean.java

Modified: jakarta/tapestry/trunk/framework/src/java/org/apache/tapestry/components/ForBean.java
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/framework/src/java/org/apache/tapestry/components/ForBean.java?rev=279483&r1=279482&r2=279483&view=diff
==============================================================================
--- jakarta/tapestry/trunk/framework/src/java/org/apache/tapestry/components/ForBean.java
(original)
+++ jakarta/tapestry/trunk/framework/src/java/org/apache/tapestry/components/ForBean.java
Wed Sep  7 19:01:30 2005
@@ -257,6 +257,8 @@
     protected Iterator getStoredData(IRequestCycle cycle, String name)
     {
         String[] stringReps = cycle.getParameters(name);
+        if (stringReps == null)
+        	return null;
         
         updatePrimaryKeysParameter(stringReps);
         



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message