myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <>
Subject Re: Update model values is executed without a proper h:form element
Date Mon, 21 Apr 2008 16:38:11 GMT
The form just produces an HTML form. All UIComponents in the tree are
decoded, validated and updated per the specification. I believe that
the core input* and select* controls do not update if the
submittedValue for an EditableValueHolder is null. Therefore, you
should check to see what form values are being sent to the server and
if need be, check the decoding of the components to see if they are
getting a null or non-null value.


On Mon, Apr 21, 2008 at 5:21 AM, Oliver Becker <> wrote:
> Hi MyFaces implementors,
>  we've just encountered the following behaviour in MyFaces 1.1.5:
>  Normally the update model value phase will be executed for those input
> components only that are children (or descendants) of the submitted form.
> However, if you place such an element (for example h:inputText) outside of
> an h:form or accidentally inside a pure HTML form then the model values will
> be updated even though no active submitted form is present for these
> elements.
>  I suppose that this is rather a bug than a feature.
>  Cheers,
>  Oliver

View raw message