What do you mean submit methods are empty? You form or button submit?
It doesnt matter if there is an impl or not, when those methods are
called the model(s) have there new value so that you can do save() of
that object in the submit method.

If submit isnt called then conversion or validation has failed.

If you detect an error in the submit then you just have to report that
to the user and 'throw away' that object (detach)

Johan

On 8/15/08, puschteblume <[EMAIL PROTECTED]> wrote:
> I have a DataTable in a Panel which creates a Subpanel by an AjaxRequest
> with a form in it. The form shows the double-clicked entry of a
> DataTable's row, where the objects parameters can be changed by pressing
> the save button. The form is constructed by a CompoundPropertyModel.
>
> And now comes the magic I don't understand: If I press the "save" button
> the object in the table will immediately updated although the submit
> methods are empty.
>
> How does this behavior work? How can I interupt this update if I have a
> problem on the backend?
>
> Heiko
>
> ---------------------------------------------------------------------
> 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