Scenario:
I am using displaytag within a form.
Each row displays item data and a "delete"
button.
When the user submits the form using such a
button,
the page gets re-displayed and the
corresponding
row is marked as deleted.
Issue:
Now, since the list of items can be long, I'm
using
paging... When viewing page n and
after submitting the form,the table jumps back to page 1, because the
current
page number isn't sent with the
form.
Solution:
The solution would be to access the
display-tag
parameters and to add them as hidden
parameters
to the form.
This could be done - for example - by a
nested
tag, if a map holding the parameters were
made
availabe by TableTag. This map should
contain
only the d-xxxx-y parameters added by
display-tag,
not the copied request parameters.
Of cause, a similar problem exists for
links.
Have their been any thoughts on this?
Would it be
possible to add a
puplic Map getDisplayParameters()
{...}
method to TableTag?
|