fireapple escribió:
Here's my situation:

I used a displaytag to show a table as an ajax result. It works fine.

However, when I click "sort" or go to different page, it opens a new page
with only the displaytag table. I saw something online that there's ajaxTags
or ajaxAnywhere, but it seems they're both not good.

Is JQuery a good solution for this issue? I found this:
http://vijay360.wordpress.com/2008/03/12/displaytag-jquery-displaytagajaxed/

<display:table name="sessionScope.group_query_list"
requestURI="group_queryGroups.do" pagesize="20">

Well, it depends of the display table's configuration. In display table tag you can set the request uri to get the list that fills the table when you sort column or navigate with pagination. I don't know if you set the display table inside a ajax refresh div or something like that, if that's the case i think that requestUri of your display table must target to action method that gets you to the page, not the method that is called via ajax.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to