This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Sep 17, 2012, 4:57 PM
5 Posts
topic has been resolvedResolved

Dynamic Navigator and Dynamic View Panel

  • Category: Extension Library
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags: Navigator
  • Replies: 1
Hi,
 
   Matt White demonstrated a simple technique of navigating through views combining the Navigator control and the Dynamic View panel in his Lesson  71 - Dynamic Views and Navigators of his Xpages101 classes.
 
   The only problem is that the Navigator shows ALL the views that are created in the database. This includes both displayable and hidden views.
 
    Anyone have a suggestion on how to modify this technique so the Navigator would filter out the hidden views and just show the displayable views (ones with no parenthesizes). Or even better - show views based on a naming convention like showView1, showView2, etc.
 
Thanks very much,
Tim
 
Sep 19, 2012, 5:40 PM
5 Posts
Re: Solution for Dynamic Navigator and Dynamic View Panel
I found my own solution.
 
Seems there is a "filter" property that can be set with the Regular Expression language to select the views you want.
 
This 'filter' property is part of the 'View Or Folder List' item. I wanted to show all the views that were not hidden - did not have parenthesis around the title.
 
So I put the following Regular Expression in the 'filter' property:  ^(?!\(.*).*
 
That's it. Works great.
 
 
Tim Holt
 
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal