Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0
-
None
Description
There is no way to get the logical name of page from a page instance. This is something that belongs in ComponentResources.
It is needed because ComponentSource.getPage(String) takes the logical page name, but there's no way to generate that name in code; you can "guess" using getClass().getSimpleName() but that's not accurate for page classes in a sub-package.