| Latest 7 Posts |
Chris Toohey: Video - XPage Custom Controls for IBM Lotus Notes and Domino Sun, Jun 12th 2011 78
|
Tim Tripcony: What the heck is a bean? Sun, Jun 12th 2011 75
|
Students using XPages video and more... Thu, Jun 9th 2011 58
|
Steve Castledine: XPages Layout Framework Template (OneUI) Video Tue, Jun 7th 2011 81
|
Video: Using the XPages Extension Library Dojo Grid and REST Services Controls Mon, Jun 6th 2011 49
|
The MWLUG 2011 XPrize Design Competition Mon, Jun 6th 2011 30
|
[Lotusphere 2011 Rewind] - XPages Extension Library: Making Application Development Even Easier Mon, Jun 6th 2011 71
|
| Top
10 |
XPages multi-column filtering using a vector of non-categorized columns Fri, Aug 20th 2010 84
|
Steve Castledine: XPages Layout Framework Template (OneUI) Video Tue, Jun 7th 2011 81
|
XPages Multi-level Category Filtering - categoryFilter enhancement in Notes Domino 852 Thu, Aug 19th 2010 79
|
Chris Toohey: Video - XPage Custom Controls for IBM Lotus Notes and Domino Sun, Jun 12th 2011 78
|
Tim Tripcony: What the heck is a bean? Sun, Jun 12th 2011 75
|
[Lotusphere 2011 Rewind] - XPages Extension Library: Making Application Development Even Easier Mon, Jun 6th 2011 71
|
XPages and Beginner's Java Part II on Notes In Nine Fri, Oct 8th 2010 67
|
Calling all ISV's, Consultants and Others offering XPages Products and Services Thu, Mar 31st 2011 67
|
Intec Blog: Maximising the Benefits of XPages in 8.5.2 Whitepaper Sun, Jun 5th 2011 65
|
XPages Week in Review No. 4 Tue, Oct 19th 2010 62
|
|
|
XPages Multi-level Category Filtering - categoryFilter enhancement in Notes Domino 852
Paul Hannan
The multi-level category filter is a new enhancement in Notes Domino R852. It's an addition to the categoryFilter feature in the View data source that allows you to filter a view by the category and then the sub-category. It's a neat way for refining your view document collection even further than just by the main category.
For example, setting categoryFilter="Fruit" will display all documents under the 'Fruit' category, while categoryFilter="FruitApples" displays the documents under the 'Fruit' category and the 'Apples' subcategory.
For a slightly more advanced example, take the XPages Demo App from OpenNTF - and hitting the category filtering example - http://yourDominoServer/xpages.nsf/viewFilteringCategory.xsp
This sample xpage has a viewPanel that displays a Notes view which has categories as well as subcategories. There is also a combo box which drives the categoryFilter - when a selection is made a refresh happens to the view panel and it then displays only the documents of that category.
... <xp:comboBox id="comboBoxViewFilterText1" value="#{viewScope.filterCat01}"> <xp:selectItem itemLabel="No Filtering" itemValue=""> </xp:selectItem> <xp:selectItems> <xp:this.value><![CDATA[#{javascript:@Unique(@DbColumn(@DbName(),"xspFiltersView",1))}]]></xp:this.value> </xp:selectItems> <xp:eventHandler event="onchange" submit="true" refreshMode="partial" refreshId="viewPanel4CategorizedView"> </xp:eventHandler> </xp:comboBox> <xp:br></xp:br> <xp:viewPanel rows="30" id="viewPanel4CategorizedView"> ... <xp:this.data> <xp:dominoView var="xspFiltersViewCategory" viewName="xspFiltersViewCategory" categoryFilter="#{javascript:viewScope.filterCat01}"> </xp:dominoView> ...
With 852, we can now take advantage of this new multi-level category by adding another selectitem to the combobox that combines the main category with the subcategory to filter the view.
... <xp:comboBox id="comboBoxViewFilterText1" value="#{viewScope.filterCat01}"> <xp:selectItem itemLabel="No Filtering" itemValue=""> </xp:selectItem> <xp:selectItems> <xp:this.value><![CDATA[#{javascript:@Unique(@DbColumn(@DbName(),"xspFiltersView",1))}]]></xp:this.value> </xp:selectItems> <xp:eventHandler event="onchange" submit="true" refreshMode="partial" refreshId="viewPanel4CategorizedView"> </xp:eventHandler> <xp:selectItem itemLabel="***Multilevel Categories*** "> </xp:selectItem>
<xp:selectItems> <xp:this.value><![CDATA[#{javascript:@Unique(@DbColumn(@DbName(),"xspFiltersView",1) +"\"+ @DbColumn(@DbName(),"xspFiltersView",2))}]]></xp:this.value> </xp:selectItems> </xp:comboBox> ...

One limitation you might experience with this enhancement is when the sorting of the subcategory column is determined partly by a preceding column in the categorized Notes view. Here the subcategory filtering will work up to a certain point (where the subcategory sorting is changed by a preceding column sorting) in XPages. For this issue (PHAN87ALDT) we're seeking to address in the next release of Notes Domino.
Hope this helps.
p.
--------------------- http://xpagesblog.com/xpages-blog/2010/8/19/xpages-multi-level-category-filtering-categoryfilter-enhance.html Aug 19, 2010 80 hits
| Recent Blog Posts |
78

|
Chris Toohey: Video - XPage Custom Controls for IBM Lotus Notes and Domino
Sun, Jun 12th 2011 10:40p Bruce Elgort [read] Keywords: domino
ibm
lotus
notes
|
75

|
Tim Tripcony: What the heck is a bean? 
Sun, Jun 12th 2011 10:31p Bruce Elgort For those of you who are wondering about what the heck managed beans are and how they related to all things XPages I highly recommend reading Tim Tripcony's blog entry entitled "What the Heck is a Bean" which he orginally posted on May 5, 2011.
Also, the Mastering XPages book does a good job of explaining managed beans. I am very thankful for both Tim's article and the Mastering XPages book as both of these resources helped me out today preparing some material for my "Social Business Toolki [read] Keywords: xpages |
58

|
Students using XPages video and more... 
Thu, Jun 9th 2011 9:59a Bruce Elgort In the Fall of 2010 students in the ICT Technology cirriculum at ROC Mandriaan have developed a real-world relationship management system XPages application for the Round Texel Regatta with mentoring from "Lotus Loves People".
Here is a video of the students talking about the app (English subtitles are supplied):
Here is a copy of the slide deck showing the app that they build:
XPages Project Mondriaan ROC
View more presentations from Rob Bontekoe
And also a blog entry by Rob Bontekoe. T [read] Keywords: ibm
lotus
xpages application
google
twitter
|
81

|
Steve Castledine: XPages Layout Framework Template (OneUI) Video 
Tue, Jun 7th 2011 4:08p Bruce Elgort Steve Castledine demonstrates how to use the XPages Layout Framework Template which is available on OpenNTF.org [read] Keywords: xpages openntf
|
49

|
Video: Using the XPages Extension Library Dojo Grid and REST Services Controls
Mon, Jun 6th 2011 10:46p Bruce Elgort [read] Keywords: xpages dojo
|
30

|
The MWLUG 2011 XPrize Design Competition 
Mon, Jun 6th 2011 2:53p Bruce Elgort Hot off the press:
XPages brings Domino Web application development to an entirely a new level. It allows you to modernize your existing Domino applications and provide an incredible user experience and interface. XPages allows you to take advantage of the unique capabilities of the Domino platform and build powerful and dynamic applications that can easily beat out competitive solutions.
As part of the Midwest Lotus User Group Conference 2011, MWLUG is sponsoring the MWLUG XPrize Design Compet [read] Keywords: domino
lotus
xpages application
applications
development
interface
|
71

|
[Lotusphere 2011 Rewind] - XPages Extension Library: Making Application Development Even Easier 
Mon, Jun 6th 2011 8:22a Bruce Elgort IBM's Paul Hannan and Maire Kehoe presented this excellent session at Lotusphere 2011 on the XPages Extension Library:
AD116 XPages Extension Library: Making Application Development Even Easier
View more presentations from pdhannan [read] Keywords: ibm
lotusphere
xpages application
development
|
65

|
Intec Blog: Maximising the Benefits of XPages in 8.5.2 Whitepaper 
Sun, Jun 5th 2011 6:17p Bruce Elgort Premier IBM Business Partner Intec has a fantastic updated whitepaper entitled "Maximising the Benefits of XPages in 8.5.2:
Almost a year ago I wrote a whitepaper called "Maximising the Benefits of Lotus Domino 8.5.x with XPages". This was an open discussion of the pros and cons of XPages, based on Domino 8.5.1. I have updated the whitepaper to take into account the significant enhancements in XPages in 8.5.2 and a year's more experience of developing applications in XPages. XPages is stil [read] Keywords: domino
ibm
lotus
xpages application
applications
|
62

|
Tim Tripcony: Taking Themes to the Next Level 
Sun, Jun 5th 2011 12:58p Bruce Elgort If you have not yet looked into the power of using themes in your XPages applications, may I suggest that you download and review a presentation given by Tim Tripcony of GBS at the BLUG and UKLUG conferences entitled "Taking Themes to the Next Level - Getting more out of XPages the easy way". The slide deck covers:
What is a Theme?
How are Themes typically used?
How do Themes actually work?
Going beyond the typical to...
Keep your XPage markup clean
Enhance application performance
Maintain [read] Keywords: xpages application
applications
development
|
48

|
Mark Barton: Creating Barcodes with an XPage / Reading them with Flex 
Sat, Jun 4th 2011 11:26a Bruce Elgort Mark Barton has a must read blog entry on generating barcodes with XPages:
Due to the ability for an XPage to easily leverage Java code it is quite straightforward to integrate an existing Java library, so when the XPage is called a rendered barcode is returned.
For this demo I have decided to use a commercial library – the code will operate in a demo mode and is reasonably priced if you decide to buy it. For this demo I am only interested in the Datamatrix barcode so I downloaded th [read] Keywords: xpages java
|
|