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

    On Site Training

    We can bring the same kind of top quality training you get at conferences right to your offices. If your team needs training in a single topic, or you want to do a whole series on site, we can put a mini-conference together just for your team. For more information, 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. 06/23/2009OpenNTF Licensing ChoiceOpenNTF should settle on the Apache Licensing. It allows IBM to consume OpenNTF released software for inclusion into the core product base -- which means really good stuff could get added in as default templates or parts of the mail file, etc. It also means developers can use Google code and other Apache Licensed software without worrying about being excluded from OpenNTF. As far as I'm concerned, if you don't agree, you're wrong -- and you should fork off (your own source tree) -- maybe call it ...... 
    2. 06/23/2009Web Developers and Artists -- What does a color really look like?The two images in the sample to the right - which LOOK like different colors, are not. they are the same web page and being displayed on the same computer with nearly the same settings. In both cases, the color is defined as "#15433D". [] The only difference, is that the one on top is shown in Firefox using the relatively little known feature introduced in version 3.x which uses the color profile configuration you have set up for your monitor when it renders images. These settings are ...... 
    3. 06/04/2009Product Review: Verizon's MiFiā„¢2200 Intelligent Mobile HotspotYou're not as connected as I am. If that's not true, you're a pretty unusually connected person. When I'm not in the office, I've used cellular tower based connections for several years. Originally it was just a cellular modem, then Verizon upgraded the network to "1xRTT" which gave speeds comparable to a dial-up line at home. EVDO came out and we boosted to the speed of a cheap DSL connection, and now with EVDO Rev A we can be connected almost anywhere with speeds nearly as good as any hotel or coffee ...... 
    4. 05/27/2009Second Signal - Starting to see the kind of growth I've been looking forward to 
    5. 05/26/2009Memorial Day 2009 - Slideshow of the parade, the marching band, the kids' bike parade, etc... 
    6. 05/21/2009Speaking at events that are not specific to our industry - Interesting Reaction 
    7. 05/19/2009Corporate Protectionism is as bad as the nationalistic kind 
    8. 05/17/2009Skippy, the Omega Dog! Freedom - thanks to the new "Dogwatch" fence 
    9. 05/17/2009This blog interrupted by the Lotus Design Partner Program 
    10. 04/24/2009Even more cool integration with the XLight FTP & SFTP Server to Domino - Upload/Download notificiations to the the Domino server 
    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.