Author: manaRH
Date: 2010-09-02 04:22:41 -0400 (Thu, 02 Sep 2010)
New Revision: 13698
Modified:
branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui/component/UIFileUpload.java
Log:
JBSEAM-4690 - stop processing updates if UIFileUpload is not rendered
Modified:
branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui/component/UIFileUpload.java
===================================================================
---
branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui/component/UIFileUpload.java 2010-09-02
07:34:21 UTC (rev 13697)
+++
branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui/component/UIFileUpload.java 2010-09-02
08:22:41 UTC (rev 13698)
@@ -27,6 +27,13 @@
@Override
public void processUpdates(FacesContext context)
{
+
+ // Skip processing if rendered flag is false.
+ // this logic is in javax.faces.component.UIInput.processUpdates(FacesContext
context)
+ if (!isRendered()) {
+ return;
+ }
+
ValueExpression dataBinding = getValueExpression("data");
if (dataBinding != null)
{
Show replies by date