This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Darcy DeClute's Scrum Master Certification Guide: The Definitive Resource for Passing the CSM and PSM Exams and have Darcy DeClute on-line! See this thread for details.
My idea is that i have a link in one column, when i click on it, it opens up a model panel. What i want is for that panel to be populated with data, so i need to call method from backing bean (#{kurseviZaAkademijuController.ucitajKurs}). The problem is that a modal panel is opened before the method is called (and after the method is called there is a refresh). Is there any way to achieve what i want?
eclipse says there is no oncomplete atribute for h:commandLink, i still tried it and it doesn't work (still no panel opening, i looked at the source, there is no code for show). I'm using jsf 1.2 maybe that is a problem?
oh it should be a4j:commandLink , now everything is in order, now the problem is there is still no data in panel (when the page is rendered there is no data in backing bean) so i need to refresh the panel (just panel). There is onshow, but i don't now what to put in there
use rerender property of a4j:commandLink also to rerender the form inside the modal panel. This is mandatory case. If you need clarification for this, feel free to ask
The woods are lovely, dark and deep, But I have promises to keep; And miles to go before I sleep, And miles to go before I sleep. - Robert Frost