What is the best way to bind a non-managed bean to an xPage? We use xPages controller classes in java, and would like to limit some classes to a specific xPage without using managed bean in faces-config.
Tried to use dataContext and some of the methods work, but we are not able to get the document data source, using resolveVariable method. It always returns doc=null. The same java class as a managed bean returns the data source correct.
Are there better ways to connect a bean to a specific xPage?