(Note: I'm assuming that you're using contrib:Table). Why not stick your
table inside the form? Do that, and if you're using tap3, change
contrib:Table to contrib:FormTable. If you're using tap4, no change
(other than putting the table in the form) is required; clicking the
links will submit the form.
Robert
Sam Gendler wrote:
It occurs to me that I can stick the values of the various form fields
in the user's session and then restore them before every request, but
that gets ugly as the number of different forms and number of fields
increases. So I'm really looking for an automatic way to cause the
page and sort links within a table to submit the form every time, but
also include the updated page number, sort field and sort direction,
so that the correct page will be shown when the form submission is
processed.
--sm
On 3/1/06, Sam Gendler <[EMAIL PROTECTED]> wrote:
I've got a form which causes a table to be rendered based on a sql
query that is built from the form fields. When I page through the
resulting table, I'd like the fields in the form to retain their
submitted value. Instead, after the first page, the go back to the
default values, since clicking on a page number isn't actually
submitting the form. There must be a fix for that, no?
--sam
---------------------------------------------------------------------
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]