You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2017/06/26 12:41:20 UTC
svn commit: r1799896 -
/myfaces/trinidad/branches/trinidad-2.1.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java
Author: bommel
Date: Mon Jun 26 12:41:19 2017
New Revision: 1799896
URL: http://svn.apache.org/viewvc?rev=1799896&view=rev
Log:
(TRINIDAD-2556)
processValidators|Decodes|Updates doesn't support component expression in rendered attribute
Modified:
myfaces/trinidad/branches/trinidad-2.1.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java
Modified: myfaces/trinidad/branches/trinidad-2.1.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-2.1.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java?rev=1799896&r1=1799895&r2=1799896&view=diff
==============================================================================
--- myfaces/trinidad/branches/trinidad-2.1.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java (original)
+++ myfaces/trinidad/branches/trinidad-2.1.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXComponentBase.java Mon Jun 26 12:41:19 2017
@@ -1269,15 +1269,15 @@ abstract public class UIXComponentBase e
if (context == null)
throw new NullPointerException();
- if (!isRendered())
- return;
-
RequestContext requestContext = RequestContext.getCurrentInstance();
requestContext.pushCurrentComponent(context, this);
pushComponentToEL(context, this);
try
{
+ if (!isRendered())
+ return;
+
// Process all facets and children of this component
decodeChildren(context);
@@ -1300,15 +1300,16 @@ abstract public class UIXComponentBase e
if (context == null)
throw new NullPointerException();
- if (!isRendered())
- return;
-
RequestContext requestContext = RequestContext.getCurrentInstance();
requestContext.pushCurrentComponent(context, this);
pushComponentToEL(context, this);
try
{
+
+ if (!isRendered())
+ return;
+
// Process all facets and children of this component
validateChildren(context);
}
@@ -1325,15 +1326,15 @@ abstract public class UIXComponentBase e
if (context == null)
throw new NullPointerException();
- if (!isRendered())
- return;
-
RequestContext requestContext = RequestContext.getCurrentInstance();
requestContext.pushCurrentComponent(context, this);
pushComponentToEL(context, this);
try
{
+ if (!isRendered())
+ return;
+
// Process all facets and children of this component
updateChildren(context);
}