This discussion is archived
10 Replies Latest reply: Jul 4, 2012 5:49 AM by adfLearner RSS

how to disable buttons on page load in backing bean constructor

927837 Newbie
Currently Being Moderated

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.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points