Problem with two views on one XPage - categories expand/collapse on both views at once

I’ve just tried putting two view panels on one XPage, where both views are categorised.Every time I click a twistie to expand/collapse a category in one view, it affects both views at once.

I have checked the ids of both view panels and all columns, and all ids are unique (as they should be).

Subject: According to the 8.5 FP1 fix list this is fixed!

Subject: This is a problem that has been fixed …

… but you will see this issue in the 8.5 release

Is this a real scenario that you’re trying to build or just an experiment? If it’s a real problem for you then we could see about including the fix in a 8.5 fix pack, otherwise it will become available in an 8.5.1 code drop soon.

Subject: Was a real scenario, but I have a workaround…

I am building an XPage-based web interface for several old in-house databases, and was trying to simulate a Notes outline in an XPage by building a document response hierarchy matching the outline, then showing that in a view panel, with the “real” view in another panel next to it.

However, I already have a nearly-complete workaround to produce an outline in an XPage without using a view panel, so the problem with view categories is something I can live with.

Subject: Define “soon”…

  • It’s seven months after Scott’s post and to the best of my knowledge there is still no 8.5.1. I’m where Scott was seven months ago … looking to vet a pre-existing app that uses Outlines for navigation into a multi-view driven UI on XPages.- Fortunately I found Scott’s post that it’s not tenable.

  • Unfortunately I don’t have Scott’s Outline workaround.

  • But at least I know I have to kludge something together. Go go gadget forum!

  • Thanks Scott, for pointing this out!..

Subject: Putting > 1 view on an xPage would be a real-world scenario for many people.

Subject: Some questions

Are you view panels displaying the same view query? Can you try to set a different ‘requestParamPrefix’ to each view datasource, from the object inspector:

Subject: requestParamPrefix makes no difference

Initially, I had nothing set for requestParamPrefix. I have now tried setting it differently on each view, and it has no effect. Trying to expand/collapse a category in one view still affects both at once.

Here are the data->data properties for both views: