Well, now we are at an interesting point: I simply don't know - it's
long ago  ;-)
I would suppose, that you won't loose values when using
"preserveDataModel" but I'm not really sure.

-Manfred


2005/7/7, Sean Schofield <[EMAIL PROTECTED]>:
> Well I'm not an expert on the sort header (or JSF lifecylce) but won't
> the submitted value be lost when you change the values of the inputs
> after the sort?
> 
> sean
> 
> On 7/7/05, Manfred Geiler <[EMAIL PROTECTED]> wrote:
> > > There is a tradeoff here but in the end its an easy one.  One the one
> > > hand, as Manfred points out, you will get potential validation errors
> > > when sorting, on the other hand your data is lost!  So in the end its
> > > not much of a tradeoff.  The model needs to be updated before you
> > > change the view or the data is lost (and that's definitely not what
> > > the user wants or expects.)
> >
> > No, the data is not lost at all: Each component has a submittedValue
> > that is part of the state saving. The submittedValue is only cleared
> > on a successful model update. So if no model update phase is executed,
> > you won't loose inputs.
> >
> > -Manfred
> >
>

Reply via email to