Posts tagged as "a4j"
n/a
A4j:jsFunction on page load
Problem You need to send some data to the server on page access. One way to do this is by calling an a4j:jsFunction with the appropriate parameters. The problem is that you have to call this function after the page has fully loaded. Solution Use the jQuery(document).ready for this. If you call the function too [...]
Selective rendering of elements in JSF, Ajax4JSF and RichFaces
When you need conditional rendering inside an Ajax4JSF <a4j:repeat> the JSF <c:if> tag will not work. You can remedy this problem by using an alternative solution. Problem Inside an <a4j:repeat var=”_counter” value=”#{bean.list}”> the <c:if> tag will not recognize the _counter variable. You won’t even notice it doesn’t work because no errors will be logged. As an alternative [...]