empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r1382789 - /empire-db/trunk/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java
Date Mon, 10 Sep 2012 12:16:02 GMT
Author: doebele
Date: Mon Sep 10 12:16:02 2012
New Revision: 1382789

URL: http://svn.apache.org/viewvc?rev=1382789&view=rev
Log:
EMPIREDB-157 
JSF2 bugfix input tag: refresh record from recordTag

Modified:
    empire-db/trunk/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java

Modified: empire-db/trunk/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java
URL: http://svn.apache.org/viewvc/empire-db/trunk/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java?rev=1382789&r1=1382788&r2=1382789&view=diff
==============================================================================
--- empire-db/trunk/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java
(original)
+++ empire-db/trunk/empire-db-jsf2/src/main/java/org/apache/empire/jsf2/utils/TagEncodingHelper.java
Mon Sep 10 12:16:02 2012
@@ -465,8 +465,11 @@ public class TagEncodingHelper implement
             }    
         }
         else 
-        {   // Invalidate if not an instance of Record
-            if (!(this.record instanceof Record))
+        {   // Do we have a record-tag?
+            if (recordTag!=null)
+                record = recordTag.getRecord();
+            // Invalidate if not an instance of Record
+            else if (!(this.record instanceof Record))
                 this.record = null;
         }
     }



Mime
View raw message