Hello everyone, i am writting own component and experiences some problems with that. My component works fine but wanted to add extra event to it and now i have a problem.
I created custom event that extends FacesEvents and follows the exact pattern:
why does it throws nullPointerException when i am trying to broadcast it to all apropriate listeners in the behaivour class?
i have a broadcast method there and it crashes when i call .queue() method:
Thanks for your help in advance!
posted 5 years ago
i found what was the cause of this problem
it seems that getters and setters are not permitted. But still the questions is: how can i access event's fields if they are set to private then?