there is ajaxformsubmitting behavior which will update the entire form

-igor

On Fri, Apr 23, 2010 at 8:01 AM, Joseph Pachod <[email protected]> wrote:
> hi
>
> I just stumbled upon that AjaxFormComponentUpdatingBehavior directly updates
> the backing model, providing the component validates itself.
>
> This was quite unexpected.
>
> Indeed, if I've two RequiredTextFields with one valid and the other not,
> submitting this form won't update the backing model(s). At the same time,
> though, all the user's inputs are properly kept and displayed.
>
> Is it possible to have a similar behavior using Ajax, like just updating the
> component inner data/model ?
>
> The use case for it is a ListView with reuseItems(true) which loses in
> transit state. In more details, it means the user writes something in one of
> the listitem's textfield, then click on "add new item" => I want the
> textfield's state to be known and preserved, whereas the whole form
> shouldn't be submitted yet.
>
> Thanks in advance
>
> best regards
> --
>
> Joseph Pachod
> IT
>
> THOMAS DAILY GmbH
> Adlerstraße 19
> 79098 Freiburg
> Deutschland
> T  + 49 761 3 85 59 506
> F  + 49 761 3 85 59 550
> E  [email protected]
> www.thomas-daily.de
>
> Geschäftsführer/Managing Directors:
> Wendy Thomas, Susanne Larbig
> Handelsregister Freiburg i.Br., HRB 3947
>
> Registrieren Sie sich unter www.signin.thomas-daily.de für die kostenfreien
> TD Morning News, eine  Auswahl aktueller Themen des Tages morgens um 9:00 in
> Ihrer Mailbox.
>
> Hinweis: Der Redaktionsschluss für unsere TD Morning News ist täglich um
> 8:30 Uhr. Es werden vorrangig Informationen berücksichtigt, die nach 16:00
> Uhr des Vortages eingegangen sind. Die Email-Adresse unserer Redaktion
> lautet [email protected].
>
> To receive the free TD News International - a selection of the day's top
> issues delivered to your mail box every day - please register at
> www.signin.thomas-daily.de
>
> Please note: Information received for our TD News International after 4 p.m.
> will be given priority for publication the following day. The daily
> editorial deadline is 8:30 a.m. You can reach our editorial staff at
> [email protected].
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to