You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by or...@apache.org on 2005/09/03 00:55:49 UTC
svn commit: r267343 -
/myfaces/api/trunk/src/java/javax/faces/component/UIForm.java
Author: oros
Date: Fri Sep 2 15:55:22 2005
New Revision: 267343
URL: http://svn.apache.org/viewcvs?rev=267343&view=rev
Log:
execute special repeated decode call in processValidators/processUpdates only if isSubmitted is not true already
Modified:
myfaces/api/trunk/src/java/javax/faces/component/UIForm.java
Modified: myfaces/api/trunk/src/java/javax/faces/component/UIForm.java
URL: http://svn.apache.org/viewcvs/myfaces/api/trunk/src/java/javax/faces/component/UIForm.java?rev=267343&r1=267342&r2=267343&view=diff
==============================================================================
--- myfaces/api/trunk/src/java/javax/faces/component/UIForm.java (original)
+++ myfaces/api/trunk/src/java/javax/faces/component/UIForm.java Fri Sep 2 15:55:22 2005
@@ -58,7 +58,9 @@
// SF issue #1050022: a form used within a datatable will loose it's submitted state
// as UIForm is no EditableValueHolder and therefore it's state is not saved/restored by UIData
// to restore the submitted state we call decode here again
- decode(context);
+ if (!isSubmitted()) {
+ decode(context);
+ }
if (!isSubmitted()) return;
for (Iterator it = getFacetsAndChildren(); it.hasNext(); )
{
@@ -73,7 +75,9 @@
// SF issue #1050022: a form used within a datatable will loose it's submitted state
// as UIForm is no EditableValueHolder and therefore it's state is not saved/restored by UIData
// to restore the submitted state we call decode here again
- decode(context);
+ if (!isSubmitted()) {
+ decode(context);
+ }
if (!isSubmitted()) return;
for (Iterator it = getFacetsAndChildren(); it.hasNext(); )
{