You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/06/15 16:38:16 UTC
[Myfaces Wiki] Trivial Update of "ClearInputComponents" by JeffBischoff
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.
The following page has been changed by JeffBischoff:
http://wiki.apache.org/myfaces/ClearInputComponents
------------------------------------------------------------------------------
}}}
This causes the current View tree to be discarded and a fresh one created. The new components of course then have no submitted values,
and so fetch their displayed values via their value-bindings.
+
+ In addition to immediate components, this method can be useful when working with multiple forms or subForms. [[BR]] Omit the last line "context.renderResponse()", when you don't want to skip the life-cycle phases.
=== Explicitly clear submitted value ===