This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Apr 22, 2017, 8:05 AM
33 Posts

@PostConstruct annotation usage

  • Category: Managed Beans in NSF
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags:
  • Replies: 2

I am trying to execute a method after the bean is fully constructed.

I have found out that in JSF one can mark a method with @PostConstruct annotation and this method is automatically called once the bean is constructed. Although I am able to use this annotation in the code the method seems to be never executed.

This topic is here in order to confirm that it is not supported in XPages and that I am just not doing anything wrong?

Thanks for the feedback.

Apr 24, 2017, 1:03 PM
122 Posts
@PostConstruct

Which version of JSF is that available in? XPages is based on a heavily customised version of JSF 1.1 (including some elements ported back from JSF 2.0, like Custom Controls).

Apr 27, 2017, 6:04 AM
33 Posts
JSF 2.0 or even JSF 1.2

Paul, thank you for the answer. That explains my troubles.

Hopefully it will be added soon.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal