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

Deepak Vohra

"Ajax in Oracle JDeveloper"

Specify the components to be updated with the Ajax
response using the reRender attribute. The h:inputText element for
the Catalog ID input field is as follows.
id=???inputText1???>
action=???#{backing_input.inputText_action}???
reRender=???inputText2,inputText3,inputText4,inputTex
t5,inputText6,commandButton1,outputText1??? />

146 7 Ajax with JSF-Ajax4jsf
To use the Ajax4jsf component library, add the following taglib
directive to the JSF page input.jsp.
<%@ taglib uri=https://ajax4jsf.dev.java.net/ajax
prefix=???a4j???%>
Create a catalog entry when the form is submitted with the command
button. Add an action attribute to the command button to invoke the
commandButton_action method when the command button is
clicked. The command button element is as follows.
binding=???#{backing_input.commandButton1}???
action=???#{backing_input.commandButton_action}???
id=???commandButton1???/>
JSF page input.jsp is listed below.
<%@ taglib uri=???https://ajax4jsf.dev.java.net/ajax???
prefix=???a4j???%>
<%@ taglib uri=???http://java.sun.com/jsf/html???
prefix=???h???%>
<%@ taglib uri=???http://java.sun.com/jsf/core???
prefix=???f???%>



content=???text/html; charset=windows-1252???/>
input

Catalog Entry Form



binding=???#{backing_input.


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