I have created a version for the page. How can i retrieve the page version of the page like cq:lastReplicated we can retrieve the last published date. Is it possible to retrieve the page version of the page.
You can use PageManager to get all revisions (I think what you are calling 'versions') of a page by calling PageManager.getRevisions - this returns a Collection of Revisions, and on a Revision you can do .getVersion, .getLabel etc. See:
You can use PageManager to get all revisions (I think what you are calling 'versions') of a page by calling PageManager.getRevisions - this returns a Collection of Revisions, and on a Revision you can do .getVersion, .getLabel etc. See: