Hi,
I'm currently using Spring MVC for my backend work and RichFaces for the front end. I have a custom javascript function which utilizes prototype.js for AJAX requests. I was wondering if and how I could use my function to refresh a inside of a RichFaces Panel... The code that works in HTML is:
div id="myID">/div>
script> AjaxRequest('myID', 'somewhere.html);/script>
Where I'm invoking a Spring controller which returns a JSP to refresh the div "myID". Is the following possible?
<rich:panel>
div id="myID">/div>
</rich:panel>
script> AjaxRequest('myID', 'somewhere.html);/script>
If not, is there a way to replicate this functionality in ajax4jsf? Thanks for your time.
You may use includes pointed to some bean property and update it dynamically via any ajax components from a4j.