quinquin2209 wrote:
In main.jsp, I have a tabbed panel which has a remote tag loading an external
page memberList.jsp. This memberList.jsp contains a display tag which is
used for sorting and pagination.
Now I encounter problem when I press on the display tag to do
sorting/pagination. Every time I click on the hyperlink, it will redirect me
from main.jsp to memberList.jsp. In fact, I want to stay in main.jsp with
the display tag loaded to the tabbed panel. And I don't want the whole
main.jsp to refresh but only the div loading the display tag refresh (like
the remote link example in struts2 showcase).
Any hint on how can i do it?
Queenie
Have you set the requestURI attribute of the table tag to "" (blank)?
eg. <display:table requestURI="" ... >
While I'm typing the displaytag site is down so I can't give a
reference, but the default URL that displaytag uses for sorting is not
valid within a struts result as it uses the JSP path instead of the
action url. Setting requestURI to blank fixes this. The explanation is
somewhere at http://displaytag.sourceforge.net/1.1/
See this related message:
http://www.nabble.com/DisplayTag---How-to-do-sort--to14165999.html
It is possible to use display:table within remote divs with sorting.
regards,
Jeromy Evans
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]