Good Day,
Here is my situation;
Back then I have a running drop down menu that displays the description of the selected item on a text area.
It is running with a SessionScopedBean, coz if I use RequestScoped, the text area wont populate.
Every thing seems fine until I added a new feature which is to ADD records.
I used a modalPanel (RichFaces) to add records and it only works (based on my output) inside a RequestScopedBean.
If I use SessionScoped, I'll get this error:
/jobPosition/view.jsp(26,12) '#{jobPositionBeanRequestScoped.jobPositionList}' Error reading 'jobPositionList' on type com.practice.bean.JobPositionBeanRequestScoped
(Note: I was only using one backing bean for the above statement.)
That is why I asked back then if it is possible to use them both at the same time.
Mr. Tim and you replied that it is possible.
Knowing that it is possible, I tried it on my own first but I failed.
Then I asked again and made this topic.
And again I'm sorry for making another one.
Everything is working the way I wanted it now.
Thanks for your time.
BTW thanks for these, it helped me a lot.
If you put logging lines inside your methods (including getters and setters) you can see what exactly gets called (and and in what situation) and what does not.EDIT: and you seem to be doing the basic mistake of catching exceptions in you code but not logging what that exception was so at least all those exceptions do go unnoticed.
Regards,
Binnie