I am using DisplayTag to display a table which contains some editable
fields.  My DisplayTag table is wrapped in a form.  When a user chooses
to page the results or sort the results, I would also like to submit the
form.

I have looked the mailing list and found some vaugue references but most
of the links provided in the responses no longer work.  I have also seen
plenty of comments on almost each every question of this kind on how
this is not a good UI practice.  Understood, so please spare those
emails.  

I am sure and have seen that others have supposedly done this.  However,
I have not really seen much detail on how.  I would like to hear how
people have been accomplishing this.

My current plan is to use the fact that when display tag locates a "#"
in the requestURI, it places the query string when building the paging
and sorting linksbefore the "#".  So I was thinking of using a
requestURI that calles a javascript function.  Something like:
javascript:myFunction('#');  which would then become something like :
javascript:myFunction('?page=2#');  I can then parse the string for the
query parameters, set them in the form and submit.  

This seems to work but I am ghaving some difficulty with sorting.  For
some reason, DisplayTag is only adding the page parameter and not the
sorting parameters when I do it this way.

Thanks in advance,
Ken





-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.  
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to