I have the following code: Do Stuffwich does what i want (change the state of testbean and reload te page wich will show a different set of divs. becouse of their “rendered” properties) Now i want to use ajax to accomplish this so i did this: Do StuffHowever this causes the showSomething method to not even be called. IMHO …
via Java Application Development Tutorial » Search Results » ajax:
Make CommandLink use AJAX
I have the following code:
Do Stuff
Do Stuff
……………………………………….
You need to use event=”action” instead of event=”click”. You could even omit it altogether. It’s namely the default event the
Do Stuff
For more info: Make CommandLink use AJAX
Java Application Development Tutorial » Search Results » ajax