cancel
Showing results for 
Search instead for 
Did you mean: 

How to make visible the current version in detailed view

hr61369256
Champ in-the-making
Champ in-the-making
Hi,

I would like to know, how I could "switch visible" the current version numbers of documents listed with the help of the "detailed view"?

Thanks very much for your help and hints.

Ralf
3 REPLIES 3

gavinc
Champ in-the-making
Champ in-the-making
You'll need to add a 'propertyResolver' to hold the versions info and then add a column on the browse.jsp to show the property.

Have a look at BrowseBean, particularly the queryBrowseNodes() method to see how all the properties are constructed.

hr61369256
Champ in-the-making
Champ in-the-making
Thanks a lot for you answer …

Where could I add a 'propertyResolver' ?

The Browse.jsp I allready viewed and found the appropriate columns, where I have to add a new one …

Ralf

gavinc
Champ in-the-making
Champ in-the-making
Property resolvers are added in BrowseBean i.e. org.alfresco.web.bean.BrowseBean, have a look through the code, particularly the queryBrowseNodes() method, thats where they're used.

To add another column in browse.jsp you copy and paste one of the <a:column> sections and change it to point to the property you add via the property resolver.