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

Deepak Vohra

"Ajax in Oracle JDeveloper"


The scope attribute is optional and the default value is ???page???. Specify
the create element for the example application as follows.

javascript=???UserRegistration???>
value=???dwr.UserRegistration???/>


The create element has 0 or more each of param, include,
exclude and auth sub-elements.
(param | include | exclude | auth)*)>
96 5 Ajax with Java-DWR
The param element is used to specify configuration for different type
of creators. The ???new??? creator requires the type of object to invoke new
on. For example, to invoke new on Java class UserRegistration we
used a param element.

The include element specifies which methods are to be included for
remoting in JavaScript. The default is all methods. The exclude element
specifies which Java class methods are excluded for remoting. By default
none of the methods are excluded. Copy dwr.xml to the JDeveloper
project. The dwr.xml for the example DWR application is shown below.
???-//GetAhead Limited//DTD Direct Web Remoting
1.0//EN???
???http://www.getahead.ltd.uk/dwr/dwr10.dtd???>


???UserRegistration???>




We also need to modify the web.


Pages:
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98