onshow is the event hook and u can't do an Server action method el binding.
probably you can do the onDemand loading to modal window.
oncomplete="show modal window">
by that way u can optimize the modal window loading.
anyways this what we are doing to reduce page-size.
awesome, this is exactly what I wanted (modal window loads very slow though, need to look into ejbql) but Thank you.
So I'm using
In all versions of Richfaces, (inc 3.2.1.GA), the behaviour for the above is not consistent.
Sometimes, it works, ie, the action fires up and I see the modal panel with the results.
But most times -- the action fires (as a I see in the logs) but the modal panel is empty. I have to click it like 3-4 times or refresh the page to see the modal panel
I was trying different options like immediate="true" etc .. but no use