Andrew Pollack's Blog

Technology, Family, Entertainment, Politics, and Random Noise

XPage - Quick Example: Save Time adding view page controls to a view on an XPage

By Andrew Pollack on 06/24/2008 at 11:06 AM EDT

This screenshot shows a quick example of how easy it was to add view paging controls to a view container on an XPage. I'm creating a custom control, which is really like a sub-xpage. You create custom controls to tie blocks of user interface together that work with specific data or functionality. You can then use them on your top level xpages, on other custom controls, etc. Unlike subforms, they're not limited by not being allowed to have the same field names, or by having some functionality that only works on the top level and not the child level. They're standalone XPages, but you can embed them on other XPages. Its a simple as that.

Since the control I dragged over is a view, taking a look at properties tab there is "Pager" set of properties. You can make your own of course, but for this example I've simply selected "Sample 1" to get the bar you see across the top. That's all I had to do to get the layout with the page numbering, hot links to more pages, previous and next buttons, etc.



Will this save you time?


  • text bubble icon

    Security Review

    How secure is your Domino environment? A security review doesn't have to be expensive to be helpful. If you're interested in finding out more, Contact Me.
  • There are  - loading -  comments....

    re: XPage - Quick Example: Save Time adding view page controls to a view on an XPageBy Steve Smillie on06/24/2008 at 12:56 PM EDT
    Comment Loading


    Other Recent Stories...

    1. 02/06/2010When does an application stop belonging to its owner?When an application becomes truly successful and people start relying on it for things they consider important, is there a point at which the application starts to belong to the owners? Facebook's latest change brings the topic to mind, but it can happen to you with internal applications as well. There comes a time when users begin to have a personal stake in the design of a good application. Facebook makes a great example for when your users really own your application. Its user base is both extremely ...... 
    2. 01/29/2010Lotusphere 2010 - Session Survey ResultsSession results are always a bit strange to go through. I want to share what they looked like for me this year. Nearly all the comments were outstanding - but there's always one that really leaves me scratching my head. Like most speakers who take that part of their work seriously, I try to look at every survey, and pay extra attention to ones with written comments to see if there are things I can do better for next time. You have to grow a bit of a thick skin sometimes because there are always some ...... 
    3. 01/27/2010Is UPS just plain broken? * Updated* Updated January 27th -- Notes at the end of the original story. UPS is usually pretty reliable. My experience, however, has been that if the smallest thing goes wrong the whole process grinds to an inexplicable halt. Let me show you an example. On the 20th (a Wednesday) Lenovo shipped three packages to me. Two of them came from China. The first made the trip in the expected (and paid for) two days. The second seems to have spent days sitting in Shanghai and has so far chained itself to the wall in ...... 
    4. 01/25/2010My presentations posted here from Lotusphere 2010 
    5. 01/24/2010Me - in bobblehead form 
    6. 01/23/2010Announcing the C.U.L.T. Shirt 2010 Winner 
    7. 01/19/2010Great round table with Kristen Lauria about the Lotus Knows campaign 
    8. 01/19/2010The Review: Lotusphere 2010 – Opening General Session 
    9. 01/10/2010The LiveScribe Pen - Reviewed  
    10. 12/11/2009Comparing the iTouch/iPhone with the Blackberry Storm from a Notes Mail user & Geek perspective 
    Click here for more articles.....


    pen icon Comment Entry
    Subject
    Your Name
    Homepage
    *Your Email
    * Your email address is required, but not displayed.
     
    Your thoughts....
     
    Remember Me  

    Please wait while your document is saved.