10 Replies Latest reply: Jul 4, 2012 7:49 AM by adfLearner RSS

    how to disable buttons on page load in backing bean constructor


      I need to disable buttons in the bean constructor. But I get null pointer exception if i put this.getFirstButton().setDisabled(true); in the constructor.
      Please help ASAP regarding this.