On 12/1/05, Mathias Brökelmann <[EMAIL PROTECTED]> wrote:
> @Manfred I see the problem but I don`t think that this can be solved
> by jsf and myfaces. I try to explain why:
>
> Let us take your example. What happens if the user enters some values
> into the input form but don´t submit it and additionally enters
> something into the online help form and submits the online help form.
> The values of the input form are lost anyway (regardless if we try to
> save them) if the user has not submitted these values before
> submitting the online help form. We wouldn't solve this if we save the
> submitted value in the view state.

True, it only fixes half the problem.

> IMO the users who have such a page should simply but both the input
> form an the online help form into a single form. That's more a problem
> if they use includes for the online help section and have a form in
> this include. But why not having a single form for the entire page?

In general, users should use a single form for the entire page.  The
biggest problem that results is that there's no way to have separate
validation blocks within a page.  ADF Faces has a subform component
that adds that capability within a single form.

Many users are, unfortunately, stuck in an old HTML mindset and
are unwilling to use single forms for the entire page.

-- Adam

Reply via email to