I have a class that implements web item in Confluence.
To get the necessary information for the web item, I need the information of the current page where the web item is displayed (ID, or title). It is easy for teh class implementing Macro as there is ConversionContet for this, but for my class using of ConversionContext seems to be not possible.
Is there any class/interface to get current page info.
Using of PageManager is not possible, as to retrieve the current page with PageManager you need to get its ID first.
Could you please help to understand how to retrieve the ID of the current page where web item is currently displayed for the java class implementing web item?