You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2006/04/07 21:03:43 UTC
svn commit: r392366 -
/incubator/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java
Author: weber
Date: Fri Apr 7 12:03:42 2006
New Revision: 392366
URL: http://svn.apache.org/viewcvs?rev=392366&view=rev
Log:
processDecodes needs always done, even if no form found, otherwise submitted values are lost
Modified:
incubator/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java
Modified: incubator/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java?rev=392366&r1=392365&r2=392366&view=diff
==============================================================================
--- incubator/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java (original)
+++ incubator/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java Fri Apr 7 12:03:42 2006
@@ -179,21 +179,20 @@
}
}
+ Iterator kids = getFacetsAndChildren();
+ while (kids.hasNext()) {
+ UIComponent kid = (UIComponent) kids.next();
+ kid.processDecodes(facesContext);
+ }
+
if (form != null) {
form.setSubmitted(true);
-
- Iterator kids = getFacetsAndChildren();
- while (kids.hasNext()) {
- UIComponent kid = (UIComponent) kids.next();
- kid.processDecodes(facesContext);
- }
} else {
if (LOG.isDebugEnabled()) {
LOG.debug("No form found! Rerender the view.");
}
facesContext.renderResponse();
}
-
}
public List<KeyValue> getPostfields() {