You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Broekelmann, Mathias" <MB...@PSI.DE> on 2005/07/07 13:03:06 UTC

Why is immediate=true default for HtmlCommandSortHeader

Hi,

Does anyone know why the immediate flag defaults to true for the
sortheader component? IMO we should use the usual default false for the
immediate attribute. 

Mathias

Re: Why is immediate=true default for HtmlCommandSortHeader

Posted by Manfred Geiler <ma...@gmail.com>.
Hmm, quite a long time ago...

One thing I have in mind is this:
For simple tables (without input components) the validation, model
update and so on is not necessary. And even for complex tables it is
the question if it is desireable by default to do those things and
display error messages if the user only wanted to resort the table.
i.e. He just wants to change his view. A user clicking on a sort
header does not normally have the intention to submit his entries.

WDYT?

-Manfred


2005/7/7, Broekelmann, Mathias <MB...@psi.de>:
> Hi,
> 
> Does anyone know why the immediate flag defaults to true for the
> sortheader component? IMO we should use the usual default false for the
> immediate attribute.
> 
> Mathias
>