1. Create a form and add an embedded view to the same
2. Now add a couple of buttons namely “<<Prev” and “Next>>”
3. Now add the following commands to these functions respectively,
a. @DbCommand( "Domino" ; "ViewPreviousPage" )
b. @DbCommand( "Domino" ; "ViewNextPage" )
4. Now preview the form on the browser and try playing with these buttons.
you will be able to see how the documents being listed in the embedded view changes according to the clicks on these buttons. A simple way to navigate between pages voila….
Hope this helps :)
Hope this helps :)
No comments:
Post a Comment