[Seaside] Page with entry fields in a form and anchors
karsten at heeg.de
Wed Jul 30 14:25:32 UTC 2008
you might try to add a onClick: script to it, that triggers the forms.
This will submit the forms and should still call the callback. though
i'm not 100% sure if the submit button's callback will be executed as
well, but i somehow doubt it.
just try it out.
James Foster wrote:
> Say I have a page that has entry fields in a form (with a submit
> button) but also on the page is one or more anchors. The anchors are
> not really intended to abandon the page, but just to update the
> display in some way (like the column names in a WATableReport that
> sort the rows) or do a call/answer to collect some more data for the
> current page. The problem is that if the user clicks on a link the
> data is the form is not processed. I understand why it works this way,
> but from a usability point of view it is unexpected. Is there some way
> page check for any modified fields and take some action (like an
> auto-submit or a confirm dialog)?
> James Foster
> seaside mailing list
> seaside at lists.squeakfoundation.org
Karsten Kusche - Dipl.Inf. - karsten at heeg.de
Tel: +49 3496 21 43 29
Georg Heeg eK - Köthen
Handelsregister: Amtsgericht Dortmund A 12812
More information about the seaside