I still have difficulties to bring backing beans, logic and jscript together. What I figured out is, that we have actionListener or listener on the one hand (this enables us to start a method or an event in the dialog's logic or a backing bean), and on the other hand we have jscript events like onclick, oncomplete or onTabShow.

So here is my first question: Are these assumptions correct?

And here is my second question:
When I want an event, method or a backing bean in the logic to be executed when a javascript-event is fired how can I do that?