Joe Shannow wrote:Thanks for tip. But i know nothing about ajax for now :-)
Well, I guess it's time to get educated, then!
In order to obtain data from the server, a form
does have to be submitted. However, AJAX allows the "form" to be a minumum of data and allows you to avoid reloading the entire displayed webpage.
There are a number of ways to do AJAX:
1. Brute forces, using handwritten JavaScript code
2. Using a JavaScript assistance package such as jQuery
3. Using an AJAX-aware
JSF extension tagset such as RichFaces or IceFaces
4. Using the JSF2 AJAX enhancements (if your app uses JSF Version 2)
I've been using option #3 with good results for some time now.