|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
limiting records for display
Hi,
I am sending as a parameter a string of comma separated values... On the receiving page I split the string and display a huge document based on every value.... What I need to achieve is display the document corresponding only the first value, Then click on a next button to display the document corresponding only the Secong value and so on....... can anyone pl help me out on this??? TIA, sands |
|
#2
|
|||
|
|||
|
Easy,
The way I'd do it is to pass another variable (which defaults to zero, so you can start at the begining), then pass the CSV string and the count through as hidden parameters each time you click next. Then you can do and indexOf(",") and substring it recursively based on the counter variable, to get the relevant value for that page. Doing it this way means you can also do a Previous button. Oscagne |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > limiting records for display |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|