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 124 | Next

Deepak Vohra

"Ajax in Oracle JDeveloper"

jsp page if an error is generated in updating the catalog database
table. JSF configuration file, faces-config.xml is shown in following
listing.

???-//Sun Microsystems, Inc.//DTD JavaServer Faces
Config 1.1//EN???
7.5 Sending an Ajax Request 145
???http://java.sun.com/dtd/webfacesconfig_
1_1.dtd???>
xmlns=???http://java.sun.com/JSF/Configuration???>

backing_input
ajaxjsf.backing.Inputclass>
request



/input.jsp

catalog
/catalog.jsp


error
/error.jsp



7.5 Sending an Ajax Request
In this section we shall send an Ajax request from the JSF page,
input.jsp using Ajax4jsf. Add a element to the
Catalog ID input text field. Specify the event that initiates an Ajax request
using the event attribute. Specify a backing bean method,
inputText_action, to invoke using the action attribute when an
Ajax request is sent.


Pages:
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136