I used struts with display tag and this is how I did:

- the display tag will use the data in the request.

- use the requestURI attribute of the display:table tag so that whenever we go 
to a page we will go to our action first. I call this action Action A.

- In the Action A we can tell which page we are going to, which sorting 
direction we use and which column we need to sort by looking at the request 
parameters. The request parameter ending wth -s will tell the sort column name, 
-o: orientation and -p: page. Then we know which data the display tag need. So, 
prepare the request with the needed data.

I know that my explanation is not very clear, but I have to go now so I hope 
you understand what I want to say.

>>> [EMAIL PROTECTED] 10/9/2005 9:36:29 PM >>>
I am fairly new to display tag and I am confused how to implement partial
lists.
I understand partialList="true" size="resultSize" but am unclear how I can
hook
display tags pagination calls into my model beans for retrieving additional
records.
Can someone provide me with some simple sample code on how to have display
tag make these
calls to my model beans?

I think it would be beneficial to included detailed documentation on this in
the display
tag docs and I would be happy to assist with this once I understand how this
is accomplished.

Any help would be appreciated.

Cheers,
Jeff





-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl 
_______________________________________________
displaytag-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/displaytag-user



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to