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?


  • car icon

    Server Performance

    Are your servers underperforming? Just buying new boxes isn't the answer. If you want to get better performance from your existing servers, 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. 03/18/2010File this under "Damn, I should have known that" -- CSS and Relative PathsI was whining about a feature being missing in Designer 8.5.x yesterday in a closed forum for "Design Partners" when I learned something I wished I'd known a long time ago. I'm writing this to share it with you, so you can be saved the work I've been doing. The feature I wanted (and still want) is for file resources that use the new editors (e.g. CSS, HTML, JAVASCRIPT) to allow "" values or at least some form of tokenization to allow you to include things like "@webdbname" and profile document values in ...... 
    2. 03/16/2010The CKEditor - with Domino -- will be better than rolling your own!If you don't know the CKEditor, you soon will. Maureen (and others) have recently gone public with the announcement that starting in near term release of 8.5.x, that fantastic rich text editor will be shipped built in with the Domino server and will be integrated for easy use for XPages. One thing that's hard to do at present with the CKEditor when you integrate with Domino, is handle the built in browsing/uploading/embedding for file attachments, images, flash, and so on. There are plug-ins for ftp and ...... 
    3. 02/14/2010Great weekend sleddingI'm from "away" -- a term which in Maine speak means that I wasn't born here, and while I've been here for nearly 20 years I am very easily spotted as a non-native to pretty much anyone with long time family roots in the area. Being from away, there are things I just hadn't had a chance to do that most Mainer's take for granted. This weekend, I got the chance to scratch a few of those off the list. These included going 'upta camp', being significantly north of Bangor, and spending a fair bit of time on a ...... 
    4. 02/10/2010Is anyone really considering a move to a hosted Exchange system? 
    5. 02/06/2010When does an application stop belonging to its owner? 
    6. 01/29/2010Lotusphere 2010 - Session Survey Results 
    7. 01/27/2010Is UPS just plain broken? * Updated 
    8. 01/25/2010My presentations posted here from Lotusphere 2010 
    9. 01/24/2010Me - in bobblehead form 
    10. 01/23/2010Announcing the C.U.L.T. Shirt 2010 Winner 
    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.