iii
1. Introduction ................................................................................................................. 1
1.1. Libraries ............................................................................................................. 1
2. Common Ajax attributes .............................................................................................. 3
2.1. Data processing .................................................................................................. 3
2.1.1. execute ................................................................................................... 3
2.1.2. bypassUpdates ........................................................................................ 4
2.2. Rendering .......................................................................................................... 4
2.2.1. render ..................................................................................................... 4
2.2.2. ajaxRendered .......................................................................................... 5
2.2.3. limitRender .............................................................................................. 5
2.3. Queuing and traffic control .................................................................................. 6
2.3.1. requestDelay ............................................................................................ 6
2.3.2. ignoreDupResponses ............................................................................... 6
2.4. Events and JavaScript interactions ...................................................................... 6
2.4.1. onbeforesubmit ........................................................................................ 6
2.4.2. onbegin ................................................................................................... 6
2.4.3. onbeforedomupdate ................................................................................. 7
2.4.4. oncomplete .............................................................................................. 7
2.4.5. onerror .................................................................................................... 7
2.4.6. Registering event callbacks with jQuery ..................................................... 7
I. Ajax control components ................................................................................................. 9
3. Actions ............................................................................................................... 11
3.1. <a4j:ajax> ................................................................................................. 11
3.1.1. Basic usage ................................................................................... 11
3.1.2. Reference data .............................................................................. 11
3.2. <a4j:param> ............................................................................................. 11
3.2.1. Basic usage ................................................................................... 12
3.2.2. Interoperability ................................................................................ 12
3.2.3. Passing client-side parameters ........................................................ 13
3.2.4. Reference data .............................................................................. 13
3.3. <a4j:actionListener> .................................................................................. 14
3.4. <a4j:commandButton> ............................................................................... 14
3.4.1. Basic usage ................................................................................... 14
3.4.2. Reference data .............................................................................. 14
3.5. <a4j:commandLink> .................................................................................. 15
3.5.1. Basic usage ................................................................................... 15
3.5.2. Reference data .............................................................................. 15
3.6. <a4j:jsFunction> ........................................................................................ 15
3.6.1. Basic usage ................................................................................... 15
3.6.2. Parameters and JavaScript ............................................................. 16
3.6.3. Reference data .............................................................................. 17
3.7. <a4j:poll> .................................................................................................. 17
3.7.1. Timing options ............................................................................... 17
3.7.2. Reference data .............................................................................. 17