Scooby,
Can you plz elaborate on how one can display the results of a service over several pages by filtering them within the DSP. I understand the use of ifvar, but where would you hold the results that are yet to be displayed. That could be something very useful.
Saritha,
From what I could think - in order to split the results returned by a service and display only a fixed number at a time, you could create multiple DIVs in your output template/DSP, such that each DIV contains that fixed number of results. Then use the “Next” or numbered links to hide the current and display the next div. Not a very nice way of doing it - as your DSP could get heavy if the result set is large (which it probably is - requiring you to display results over multiple pages), but it gets the job done.
Another way seemingly possible is to design your service in such a way, so that it returns you only a set of results at a time. This way, in each call to your service, you may pass some parameters from your DSP that tell the service which set of results to get next. Using tn.query:documentQuery allows you to use enumeration. Though I haven’t used the enumeration (disablePaging=false), but believe it allows you to take the id of the enumeration and loop over it multiple times - each time, returning a set of results.
HTH, Rohit
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods