You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2011/10/03 15:09:33 UTC
svn commit: r1178405 -
/myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIInput.java
Author: lu4242
Date: Mon Oct 3 13:09:32 2011
New Revision: 1178405
URL: http://svn.apache.org/viewvc?rev=1178405&view=rev
Log:
MYFACES-3341 Call to getClientId() on UIInput._createFieldDebugInfo on jsp cause invalid client to be assigned on development project stage
Modified:
myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIInput.java
Modified: myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIInput.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIInput.java?rev=1178405&r1=1178404&r2=1178405&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIInput.java (original)
+++ myfaces/core/branches/2.0.x/api/src/main/java/javax/faces/component/UIInput.java Mon Oct 3 13:09:32 2011
@@ -1116,6 +1116,12 @@ public class UIInput extends UIOutput im
return;
}
+ if (getParent() == null || !isInView())
+ {
+ //Skip if no parent or is not in view
+ return;
+ }
+
// convert Array values into a more readable format
if (oldValue != null && oldValue.getClass().isArray() && Object[].class.isAssignableFrom(oldValue.getClass()))
{