SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 115 | Next

Deepak Vohra

"Ajax in Oracle JDeveloper"


An event on the page invokes an Ajax request and specified regions of the
page are updated with the Ajax response. Next, we shall discuss some of
the elements of the Ajax4jsf framework.
130 7 Ajax with JSF-Ajax4jsf
7.2.1Ajax Filter
The Ajax filter is registered in the web.xml file and distinguishes
between a JSF request and an Ajax request. In a JSF request the complete
JSF page is synchronized with the JSF component tree. While in an Ajax
request only the Ajax region, specified by is updated
with the Ajax response.
7.2.2 Ajax Action Components
These are the components that are used to send an Ajax request from the
browser to the server. Ajax action components are:
AjaxCommandButton, AjaxCommandLink, and AjaxSupport.
7.2.3 Ajax Containers
An Ajax container is an area on a JSF page that is to be decoded during an
Ajax request and updated with the Ajax response.
7.2.4 JavaScript Engine
The JavaScript engine runs on the client-side and updates the different
regions of a JSF page with the Ajax response.
7.2.5 Ajax4jsf Component Library
Ajax4jsf provides a component library to implement Ajax functionality in
JSF. Some of the commonly used components are discussed in Table 7.1.
Table 7.1 Ajax4jsf Components
Component Description Attributes
Specifies an area that is decoded
in an Ajax request. However,
components out of the region
may be updated. The region
defined by f:view is the default
region.


Pages:
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
druga wojna światowa Free English grammar and study guid hotel jelenia góra Russian bride counter strike 1.6